[Libav-user] Using LibX264 with ffmpeg libraries
nicolas.george at normalesup.org
Fri Jul 20 22:58:57 CEST 2012
Le quartidi 24 messidor, an CCXX, Noah Arc a écrit :
> In the past, libx264 variables such as crf was a part of AVCodecContext.
> However, looks like in version 0.11 it has been deprecated and was moved
> to libx264.c as a private variable. But for my project, I'm used to just
> assign a value to crf (of a ptr of type AVCodecContext). Could someone
> please give me a hint on how I could implement the API changes?
You are supposed to pass the options as the third argument to avcodec_open2.
There is an example in the documentation of the function.
Please refrain from top-posting on this mailing list; and if you did not
understand what it means, look it up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the Libav-user