[Libav-user] Change libx264 profile

Corey Taylor corey.taylor.fl at gmail.com
Fri Feb 23 10:59:43 EET 2018


On Tue, Feb 20, 2018 at 6:48 AM, Valeriy Shtoma <shtomavaleriy at gmail.com>
wrote:

> Hi to all,
>
> Tell me, please, how to change libx264 profile and level? I tried:
>
> av_dict_set(&libx264opt, "profile", "high", 0);
> av_dict_set(&libx264opt, "level", "41", 0);



This looks like the correct option for libx264 according to its option list.

Are you passing the options into avcodec_open2 and avformat_write_header?

corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180223/fcb7cca0/attachment.html>


More information about the Libav-user mailing list