[Libav-user] Need help in setting vp9 encoding options from FFmpeg

rohit khali khali.rohit at gmail.com
Thu Feb 3 10:01:41 EET 2022


Hi,
I am getting "AVERROR_OPTION_NOT_FOUND" for all below mentioned options.

av_opt_set(c->priv_data, "g", "240", 0) // Maximum keyframe interval
(frames)
av_opt_set(c->priv_data, "vb", "400000", 0) // target bitrate
av_opt_set(c->priv_data, "minrate", "400000", 0)
av_opt_set(c->priv_data, "maxrate", "400000", 0)
av_opt_set(c->priv_data, "bt", "400000", 0)
av_opt_set(c->priv_data, "threads", "4", 0)
av_opt_set(c->priv_data, "slices", "2", 0)

Any idea, how can I set the above mentioned vp9 encoding options in FFmpeg?
https://ffmpeg.org/ffmpeg-codecs.html#Options-29 shows above options as
private data options.

Thanks,
Rohit Khali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220203/43e459cf/attachment.htm>


More information about the Libav-user mailing list