Jellyfin Forum
Cant get hardware transcoding to work - 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: Cant get hardware transcoding to work (/t-cant-get-hardware-transcoding-to-work)

Pages: 1 2


Cant get hardware transcoding to work - emailbin11 - 2025-04-19

Hi all!

I have tried unsuccessfully for quite some time to get hardware transcoding to work properly... So I am reaching out hoping for some help.

The short of it is, with hardware transcoding disabled videos work, and my TV channels appear to intermittently work (Jellyfin seems to hang once it attempts a stream and it doesnt work).

However when enabling hardware transcoding I cannot get anything to play.

I am hosting Jellyfin in a docker container with docker compose (attached) on Ubuntu 24.04.2 LTS with an Intel Core i5-13600K attempting to use QSV..
Attached are screenshots of my transcoding settings, and the ffmpeg output from an attempted video with hardware transcoding enabled.

Thanks in advance!

ffmpeg - https://pastebin.com/ZB2Ht0zK
dockercompose - https://pastebin.com/Jdt0xLgg

PS - the docker setup is routed through another container's network hence why the port forwarding isnt in this docker compose.

Any help would be greatly appreciated


RE: Cant get hardware transcoding to work - TheDreadPirate - 2025-04-19

From a transcoding perspective, the ffmpeg log looks fine. Nothing unusual or special.

What kind of client are you watching on? Does this happen on all clients or just a particular client?


RE: Cant get hardware transcoding to work - emailbin11 - 2025-04-19

Thank you for the reply sir! So interestingly if I attempt to play from chrome on windows instead of Firefox (what i was testing with) it plays about 9 seconds properly, then freezes and immediately downgrades the quality and stutters until I stop playback...


RE: Cant get hardware transcoding to work - TheDreadPirate - 2025-04-20

Can you share the main jellyfin log?


RE: Cant get hardware transcoding to work - emailbin11 - 2025-04-20

Hey man I will, thank you again for the help. Currently I have hardware transcoding disabled, and everything works perfectly across the board (with the exception of live tv on my nvidia shield device and apple tv both using jellyfin and swiftfin respectively).

I will re-enable it though and provide the logs.

Also I had another question.. Do you happen to know is there a way to use an epg guide using the jellyfin.xtream addon to provide channels? Instead of a tuning device?


RE: Cant get hardware transcoding to work - emailbin11 - 2025-04-20

I also forgot to mention a few other things - I am accessing it through a nginx proxy using nginxproxymanager (i do have the no proxy buffering setting set)

- Also it seems to stream much better with max 1080p set, previously I noticed it was streaming about 500mbs to the browser every other second, with 1080 set as the resolution it appears to be getting around 600 fps lol and a bitrate of 670 (without hardware transcoding enabled)


RE: Cant get hardware transcoding to work - TheDreadPirate - 2025-04-20

I have zero experience with EPG guide data.

Do you have "Cache assets" enabled in Nginx Proxy manager? Are you using cloudflare as a proxy?


RE: Cant get hardware transcoding to work - emailbin11 - 2025-04-21

Hey! No worries about the EPG guide data, here is my regular jellyfin log: https://pastebin.com/DHqvHLV8

And I do not have cache assets enabled in nginx proxy manager, and I am not using cloudflare as a proxy just through nginx on my local network


RE: Cant get hardware transcoding to work - emailbin11 - 2025-04-21

Just to give you an update as well, I think my Ubuntu environment might be in poor shape, I'm going to wipe it tomorrow and start with a clean install


RE: Cant get hardware transcoding to work - emailbin11 - 2025-04-21

So I uninstalled Ubuntu and installed Debian instead, and have everything up and running again but am running in to the same issue Smiling-face


Main jellyfin log: https://pastebin.com/EyDuvFkM
ffmpeg log: https://pastebin.com/x4EFmG7H

When I attempt to view it in Firefox in the jellyfin web UI:
It appears to attempt to request the same 447.01 mb file over and over again, when i open it on firefox directly it says: 'no video with supported format and MIME type found'

If I open it in Chrome it appears to send video at nearly 1gbps/second to the client
It streams 9 seconds and then pauses

this is the media info I get for those 9 seconds
Playback Info
Player
Html Video Player
Play method
Transcoding
Protocol
http
Stream type
HLS
Video Info
Player dimensions
1509x557
Video resolution
1920x800
Dropped frames
0
Corrupted frames
0
Transcoding Info
Video codec
H264
Audio codec
AAC
Audio channels
2
Bitrate
293.6 Mbps
Transcoding framerate
46 fps
Reason for transcoding
The container is not supported
The video codec is not supported
The audio codec is not supported
Original Media Info
Container
mkv
Video range type
SDR

If I wait it will continue at a lower streaming quality, and then pause again (downloading about 5gbs in 20ish seconds)