How GstSegment is faster comparing "normal" seek

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How GstSegment is faster comparing "normal" seek

Mikl
Hello,

I need to extract 2 sec from video file.
But, it is no need to display them one by one. It combine them in one on specific algorithm. So, i need it as fast as possible.

Will i have improvements on time, if i will use GstSegment instate of
for(time = start; time !=  end; time++)
   gst_element_seek(time);

With gst_element_seek it is taking about 2 sec to extract 2 sec of video.

Can it be faster?
Or maybe i can improve it differently?

Thank you for answering.

Mikl
Loading...