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

Michael Niedermayer michaelni
Mon Feb 20 12:38:56 CET 2006


Hi

On Mon, Feb 20, 2006 at 11:49:21AM +0100, Baptiste COUDURIER wrote:
> Luca Abeni wrote:
> > 
> > [...]
> > I think the standard (MPEG4 part 10) defines a precise syntax for raw
> > H.264 streams, and I think this is what the encoder should produce.
> > Where is the avc syntax defined? I only have a draft of the standard,
> > but the word "avc" appears in it only one time, in the title:
> > "Draft ITU-T Recommendation and Final Draft International Standard
> > of Joint Video Specification (ITU-T Rec. H.264 | ISO/IEC 14496-10 AVC)".
> > If the format needs to rearrange things in a different way, I think it
> > is the mov muxer's job to do so...
> > 
> 
> Probably, I agree on that. But we need to define exactly what is a RAW
> H264 stream. With syncwords, without ? Also notice that, in that case,

its exactly what the h.264 standard says it is and that is IIRC with
startcodes


> mov muxer needs to decode nals, find syncword, find size, erase
> syncword, write size, which I think would be faster and easier to do in
> x264.c, so I think 'If (is_avc)' is not that stupid after all.

stream copy (demuxer->muxer) with no codec inbetween must work so
its the job of the mov muxer & demxuer to convert to standard h.264 video
or the converstaion must be done in some intermediate layer like a AVParser

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list