FFmpeg: Map QMediaEncoderSettings to V4L2 M2M encoder options


Adding v4l2m2m encoders only honor AVCodecContext::bit_rate
and qmin/qmax; global_quality and CRF-style dictionary options are
not read by the driver at all. Constant-quality mode is therefore
approximated by pinning qmin == qmax to a per-codec QP value, since
each codec's V4L2 QP range differs (e.g. 0-51 for H264, 0-255 for
VP9).

Pick-to: 6.12
Change-Id: Ie83eabb7ba4970012e6d6f87e1234f141f5e3aef
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commite089d2f9434c01f4df6dd67002b0d67ffcd35674
parentcb52b3d490157c38fa64a110fc41cb1787af11f2
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeFri, 11 Sep 2026 09:03:45 +0000