[Ffmpeg-devel] Re: [PATCH] wrong duration is set with some MOV files

Alexey Sidelnikov avs99
Thu Oct 19 12:18:00 CEST 2006

Baptiste Coudurier <baptiste.coudurier <at> smartjog.com> writes:

> > I have a mov file with some strange DATA stream: Stream #0.2(eng):
> > Data: tmcd / 0x64636D74
> > 
> > ffmpeg converts it well, but for some reason duration was not
> > detected correct. The real duration is 79 seconds, but ffmpeg
> > reported as 19-something minutes. It was set incorrect in 
> > libavformat/utils.c/av_update_stream_timings() function That was
> > because of that DATA stream. I added printfs, so the output is here:
> > 
> Nope, your mov is 19 minutes long. Why the tmcd track is shorter than
> the video track is the good question to ask. Wrongly cut mov file ? I
> guess...

Well... movie player says it is 79 seconds. And after I decode/encode using
ffmpeg, new file becomes 79 seconds as well. So yes, broken mov file, I agree.
But from the other side, ffmpeg is about video/audio processing, not data,
right? Anyway, I'm not really good in mov container theory, so does that mean
you reject the patch?



More information about the ffmpeg-devel mailing list