diff options
author | Zhengxu <[email protected]> | 2017-01-05 14:48:06 +0800 |
---|---|---|
committer | Mark Thompson <[email protected]> | 2017-01-11 20:21:09 +0000 |
commit | 1a79b8f8d2b5d26c60c237d6e585873238e46914 (patch) | |
tree | 59a1daa4903c2684326db6f0f226bd232fdad44c /libavcodec/pthread_frame.c | |
parent | f55da2200dbf98311969e0f345edbc82177d4836 (diff) |
ffmpeg: Add an option "qsv_device" to choose proper node for QSV child device (vaapi or dxva2)
Reason: For some cases, such as 2 or more graphics cards existing, the
default command line may fail because ffmpeg does not open the correct
device node:
ffmpeg -hwaccel qsv -c:v h264_qsv -i test.264 -c:v h264_qsv out.264
Let user choose the proper one by running like below:
ffmpeg -hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v h264_qsv \
-i test.264 -c:v h264_qsv out.264
Signed-off-by: ChaoX A Liu <[email protected]>
Signed-off-by: Huang, Zhengxu <[email protected]>
Signed-off-by: Andrew, Zhang <[email protected]>
Signed-off-by: Mark Thompson <[email protected]>
Diffstat (limited to 'libavcodec/pthread_frame.c')
0 files changed, 0 insertions, 0 deletions