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

Michael Niedermayer michaelni
Tue Apr 13 14:20:49 CEST 2010

On Tue, Apr 13, 2010 at 02:42:46AM +0200, elupus wrote:
> > 
> > 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.

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?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100413/5ade7036/attachment.pgp>

More information about the ffmpeg-devel mailing list