[FFmpeg-user] settings for libx265

Moritz Barsnick barsnick at gmx.net
Fri May 22 00:35:07 CEST 2015


On Thu, May 21, 2015 at 21:36:50 +0000, Gaspar Kazarian wrote:
> I've implemented some C++ code that uses the ffmpeg libraries.

This is the mailing list for the ffmpeg user interface, not for the
libraries. Check libav-user here:

https://lists.ffmpeg.org/mailman/listinfo/libav-user/

> 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.

I can speak for the command line. There, where libx264 supports "-crf
XY", libx265 (apparently) requires "-x265-params crf=XY". I assume the
same difference is reflected in the libav APIs.

Moritz


More information about the ffmpeg-user mailing list