[FFmpeg-devel] [PATCH] don't override file duration with bitrate guessed duration

elupus elupus
Tue Apr 13 02:42:46 CEST 2010


> 
> but the stream durations can differ from each other, filling them in from
> the file duration might not be that good of an idea
> 
> the bitrate would have been ok OTOH

Right, so stream durations from bitrate of streams, but total duration from
file header? That might be as easy as dropping the check for a previous
file duration in fill_from_bitrate, and keeping the part in this patch
avoids overwriting this value with whatever is in the streams.

So does that sound better?

Joakim




More information about the ffmpeg-devel mailing list