...
[out#0/mp4 @ 0x64bc30ed3e40] No explicit maps, mapping streams automatically...
[vost#0:0/h264_qsv @ 0x64bc30f21580] Created video stream from input stream 0:1
[AVHWDeviceContext @ 0x64bc30f1f100] Trying to use DRM render node for device 0, with matching kernel driver (i915).
[AVHWDeviceContext @ 0x64bc30f1f100] libva: VA-API version 1.17.0
[AVHWDeviceContext @ 0x64bc30f1f100] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x64bc30f1f100] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x64bc30f1f100] libva: Found init function __vaDriverInit_1_17
[AVHWDeviceContext @ 0x64bc30f1f100] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x64bc30f1f100] Initialised VAAPI connection: version 1.17
[AVHWDeviceContext @ 0x64bc30f1f100] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ().
[AVHWDeviceContext @ 0x64bc30f1f100] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x64bc30f1fec0] Use Intel(R) oneVPL to create MFX session, API version is 2.11, the required implementation version is 1.3
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[AVHWDeviceContext @ 0x64bc30f1fec0] Initialize MFX session: implementation version is 2.8
[aost#0:1/aac @ 0x64bc31127f40] Created audio stream from input stream 0:0
Stream mapping:
Stream #0:1 -> #0:0 (h264 (h264_qsv) -> h264 (h264_qsv))
Stream #0:0 -> #0:1 (aac (native) -> aac (native))
[vost#0:0/h264_qsv @ 0x64bc30f21580] Starting thread...
[aost#0:1/aac @ 0x64bc31127f40] Starting thread...
[vf#0:0 @ 0x64bc30f23f00] Starting thread...
[af#0:1 @ 0x64bc31122400] Starting thread...
[vist#0:1/h264 @ 0x64bc30f147c0] [dec:h264_qsv @ 0x64bc30f26440] Starting thread...
[aist#0:0/aac @ 0x64bc30f8b800] [dec:aac @ 0x64bc3111e880] Starting thread...
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x64bc30ec0840] Starting thread...
Press [q] to stop, [?] for help
[graph_-1_in_0:0 @ 0x787dc0003080] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:stereo
[AVHWDeviceContext @ 0x787dbc003100] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ().
[AVHWDeviceContext @ 0x787dbc003100] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x64bc30f1ed40] Decoder: output is video memory surface
[h264_qsv @ 0x64bc30f1ed40] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[AVHWDeviceContext @ 0x787dbc00c840] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ().
[AVHWDeviceContext @ 0x787dbc00c840] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x64bc30f1ed40] Decoder: output is video memory surface
[h264_qsv @ 0x64bc30f1ed40] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[h264_qsv @ 0x64bc30f1ed40] Error during QSV decoding.: device failed (-17)
...
遇到的问题:
安装 DKMS 驱动后可识别硬件解码能力,但 ffmpeg 调用失败。请各位路过的大佬指点一下~
使用环境
GPU: Intel DG1 驱动版本:1.24.1.19.240119.1.nodrm Host:PVE 8.2,Kernel version 6.8.8-2-pve
使用场景
PVE驱动后,map到 LXC中供 jellyfin 使用
Host dmesg
vainfo 工作正常
Intel_gpu_top 正常识别
GuC & HuC 工作正常
HuC:
ffmpeg 转码测试
命令:
/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel verbose -hwaccel qsv -c:v h264_qsv -i /media_1/TVShows/The.Punisher/S01/Marvels.The.Punisher.S01E02.Two.Dead.Men.1080p.NF.WEB-DL.DD5.1.x264-NTb.mkv output.flv
错误信息: