• 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 Issues on Windows Docker

     
    • 0 Vote(s) - 0 Average

    Transcoding Issues on Windows Docker

    Videos fail to load with "Playback failed due to a fatal player error."
    mistamoronic
    Offline

    Junior Member

    Posts: 16
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    #1
    2025-01-12, 08:05 AM (This post was last modified: 2025-01-12, 08:07 AM by mistamoronic. Edited 1 time in total.)
    Hello, I am using docker 10.10.3 on Docker for Windows and I am having trouble getting transcoding to work. I tried following the steps listed in https://jellyfin.org/docs/general/admini...ualization
    But I am not sure how to complete step 4 that says to add my user to the video group with the
    Code:
    sudo usermod -aG video $USER
    command. I don't know what to put the "$USER"? Isn't my user just the 1000:1000 user I set in the yaml file? Sorry I am new to all of this.

    Then step 5 says to run the "docker exec -it jellyfin ldconfig" command and when I try that I get
    Code:
    docker container exec -it jellyfin ldconfig

    ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied


    Anyway I tried to just enable the transcoding without that step to see what would happen and I get "Playback failed due to a fatal player error" when I try to watch something that requires transcoding. Checking the logs, it says this at the end
    Code:
    ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
      built with gcc 12 (Debian 12.2.0-14)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59.  8.100 / 59.  8.100
      libavcodec    61.  3.100 / 61.  3.100
      libavformat    61.  1.100 / 61.  1.100
      libavdevice    61.  1.100 / 61.  1.100
      libavfilter    10.  1.100 / 10.  1.100
      libswscale      8.  1.100 /  8.  1.100
      libswresample  5.  1.100 /  5.  1.100
      libpostproc    58.  1.100 / 58.  1.100
    [AVHWDeviceContext @ 0x564d10bf4d40] Cannot load libcuda.so.1
    [AVHWDeviceContext @ 0x564d10bf4d40] Could not dynamically load CUDA
    Device creation failed: -1.
    Failed to set value 'cuda=cu:0' for option 'init_hw_device': Operation not permitted
    Error parsing global options: Operation not permitted


    So I obviously doing something wrong lol, is it because my user is not added to the video group? Here is my docker-compose yaml file btw
    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        user: 1000:1000
        network_mode: 'host'
        ports:
          - 8096:8096
        volumes:
          - C:\Users\User1\docker\jellyfin\config:/config
          - C:\Users\User1\docker\jellyfin\cache:/cache
          - type: bind
            source: D:\Documents\Videos\Movies
            target: /media
            read_only: true
        restart: 'unless-stopped'
        runtime: nvidia
        deploy:
          resources:
            reservations:
              devices:
                - driver: nvidia
                  count: all
                  capabilities: [all]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Transcoding Issues on Windows Docker - by mistamoronic - 2025-01-12, 08:05 AM
    RE: Transcoding Issues on Windows Docker - by Efficient_Good_5784 - 2025-01-12, 08:20 AM
    RE: Transcoding Issues on Windows Docker - by mistamoronic - 2025-01-12, 03:08 PM
    RE: Transcoding Issues on Windows Docker - by mistamoronic - 2025-01-13, 09:25 PM
    RE: Transcoding Issues on Windows Docker - by mistamoronic - 2025-01-14, 05:59 AM

    • 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