2024-07-14, 07:59 PM
Good morning folks,
I've been setting up a Jellyfin instance with a new Arc A310, and I'm having a hard time getting hardware transcoding with QSV to work.
Relevant specs:
Distro: Debian 12.6
Kernel: 6.7.12+bpo-amd64 (from bookworm-backports)
Jellyfin version: 10.9.7+deb12
When I attempt to stream a video with QSV hardware acceleration enabled, I see the following error:
I'm not sure what to make of this -- I don't think the parameters Jellyfin is setting are unreasonable but it's a little hard to say. The command it's running is as follows (each argument on a separate line for legibility):
What troubleshooting steps would you recommend I try?
I've been setting up a Jellyfin instance with a new Arc A310, and I'm having a hard time getting hardware transcoding with QSV to work.
Relevant specs:
Distro: Debian 12.6
Kernel: 6.7.12+bpo-amd64 (from bookworm-backports)
Jellyfin version: 10.9.7+deb12
When I attempt to stream a video with QSV hardware acceleration enabled, I see the following error:
[av1_qsv @ 0x55916eda0040] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[vost#0:0/av1_qsv @ 0x55916edd8880] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
I'm not sure what to make of this -- I don't think the parameters Jellyfin is setting are unreasonable but it's a little hard to say. The command it's running is as follows (each argument on a separate line for legibility):
/usr/lib/jellyfin-ffmpeg/ffmpeg
-analyzeduration 200M
-probesize 1G
-init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD
-init_hw_device qsv=qs@va -filter_hw_device qs
-noautorotate
-i file:"<PATH TO MEDIA FILE>"
-map_metadata -1
-map_chapters -1
-threads 0
-map 0:0
-map 0:1
-map -0:s
-codec:v:0 av1_qsv
-preset veryfast
-b:v 82837679
-maxrate 82837679
-bufsize 165675358
-g:v:0 72
-keyint_min:v:0 72
-vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=nv12"
-codec:a:0 libfdk_aac -ac 2 -ab 256000
-copyts
-avoid_negative_ts disabled
-max_muxing_queue_size 2048
-f hls
-max_delay 5000000
-hls_time 3
-hls_segment_type fmp4
-hls_fmp4_init_filename "ea4d0fcba96661f502a4f54f1d3a426e-1.mp4"
-start_number 0
-hls_segment_filename "/var/cache/jellyfin/transcodes/ea4d0fcba96661f502a4f54f1d3a426e%d.mp4"
-hls_playlist_type vod
-hls_list_size 0 -y "/var/cache/jellyfin/transcodes/ea4d0fcba96661f502a4f54f1d3a426e.m3u8"
What troubleshooting steps would you recommend I try?