[FFmpeg-user] settings for libx265
gkazarian at stingray.com
Thu May 21 23:36:50 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!
More information about the ffmpeg-user