Jellyfin Forum
Codec HEVC - 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: Codec HEVC (/t-codec-hevc)



Codec HEVC - superante - 2025-07-28

Good morning everyone,
I'm encountering issues playing HEVC - Dolby Vision Profile 8.1 (HDR10) files in Jellyfin.
Setup:
  • NAS with AMD Ryzen 7 5700U
  • Proxmox 8.4.5 as the hypervisor
  • TrueNAS SCALE ElectricEel-24.10.2.3 running as a VM
  • Jellyfin 10.10.7 installed via Docker
Problem:
  • With V4L2 hardware acceleration enabled, playback only works on a Firestick, but fails on an Android phone and Chrome on a Linux laptop.
  • Other hardware acceleration options (e.g., Intel QuickSync, AMD AMF) fail on all clients.
  • Disabling hardware acceleration allows playback on all devices, but with occasional stuttering.

Errors:
  • With Intel QuickSync:
Code:
Device creation failed: -542398533.
Failed to set value 'vaapi=va:,vendor_id=0x8086,driver=iHD' for option 'init_hw_device': Generic error in an external library
Error parsing global options: Generic error in an external library

  • With V4L2 (from Chrome):
Code:
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_v4l2m2m))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
[h264_v4l2m2m @ 0x...] Could not find a valid device
[h264_v4l2m2m @ 0x...] can't configure encoder
... Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
... Task finished with error code: -22 (Invalid argument)
[out#0/hls @ 0x...] Nothing was written into output file, because at least one of its streams received no packets.
Conversion failed!

  • With AMD AMF:
Code:
[h264_amf @ 0x...] DLL libamfrt64.so.1 failed to open
double free or corruption (fasttop)

Has anyone faced a similar issue with hardware acceleration not working properly on Jellyfin with TrueNAS SCALE and a Ryzen 7 5700U?
Any help or advice would be greatly appreciated!

Thanks in advance for your help, and have a great day!