[gst-devel] Seeking for mp4/3gp files
dbikash at gmail.com
Thu Oct 19 06:14:08 CEST 2006
I'm using gstreamer to play local movies. When I try to seek on MPEG2
movies, in some movies I get some kind of seeking, but the interval of seek
is variant. In some other movies, and in all mp4 and 3gp movies, everytime I
try to do a seek, the movie starts playing from the beginning.
I use the code:
event = gst_event_new_seek(1.0, GST_FORMAT_TIME,
GstSeekFlags(GST_SEEK_FLAG_FLUSH | GST_SEK_FLAG_ACCURATE),
100*GST_MSECOND, GST_SEEK_TYPE_END, 0);
My questions are:
1. Though this code calls for 100 msec seek from the current position, the
movement at times is more than 10 mins. Is there a way to correct this
2. Is something wrong in the above code?, Or is it that, irrespective of the
code, the seeking depends upon the location of I frames? In that case, is
there any tool you would recommend for preprocessing the movies for the seek
to work uniformly?
3. Why does seek not at all work for mp4/3gp movies? Is it because it is
not/incorrectly handled in qtdemux? Any suggestions/workarouds for this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel