diff options
author | Mandava, Mounika <mounika.mandava@intel.com> | 2024-02-29 13:34:34 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-05-07 11:06:37 +0800 |
commit | b1037d4ebe7b7f9548ce1ed24a2929aedbe9a27a (patch) | |
tree | 66fbbb97758f6e41c98ceef29891435c5d8e4f77 /doc/encoders.texi | |
parent | df76c3756d41e909b78565f49928c43c0f84caf0 (diff) | |
download | ffmpeg-b1037d4ebe7b7f9548ce1ed24a2929aedbe9a27a.tar.gz |
lavc/qsvenc: add support for oneVPL string API
A new option -qsv_params <str> is added, where <str> is a :-separated
list of key=value parameters.
Example:
$ ffmpeg -y -f lavfi -i testsrc -vf "format=nv12" -c:v h264_qsv -qsv_params
"TargetUsage=1:GopPicSize=30:GopRefDist=2:TargetKbps=5000" -f null -
Signed-off-by: Mounika Mandava <mounika.mandava@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r-- | doc/encoders.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi index c08e40ee45..c82f316f94 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -3546,6 +3546,20 @@ Change these value to reset qsv codec's bitrate control configuration. @item @var{pic_timing_sei} Supported in h264_qsv and hevc_qsv. Change this value to reset qsv codec's pic_timing_sei configuration. + +@item @var{qsv_params} +Set QSV encoder parameters as a colon-separated list of key-value pairs. + +The @option{qsv_params} should be formatted as @code{key1=value1:key2=value2:...}. + +These parameters are passed directly to the underlying Intel Quick Sync Video (QSV) encoder using the MFXSetParameter function. + +Example: +@example +ffmpeg -i input.mp4 -c:v h264_qsv -qsv_params "CodingOption1=1:CodingOption2=2" output.mp4 +@end example + +This option allows fine-grained control over various encoder-specific settings provided by the QSV encoder. @end table @subsection H264 options |