[Libav-user] help setting "qscale" with API

Anton Shekhovtsov shekh.anton at gmail.com
Fri Jan 13 12:47:45 EET 2017

I tried to search in all possible ways

This seems to work, but is it really the way to go?

    ctx->flags |= AV_CODEC_FLAG_QSCALE;
    ctx->global_quality = FF_QP2LAMBDA * qscale;

I`d appreciate a generic advice too, how to translate command line options
to API? Do I look in some document? In source code?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170113/98bfb9da/attachment.html>

More information about the Libav-user mailing list