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

Luca Abeni lucabe72
Mon Feb 20 11:31:08 CET 2006


Hi Baptiste,

On Mon, 2006-02-20 at 10:35 +0100, Baptiste COUDURIER wrote:
[...]
> >>The problem is that various containers define their own format for the
> >>H.264 extradata.
> > 
> > Yes, I agree. This is why I think that things (extradata, in this case)
> > should be exported by libavcodec in a "format independent way".
> > So, I think the current code in x264.c should not be changed (I might be
> > misreading things, but it seems to me that x264.c is currently producing
> > a stream as described in the "H.264 codec" standard... So, it looks
> > correct).
> > 
> 
> What formats other than MOV/MP4 use those extradata ?
I do not think this is the point; I think the point is that the H.264
codec should output a raw H.264 stream, not something format dependent.
(anyway, I use extradata for some H.264 streaming experiments I am
doing.
My current code can stream NALs without having to know if the
CODEC_FLAG_GLOBAL_HEADER is set or not; with your patch I'd have to
write different code for the CODEC_FLAG_GLOBAL_HEADER case).

>  If libx264 chose
> to export encoder_headers in AVC format, we would use that, right ?
At the cost of showing all my ignorance, I have to admit that I do not
see the "AVC format" defined in the MPEG4 Part 10 draft I have here...
It seems to me that the format described there is the one produced by
the current code.
Where is the AVC format defined?

Anyway, as I said I do not know much about this stuff, so I'll shut up
now. I think in the list there are people more competent than me that
will figure out how to do address this issue in the proper way.

				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Meetic, il primo sito di incontri in Europa con milioni di single iscritti. Iscriviti, consulta i profili e chatta con le persone in linea.
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4050&d=20-2





More information about the ffmpeg-devel mailing list