[Ffmpeg-devel] x264 global headers?
Luca Abeni
lucabe72
Mon Jan 16 10:48:11 CET 2006
Hello,
when encoding (for example) MPEG4 video (or AAC audio) with ffmpeg, I
can set the CODEC_FLAG_GLOBAL_HEADER flag to obtain the stream "global
headers" (to be used, for example as a config information in an SDP) in
AVCodecContext:extradata.
I'd like to obtain similar global headers when encoding H.264 video with
x264, but I see that libavcodec/x264.c does not support
CODEC_FLAG_GLOBAL_HEADER... I do not know much about H.264, but I think
the concept of "global headers" still applies, because if I understand
well they are required to write the sprop-parameter-sets attribute in an
SDP file. So, would it be possible to write CODEC_FLAG_GLOBAL_HEADER for
libavcodec/x264.c? If yes, how difficult would it be?
I do not know how to use the x264 library, but if someone can give me
some hints I can try to implement support for the
CODEC_FLAG_GLOBAL_HEADER flag.
Thanks,
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:
Polizza auto Zuritel. Scopri il risparmio in 7 click. Cosa aspetti? Clicca qui
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4097&d=16-1
More information about the ffmpeg-devel
mailing list