[Ffmpeg-devel] x264 global headers?
Luca Abeni
lucabe72
Tue Jan 17 12:58:34 CET 2006
Hello Loren,
On Mon, 2006-01-16 at 12:25 -0800, Loren Merritt wrote:
[...]
> > 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.
>
> To tell x264 not to put the global headers in the video stream:
> x4->params.b_repeat_headers = 0;
> And then get them separately:
> x264_encoder_headers(x4->enc, nal, nnal);
Thanks for the information. So, is the attached patch correct (seems to
work ok for me)? Can it be applied to the CVS?
BTW, looking at libavcodec/x264.c I see that some functions (X264_frame
and X264_init) are declared as "extern" even if they are not used in
other files (I think)... Shouldn't they be "static"?
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:
Problemi di Liquidit?? Con Logos Finanziaria 30.000 ? in 24 ore a dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi, clicca qui
*
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2911&d=17-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264-headers.diff
Type: text/x-patch
Size: 1204 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060117/ae83d707/attachment.bin>
More information about the ffmpeg-devel
mailing list