[FFmpeg-devel] [PATCH] mov demux fails to seek all streams to beginning of file
John Stebbins
stebbins
Tue Apr 27 16:51:53 CEST 2010
On 04/26/2010 07:43 PM, Baptiste Coudurier wrote:
> Hi,
>
> 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
> purpose.
>
> I think the patch should be ok.
>
>
uploaded MPlayer/incoming/mov-edit-list-seek/edit-list-seek-problem.mov
More information about the ffmpeg-devel
mailing list