[gst-devel] gst-ffmpeg and problems with seeking

Baek Chang baeksan at ccrma.stanford.edu
Sat Nov 7 00:19:51 CET 2009


Hi,

I seem to be having a problem with using gst-ffmpeg and trying to do seeks
with mp3 playback.  I've debugged gst-ffmpeg slightly and noticed that the
duration and filesize that is returned from parsing the stream info seems to
be incorrect.

The mp3 I am trying to play has a length of 6:52, and file size of 6.3MB

gst-ffmpeg is returning the following:
0:00:52.358563334  6566   0x11faf0 DEBUG               ffmpeg
gstffmpeg.c:87:gst_ffmpeg_av_find_stream_info: Duration: 00:00:03.51
0:00:52.361220000  6566   0x11faf0 DEBUG               ffmpeg
gstffmpeg.c:95:gst_ffmpeg_av_find_stream_info: Start time: 0.000000



Having the incorrect file size and duration of the file could cause problems
with seeking outside of the range.  When I try to seek, it always goes back
to the beginning of the file. Is this a known problem with gst-ffmpeg,
reporting the incorrect duration and file size?

Thanks
-- 
Baek Chang
baeksan at ccrma.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091106/99b5be0c/attachment.htm>


More information about the gstreamer-devel mailing list