[FFmpeg-devel] [PATCH] don't override file duration with bitrate guessed duration
Joakim Plate
elupus
Tue Apr 13 15:14:08 CEST 2010
Michael Niedermayer <michaelni <at> gmx.at> writes:
> >
> > 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.
>
> mans complained about all the guessing we do and i think he has a point
> with that.
> What is the point in filling in stream durations in ways that simply are
> not precisse?
>
> [...]
I absolutely agree. I just thought that was what you asked for.
So you don't want the stream durations to be populated at all if the demuxer
doesn't fill them and they can't be deduced from timestamps?
Ie never fill them from bitrate nor from a fileduration?
Joakim
More information about the ffmpeg-devel
mailing list