[Libav-user] crf settings for libx265

Gaspar Kazarian gkazarian at stingray.com
Fri May 22 15:00:25 CEST 2015


I've implemented some C++ code that uses the ffmpeg libraries.
I've recently started using x265 and for some reason I cannot set the crf value with the following command:

av_opt_set(mCodecCtx->priv_data, "crf","10", 0);

where mCodecCtx is AVCodecContext type.
I don't think I'm doing anything wrong, since this line works perfectly fine for x264.

If this method isn't right, how else can I set the crf value from within the library.

Thanks a lot for the help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150522/7cf92caf/attachment.html>

More information about the Libav-user mailing list