Jellyfin Forum
Jellyfin GPU Transcoding Error - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin GPU Transcoding Error (/t-jellyfin-gpu-transcoding-error)



Jellyfin GPU Transcoding Error - Sugata Ahad - 2024-06-26

Hi!

I have a proxmox LXC container running CasaOS with Jellyfin. I have passed on my gpu to the container and my gpu is shown in both the container and jellyfin terminal:

Code:
docker exec -it jellyfin ls -l /dev/dri
total 0
crw-rw---- 1 root video0bey 226, 128 Jun 26 02:25 renderD128


However, when I am using Intel QuickSync, it changes to CPU Encoding from safari and for Chrome it fails directly to play any media.

For Safari, it does not use the GPU at all (verified by intel gpu tool) and for Chrome, I see GPU usage to 3-5% before failing.

here is my FFMPEG log from Jellyfin when trying to run media in chrome:

Code:
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_qsv))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[av1_qsv @ 0x5be895ec9980] Selected ratecontrol mode is unsupported
[av1_qsv @ 0x5be895ec9980] Current frame rate is unsupported
[av1_qsv @ 0x5be895ec9980] Current picture structure is unsupported
[av1_qsv @ 0x5be895ec9980] Current resolution is unsupported
[av1_qsv @ 0x5be895ec9980] Current pixel format is unsupported
[av1_qsv @ 0x5be895ec9980] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[vost#0:0/av1_qsv @ 0x5be8951e9100] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x5be895ec4bc0] 2 frames left in the queue on closing
Conversion failed!

My hardware is Intel N100. Any suggestion why the transcoding may not be working?


RE: Jellyfin GPU Transcoding Error - theguymadmax - 2024-06-26

Your system does not support AV1 encoding. Go to your transcode settings and unselect "Allow encoding in AV1 format" under "Encoding format options".