• 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 SOLVED: transcoding

     
    • 0 Vote(s) - 0 Average

    SOLVED: transcoding

    Jellyfin not trandcoding
    thimabo
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:Netherlands
    #1
    Yesterday, 01:51 PM
    I Currently have jellyfin running on:

    Proxmox 9.1.2 -> Ubuntu Server 20.04 VM -> casaos ->jellyfin
    running this ymal config: see attchment Jellyfin (3).txt

    But i can seem to be able to transcode any media even though nvidia-smi give me this output:
    casaos@casaos:~$ nvidia-smi
    Tue Dec 16 13:30:41 2025     
    +---------------------------------------------------------------------------------------+
    | NVIDIA-SMI 535.230.02            Driver Version: 535.230.02  CUDA Version: 12.2    |
    |-----------------------------------------+----------------------+----------------------+
    | GPU  Name                Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf          Pwr:Usage/Cap |        Memory-Usage | GPU-Util  Compute M. |
    |                                        |                      |              MIG M. |
    |=========================================+======================+======================|
    |  0  NVIDIA GeForce GTX 1080 Ti    Off | 00000000:06:10.0 Off |                  N/A |
    |  0%  35C    P5              25W / 280W |      0MiB / 11264MiB |      0%      Default |
    |                                        |                      |                  N/A |
    +-----------------------------------------+----------------------+----------------------+
                                                                                           
    +---------------------------------------------------------------------------------------+
    | Processes:                                                                            |
    |  GPU  GI  CI        PID  Type  Process name                            GPU Memory |
    |        ID  ID                                                            Usage      |
    |=======================================================================================|
    |  No running processes found                                                          |
    +---------------------------------------------------------------------------------------+
    casaos@casaos:~$

    i will also include the encoding config below:
    see encoding.txt

    Jellyfin logs when watching something:
    see jellyfinlog.txt


    Attached Files
    .txt   Jellyfin (3).txt (Size: 33.26 KB / Downloads: 8)
    .txt   encoding.txt (Size: 2.68 KB / Downloads: 8)
    .txt   jellyfinlog.txt (Size: 34.94 KB / Downloads: 7)
    Go to solution
    alleycat
    Offline

    Member

    Posts: 122
    Threads: 20
    Joined: 2024 Sep
    Reputation: 1
    Country:United States
    #2
    Yesterday, 02:25 PM
    (Yesterday, 01:51 PM)thimabo Wrote: I Currently have jellyfin running on:

    Proxmox 9.1.2 -> Ubuntu Server 20.04 VM -> casaos ->jellyfin
    running this ymal config: see attchment Jellyfin (3).txt

    But i can seem to be able to transcode any media even though nvidia-smi give me this output:
    casaos@casaos:~$ nvidia-smi
    Tue Dec 16 13:30:41 2025     
    +---------------------------------------------------------------------------------------+
    | NVIDIA-SMI 535.230.02            Driver Version: 535.230.02  CUDA Version: 12.2    |
    |-----------------------------------------+----------------------+----------------------+
    | GPU  Name                Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf          Pwr:Usage/Cap |        Memory-Usage | GPU-Util  Compute M. |
    |                                        |                      |              MIG M. |
    |=========================================+======================+======================|
    |  0  NVIDIA GeForce GTX 1080 Ti    Off | 00000000:06:10.0 Off |                  N/A |
    |  0%  35C    P5              25W / 280W |      0MiB / 11264MiB |      0%      Default |
    |                                        |                      |                  N/A |
    +-----------------------------------------+----------------------+----------------------+
                                                                                           
    +---------------------------------------------------------------------------------------+
    | Processes:                                                                            |
    |  GPU  GI  CI        PID  Type  Process name                            GPU Memory |
    |        ID  ID                                                            Usage      |
    |=======================================================================================|
    |  No running processes found                                                          |
    +---------------------------------------------------------------------------------------+
    casaos@casaos:~$

    i will also include the encoding config below:
    see encoding.txt

    Jellyfin logs when watching something:
    see jellyfinlog.txt

    This might help.

    https://forum.jellyfin.org/t-hardware-tr...-with-hevc
    Jellyfin 10.11.5 (bare metal) on Ubuntu 24.04.3 LTS, Server: OptiPlex 7050 i7-6700 32GB ram (headless)
    Arc A310, Storage: TrueNAS Mini R Raidz2 45 TiB, Netgate 4200 PFsense/HAproxy

    1
    thimabo
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:Netherlands
    #3
    Yesterday, 03:02 PM
    Okey so that helped me.

    here is what i f*cked up, I fixed it with some help of perplexity ai but this is what i did:

    What was broken
    On the host, libnvidia-encode.so.1 was a directory, not a shared library file, so anything that needed NVENC (the container runtime, ffmpeg, Jellyfin) crashed with “Cannot load libnvidia-encode.so.1”.

    CasaOS plus your manual bind‑mounts tried to mount that same path into the container, which conflicted with the Nvidia runtime and prevented it from creating its own symlink inside the container overlay.

    Inside the Jellyfin container, ffmpeg therefore couldn’t load libnvidia-encode.so.1, and every transcode died with exit code 255.

    Steps that actually fixed it
    Repaired the encode library on the host

    Deleted the bogus directory and reinstalled the encode library so libnvidia-encode.so.1 became a proper symlink to the real .so file.

    Verified that GPU containers work again by running a CUDA test container and seeing the 1080 Ti in nvidia-smi.

    Stopped fighting the Nvidia runtime

    Removed all custom bind‑mounts of libnvidia-encode.so* from the Jellyfin container configuration so the Nvidia container runtime could inject its own libraries and symlinks.

    Left only the correct GPU settings:

    Devices: /dev/nvidia0, /dev/nvidiactl, /dev/nvidia-uvm, /dev/nvidia-modeset, /dev/dri

    Env: NVIDIA_VISIBLE_DEVICES=all, NVIDIA_DRIVER_CAPABILITIES=compute,video,utility.

    Confirmed NVENC inside the container

    Used the Jellyfin ffmpeg binary to test hardware acceleration directly with a synthetic source, and it successfully encoded video with h264_nvenc for multiple frames without errors.

    Pointed Jellyfin at the working ffmpeg + NVENC

    Set the ffmpeg path in Jellyfin to the container’s jellyfin-ffmpeg binary and enabled NVIDIA NVENC hardware acceleration.

    As a result, Jellyfin now calls the same, working NVENC pipeline and transcoding runs on the 1080 Ti instead of failing immediately.
    « 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