summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen@intel.com>2022-10-31 15:22:25 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-11-22 13:52:38 +0800
commitefe2b63c89462a46c0450da49832b3c9075b1222 (patch)
treef4bf84f195aeeb6a45e88c7a384c45f73ad274cd /configure
parentc0c0a5f106c3a3ab80ab53b57db2132e585e80a0 (diff)
downloadffmpeg-efe2b63c89462a46c0450da49832b3c9075b1222.tar.gz
doc/examples: Add qsv_transcode example
Add qsv_transcode example which shows how to use qsv to do hardware accelerated transcoding, also show how to dynamically set encoding parameters. examples: Normal usage: qsv_transcode input.mp4 h264_qsv output.mp4 "g 60" Dynamic setting usage: qsv_transcode input.mp4 hevc_qsv output.mp4 "g 60 asyne_depth 1" 100 "g 120" This command initializes codec with gop_size 60 and change it to 120 after 100 frames Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 03004826fa..b0563f0165 100755
--- a/configure
+++ b/configure
@@ -1748,6 +1748,7 @@ EXAMPLE_LIST="
transcoding_example
vaapi_encode_example
vaapi_transcode_example
+ qsv_transcode_example
"
EXTERNAL_AUTODETECT_LIBRARY_LIST="
@@ -3804,6 +3805,7 @@ transcode_aac_example_deps="avcodec avformat swresample"
transcoding_example_deps="avfilter avcodec avformat avutil"
vaapi_encode_example_deps="avcodec avutil h264_vaapi_encoder"
vaapi_transcode_example_deps="avcodec avformat avutil h264_vaapi_encoder"
+qsv_transcode_example_deps="avcodec avformat avutil h264_qsv_encoder"
# EXTRALIBS_LIST
cpu_init_extralibs="pthreads_extralibs"