[FFmpeg-devel] [PATCH] mov demux fails to seek all streams to beginning of file

Baptiste Coudurier baptiste.coudurier
Tue Apr 27 04:43:37 CEST 2010


On 4/26/10 9:35 AM, John Stebbins wrote:
> The scenario is an mov that has an edit list that causes the first
> timestamp of the first stream to precede the first timestamp of other
> streams in the file.  When attempting to seek back to the beginning of
> the file with av_seek_frame, only the first streams position gets
> updated.  The other streams positions remain where they were.
> mov_read_seek first seeks to the requested position of the first stream
> in the file (using mov_seek_stream).  Then it uses the timestamp of that
> position to seek within all other streams using mov_seek_stream.  If
> that timestamp is before the first timestamp of these other streams,
> mov_seek_stream fails and leaves the position unchanged.

Can you please upload a file that exhibits this problem ? For testing 

I think the patch should be ok.

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list