[Ffmpeg-devel] Re: [PATCH] x264 avc encoding, movenc avcC, ctts

Baptiste COUDURIER baptiste.coudurier
Sun Feb 19 19:31:24 CET 2006


Erik Slagter wrote:
> On Sun, 2006-02-19 at 18:23 +0100, Baptiste COUDURIER wrote:
>> Here is 4 patches:
> 
> Nice to see someone's working on it. You beat me on it, the book on mp4
> is still not delivered :-(. Maybe it can be helpful later, to clear up
> the details, it looks like the ffmpeg mp4 muxer still lacks quite a few
> things.
> 
>> movenc_ctts.patch
>> which write ctts atom needed for AVC in mp4 files.
> 
> Is this the one for making b frames "work"?

Yes it is.

> Would this by any chance also fix the problem where MP4Box segfaults on
> extracting raw h264 from mp4's muxed by ffmpeg? Can you check this
> otherwise?

MP4Box -hint test.mp4
                                         acid at cassiopee #5973
Hinting file with Path-MTU 1500 Bytes
Hinting track ID 1 - Type "avc1:avc1" (H264) - BW 728 kbps
Hinting track ID 2 - Type "mp4a:mp4a" (mpeg4-generic) - BW 63 kbps
Saving test.mp4: 0.500 secs Interleaving

Is that good ?

> Do you have any means to check the validity of the stream produced by
> ffmpeg, I guess something like Quicktime player? I don't have windows
> nor macos, so for me it's going to get difficult to check, or
> suggestions?
> 

Exactly, mostly Apple stuff, FCP, Quicktime player. I based my efforts
on samples produced by FCP.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312





More information about the ffmpeg-devel mailing list