Jellyfin Forum
SOLVED: Video freezes after 10-30min playing 4k video transcode - 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: SOLVED: Video freezes after 10-30min playing 4k video transcode (/t-solved-video-freezes-after-10-30min-playing-4k-video-transcode)



Video freezes after 10-30min playing 4k video transcode - tricolor - 2025-05-31

Hi all,

Just wanted to share how I solved my problem of 4k video transcodes freezing after 10-30min of playback.

Setup:
- Good old spinning HDDs for storage + 500 gb SSD for temporary and app data.
- Jellyfin server running as docker container on Unraid.

Problem:
Turned out that the Jellyfin app template from Unraid Community Applications directory does *not* specify a path for Jellyfins /cache directory. This means all cache data, including transcode data, ends up on the HDD - often the same one being read from. Most spinning HDDs can't sustain the read + write load of a 4k to 4k transcode. Much less if you do several at the same time.

Solution:
1) In the Jellyfin docker template, add a Path with Container path being /cache and the Host path being on a share on your SSD, e.g. /mnt/user/appdata/jellyfin-cache/
2) In Jellyfin settings, make sure that General cache directory points to  /cache and Transcoding cache directory points to /cache/transcodes, as they do by default.