Speed up seek

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Speed up seek

Mikl
Hello,

Can you help me please in speed up seek in a mkv file by frame index, while paused?

i am using  gst_element_seek(pipeline
                                           1,
                                           GST_FORMAT_TIME,
                                           GST_SEEK_FLAG_FLUSH, //GST_SEEK_FLAG_ACCURATE also tried
                                           GST_SEEK_TYPE_SET,
                                           frameOffset, //index * frameDuration
                                           GST_SEEK_TYPE_NONE,
                                          GST_CLOCK_TIME_NONE
                                        );
and after this waiting for GST_MESSAGE_ASYNC_DONE event

More info:
mkv recorded by gstreamer
it is 3 tracks: video and 2 subtitles

What information you need from me more?

Thank you fro help in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Speed up seek

Mikl
Solved by reducing file size