[SUSPECT ATTACHMENT] Re: [Ffmpeg-devel] Re: Problems encoding H264 with a MP4 / MOV container with ffmpeg

Bill May wmay
Thu Jun 16 20:03:25 CEST 2005



admin wrote:
> Hello,
> 
> Thank you for your reply. Your implementation seem to be the correct one.
> 
> ffmpeg's movenc.c one seem to have a problem, perhaps it doesn't create 
> the "avcC" data which leads to unplayability with Quicktime 7. I'm not a 
> specialist of MP4 muxing however.
> 
> I send you in attachments a file encoded with ffmpeg and one muxed with 
> mp4v2, perhaps you could compare and if you see anything wrong in the 
> ffmpeg stream, you could post some hints to the ffmpeg-devel list? Erik 
> Slagter or someone else could then use your info to fix the code.

Yes.  It does not create the avcC atom required.  This is 14496-15, section
5.2.4.1, AVCDecoderConfigurationRecord.  It's basically got the 1st 3
bytes of the seq paramaeter set, then all the sequence and parameter
lists.

For Quicktime, the seq and parameter sets should not be in the bitstream,
but only in the avcC.





More information about the ffmpeg-devel mailing list