Matroska Demux Issue

Kevin Paul kevinpaul1985 at hotmail.com
Sun Jul 13 22:12:24 PDT 2014


Problem : For a particular stream of duration 28 second, once I seek between 10th and 13th seconds, the video plays fast for a couple of seconds and the catches up with audio and plays normally. This doesn't happen if I seek anywhere else.
Analysis : Cluster start positions are at 9.9 and 13.976 second. I frames are present at 9.9, 10.4 and 13.976 second. Cue points are present at every interval of 0.0333 seconds
Once seeked between 10th and 13th second, the search for index is done using function "gst_matroska_read_common_do_index_seek" and it returns cue point closest to the seek location. But I frame is not present to start the video playback. But if I use function "gst_matroska_demux_search_pos", it finds correct position to start playback and seek works normally.
Can someone please help me to understand the difference between these to functions to search for index. Is it fine to use "gst_matroska_demux_search_pos" for finding index instead of "gst_matroska_read_common_do_index_seek"? 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140714/b18afcd0/attachment.html>


More information about the gstreamer-devel mailing list