[FFmpeg-devel] ffmpeg.c: Weird AVI special-case

Michael Niedermayer michaelni at gmx.at
Sun Feb 5 15:33:36 CET 2012


On Sun, Feb 05, 2012 at 03:23:07PM +0100, Reimar Döffinger wrote:
> On Sun, Feb 05, 2012 at 03:07:52PM +0100, Michael Niedermayer wrote:
> > On Sat, Feb 04, 2012 at 07:05:50PM +0100, Reimar Döffinger wrote:
> > > Hello,
> > > this is related to trac #978.
> > > Why does transcode_init double the codec time base for the destination
> > > file for AVI and only for AVI?
> > > And if you know the answer, could you please add a comment in the code?
> > > The commit message doesn't really help a bit either.
> > 
> > added some comment yestarday
> 
> Yes, I saw it. I am not sure whether the fact that for most codecs
> this leads to a time base of 1/2*fps instead of just 1/fps is really
> intended and sensible though...

the alternative is to fail with non monotone timestamps for some files

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120205/cb879660/attachment.asc>


More information about the ffmpeg-devel mailing list