• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Transcoding Works Perfectly until It Suddenly Doesn't

     
    • 0 Vote(s) - 0 Average

    Transcoding Works Perfectly until It Suddenly Doesn't

    Jellyfin running in a Docker container, using dedicated GPU hardware acceleration
    familiarglyphs
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #1
    2025-07-20, 05:36 PM
    Hi all,

    I've been at this for a year now and I'm finally ready to admit defeat and ask for help. 

    SPECS:
    Proxmox base, running two VMs: 1. TrueNAS 2. Ubuntu Server for Docker containers
    Intel i3 12-100
    32GB DDR5 RAM
    GTX 1660 GPU
    256GB SSD (runs Proxmox only)
    1TB SSD (runs TrueNAS and Ubuntu VMs, plenty of headroom)
    12TB CMR HDDs for storage (also plenty of headroom)

    Here is a pastebin of my most recent transcode log that failed after a few minutes of working totally fine: https://pastebin.com/ZAKwxmu8

    --

    I've had this issue for a while now, but lately it seems to happen on every single watch. If I have a 4K HEVC file with multi-channel audio and HDR going on, attempting to stream to a less capable client like an iOS device or a 1080p PC running in a browser window causes the system to completely crash, taking other Docker containers down with it (including my DNS server, which makes monitoring difficult because Portainer goes down as well). In some crashes, even the TrueNAS VM dies and only Proxmox is left standing. So far, if I can avoid transcoding, everything works great, but occasionally I do watch from a mobile device and would like to at least understand why the crashes are happening. I asked for help in the Jellyfin Discord server, and they pointed me here after we tried to troubleshoot for a while.

    During the last failed transcode (detailed in the pastebin above) I also had a terminal window with watch nvidia-smi going and a terminal window with htop for monitoring. I also had Jellyfin tell me playback info in the window itself while it was playing, and it appeared to be transcoding just fine. GPU utilization was only at 32% with no thermal issues whatsoever, and htop showed 14% CPU utilization across 4 threads I have allocated to the entire VM (thus considering all other containers running concurrently) with RAM at 2GB used out of 16GB available. The movie in question (The Batman 2019) played perfectly fine in 1080p with no tone mapping and downmixed to stereo from atmos for a few minutes before unceremoniously crashing. Linux logs show no out of memory errors or anything of the sort. Closest I was able to find was ffmpeg exiting with code 137. 

    The only reason I even have a dedicated GPU in this system was because I couldn't get anything to play without it, despite research online pointing to the iGPU's capability for at least 1 4K stream without issue, and a clear overhead for memory in case that became an issue. My /cache folder is bound outside the container to a folder with half a TB of free space, and I've verified that it clears itself out. I'm at a total loss and not sure what to check next! Any help is appreciated.

    Thanks
    bitmap
    Offline

    Community Moderator

    Posts: 928
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #2
    2025-07-20, 11:09 PM
    What issues did you have with Quicksync? A 12th gen i3 should definitely be able to handle this sort of job. Are you interested in root cause analysis or trying to get QSV hardware acceleration working?
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    familiarglyphs
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #3
    2025-07-20, 11:13 PM
    At the moment I would like to understand why the NVENC workflow suddenly goes down and takes the server with it when all signs point to a well-oiled machine. I only have the GPU in the system at all to support hardware accelerated transcoding, so getting things to work with just QuickSync would be a great stretch goal for afterwards. Being able to run the system without a GPU would save on power consumption, so I'd definitely go that route, it's just a lot of setup through proxmox before I can even test it, as opposed to the GPU which is already correctly isolated and passed through to the container.
    bitmap
    Offline

    Community Moderator

    Posts: 928
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #4
    2025-07-20, 11:18 PM (This post was last modified: 2025-07-20, 11:21 PM by bitmap. Edited 1 time in total.)
    Can you provide your Jellyfin logs or clear things out, recreate the issue, and then provide the Jellyfin log? Remove domains, leave all else. There are no errors at all in the transcode log you provided...in fact, it looks like it finished successfully. So the issue might lie elsewhere.

    ETA: Keep an eye on your Ubuntu version as well, since #4 of the known issues will hinder your progress on Quicksync.

    https://jellyfin.org/docs/general/post-i...l-on-linux
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    Saturng2005
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2025 Jul
    Reputation: 0
    #5
    Yesterday, 01:34 AM
    Hey! I was having the same issue, and I was able to fix it. In my case, it had to do with some GPU check causing the transcoding to fail every few hours, forcing me to reboot.

    Try something for me and tell me what happens:

    While your transcoding is working, stop the video, go to your server's terminal and type in "sudo systemctl daemon-reload". Now go back to the video stream and see if transcoding is working still. If it's not, I know what's up
    familiarglyphs
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #6
    Yesterday, 01:25 PM (This post was last modified: Yesterday, 01:27 PM by familiarglyphs. Edited 1 time in total.)
    (Yesterday, 01:34 AM)Saturng2005 Wrote: Hey! I was having the same issue, and I was able to fix it. In my case, it had to do with some GPU check causing the transcoding to fail every few hours, forcing me to reboot.

    Try something for me and tell me what happens:

    While your transcoding is working, stop the video, go to your server's terminal and type in "sudo systemctl daemon-reload". Now go back to the video stream and see if transcoding is working still. If it's not, I know what's up

    I tried this and transcoding didn't stop at all. Might not be this then.

    UPDATE: I closed out of the video stream and tried starting it again after the daemon-reload, now I'm getting fatal playback error. Maybe this is the issue after all?
    familiarglyphs
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #7
    10 hours ago (This post was last modified: 10 hours ago by familiarglyphs.)
    (2025-07-20, 11:18 PM)bitmap Wrote: Can you provide your Jellyfin logs or clear things out, recreate the issue, and then provide the Jellyfin log? Remove domains, leave all else. There are no errors at all in the transcode log you provided...in fact, it looks like it finished successfully. So the issue might lie elsewhere.

    ETA: Keep an eye on your Ubuntu version as well, since #4 of the known issues will hinder your progress on Quicksync.

    https://jellyfin.org/docs/general/post-i...l-on-linux

    Recreated the issue and here are the Jellyfin logs.
    https://pastebin.com/Gqbznn4Z

    I was monitoring htop and the Docker container's logs in real time during the transcode, and everything seemed normal. Once playback failed, the ffmpeg process seemed to continue for a while in htop before eventually giving up. My Pi-hole container broke as usual when Jellyfin breaks.. very odd as resources clearly did not run out and the two containers do not share a network stack.
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode