summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorYue Heng <yue.heng@intel.com>2022-06-23 13:32:42 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-06-27 12:09:44 +0800
commit53baf606038f710f0cbd3f19b3d416978b98167f (patch)
treec4a43fa0710eb181256df105480522ead6f0c7fb /doc
parentafa20e6db82245807bd0bb181dd22e1b714972cc (diff)
downloadffmpeg-53baf606038f710f0cbd3f19b3d416978b98167f.tar.gz
libavcodec/qsvenc: Enable fixed QP configure in qsv CQP runtime
Enable dynamic QP configuration in runtime on qsv encoder. Through AVFrame->metadata, we can set key "qsv_config_qp" to change QP configuration when we encode video in CQP mode. Signed-off-by: Yue Heng <yue.heng@intel.com> Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/encoders.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 1850c99fe9..02a91ffe96 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -3333,6 +3333,16 @@ Forcing I frames as IDR frames.
For encoders set this flag to ON to reduce power consumption and GPU usage.
@end table
+@subsection Runtime Options
+Following options can be used durning qsv encoding.
+
+@table @option
+@item @var{qsv_config_qp}
+Supported in h264_qsv and hevc_qsv.
+This option can be set in per-frame metadata. QP parameter can be dynamically
+changed when encoding in CQP mode.
+@end table
+
@subsection H264 options
These options are used by h264_qsv