> -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of > Dmitry Rogozhkin > Sent: Wednesday, September 2, 2020 4:44 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Dmitry Rogozhkin <dmitry.v.rogozh...@intel.com> > Subject: [FFmpeg-devel] [PATCH] lavc/qsvdec: allow qsv decoders to use > initialized device > > qsv decoders did not allow to use devices explicitly initialized on the > command line and actually were using default device. This starts to cause > confusion with intel discrete GPUs since in this case decoder might run on > default integrated GPU device (/dev/dri/renderD128) and encoder on the > device specified on the command line (/dev/dri/renderD129). > > Example: > ffmpeg -init_hw_device vaapi=va:/dev/dri/renderD129 -init_hw_device > qsv=hw@va \ > -c:v h264_qsv -i input.h264 -c:v hevc_qsv -y output.h264 >
Hi Dmitry, How about this: -init_hw_device qsv=vad:hw_any,child_device=/dev/dri/renderD128 Unfortunately I do not have one of the new Intel discrete GPUs so I wasn't able to test, but the above parameter is working at least in a way that it fails when the specified child_device is wrong (e.g. Nvidia GPU)). Kind regards, softworkz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".