<div dir="ltr"><div><div>I tried to search in all possible ways<br><br></div>This seems to work, but is it really the way to go?<br><br>    ctx->flags |= AV_CODEC_FLAG_QSCALE;<br>    ctx->global_quality = FF_QP2LAMBDA * qscale;<br><br></div>I`d appreciate a generic advice too, how to translate command line options to API? Do I look in some document? In source code?<br><br></div>