[FFmpeg-devel] [PATCH] mov demux fails to seek all streams to beginning of file
Fri Jul 2 10:25:18 CEST 2010
On 4/27/10 7:51 AM, John Stebbins wrote:
> On 04/26/2010 07:43 PM, Baptiste Coudurier wrote:
>> 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.
> uploaded MPlayer/incoming/mov-edit-list-seek/edit-list-seek-problem.mov
Thanks, patch applied, and sorry for the delay.
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel