• 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 Can't open show on TV

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Can't open show on TV

    Can't open show at all
    ohshitgorillas
    Offline

    Junior Member

    Posts: 28
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #1
    2023-10-20, 03:39 AM (This post was last modified: 2023-10-20, 03:50 AM by ohshitgorillas. Edited 2 times in total.)
    I am running Jellyfin inside of Docker on a headless Ubuntu Server with a dedicated Nvidia GTX 1660 Ti for hardware decoding. I am trying to play the media via the Jellyfin app on my Roku TV. Both are connected to the same LAN network.

    When I try to play the file, I get the error "An error was encountered while playing this item." and the stream never starts. There is no ffmpeg log.

    Code:
    [2023-10-19 20:19:30.494 -07:00] [INF] [135] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "media". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2023-10-19 20:19:30.494 -07:00] [INF] [135] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 15000000, RemoteIp: "10.0.0.27", IsInLocalNetwork: True
    [2023-10-19 20:19:30.494 -07:00] [INF] [135] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/tv/The Witcher/The.Witcher.S03.2160p.COMPLETE.Dolby.Vision.And.HDR10.ENG.And.ESP.LATINO.Multi.Sub.DDP5.1.Atmos.DV.x265.MP4-BEN.THE.MEN/The.Witcher.S03E02.2160p.Dolby.Vision.And.HDR10.ENG.And.ESP.LATINO.mp4", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/a6f88457-a70f-a36c-b2d0-66dd3927d1ac/stream.mov?MediaSourceId=a6f88457a70fa36cb2d066dd3927d1ac&Static=true&VideoCodec=hevc&AudioCodec=eac3&AudioStreamIndex=1&api_key=<token>&SubtitleMethod=Encode&Tag=8fd12fc4c88ddc61e09d047883fc9c7e"
    [2023-10-19 20:19:31.366 -07:00] [INF] [87] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Roku" "1.6.6" playing "Unbound". Stopped at "0" ms
    [2023-10-19 20:19:34.148 -07:00] [INF] [135] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "media". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2023-10-19 20:19:34.148 -07:00] [INF] [135] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 15000000, RemoteIp: "10.0.0.27", IsInLocalNetwork: True
    [2023-10-19 20:19:34.149 -07:00] [INF] [135] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/tv/The Witcher/The.Witcher.S03.2160p.COMPLETE.Dolby.Vision.And.HDR10.ENG.And.ESP.LATINO.Multi.Sub.DDP5.1.Atmos.DV.x265.MP4-BEN.THE.MEN/The.Witcher.S03E02.2160p.Dolby.Vision.And.HDR10.ENG.And.ESP.LATINO.mp4", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/a6f88457-a70f-a36c-b2d0-66dd3927d1ac/stream.mov?MediaSourceId=a6f88457a70fa36cb2d066dd3927d1ac&Static=true&VideoCodec=hevc&AudioCodec=eac3&AudioStreamIndex=1&api_key=<token>&SubtitleMethod=Encode&Tag=8fd12fc4c88ddc61e09d047883fc9c7e"
    [2023-10-19 20:19:35.112 -07:00] [INF] [279] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Roku" "1.6.6" playing "Unbound". Stopped at "0" ms
    [2023-10-19 20:26:42.930 -07:00] [INF] [32] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/24]"
    [2023-10-19 20:26:42.930 -07:00] [INF] [32] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
    [2023-10-19 20:26:42.930 -07:00] [INF] [32] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/24]"
    [2023-10-19 20:26:44.933 -07:00] [INF] [32] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/24]"
    [2023-10-19 20:26:44.933 -07:00] [INF] [32] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
    [2023-10-19 20:26:44.933 -07:00] [INF] [32] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/24]"

    Any ideas?

    I have already tried limiting the client's bitrate to 20M which helped with a previous problem but hasn't done anything to fix this one.

    I should mention that the files play fine on Plex.

    Edit: I just tried on my tablet and got a more descriptive error: "The client isn't compatible with the media and the server isn't sending a compatible media format."

    ffmpeg log: https://00.yt/2p
    jellyfin log: https://00.yt/2q
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-10-20, 11:45 AM
    It can't find or use the GPU. Did you pass the GPU into the container?

    https://jellyfin.org/docs/general/admini...ualization
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ohshitgorillas
    Offline

    Junior Member

    Posts: 28
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #3
    2023-10-20, 06:11 PM
    Yes, the GPU is inside the container.

    Here's the full docker-compose file:

    Code:
    version: "2.1"
    services:
      jellyfin_ddns4:
        image: sjmayotte/route53-dynamic-dns:latest
        container_name: jellyfin_ddns4
        env_file:
          - ./4.env
        restart: unless-stopped
        logging:
          driver: gelf
          options:
            gelf-address: "udp://10.0.0.1:12201"
            tag: "jellyfin_ddns4"


      jellyfin_ddns6:
        image: sjmayotte/route53-dynamic-dns:latest
        container_name: jellyfin_ddns6
        env_file:
          - ./6.env
        network_mode: host
        restart: unless-stopped
        logging:
          driver: gelf
          options:
            gelf-address: "udp://10.0.0.1:12201"
            tag: "jellyfin_ddns6"


      jellyfin:
        image: linuxserver/jellyfin:latest
        container_name: jellyfin
        runtime: nvidia
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=America/Los_Angeles
          - NVIDIA_VISIBLE_DEVICES=all
          - NVIDIA_DRIVER_CAPABILITIES=all
        volumes:
          - ./config:/config
          - /srv/media/music:/music
          - /srv/media/tv:/tv
          - /srv/media/movies:/movies
        network_mode: host
        depends_on:
          - jellyfin_ddns4
          - jellyfin_ddns6
        restart: unless-stopped

      nginx:
        container_name: nginx_jellyfin
        image: nginx:latest
        volumes:
          - ./nginx/log:/var/log/nginx
          - ./nginx/keys:/config/keys
          - ./nginx/nginx.conf:/etc/nginx/nginx.conf
        ports:
          - 42069:80
        depends_on:
          - jellyfin
        restart: unless-stopped

    and checking in the container:

    Code:
    :: /srv/jellyfin » docker exec -it jellyfin nvidia-smi
    Fri Oct 20 11:01:16 2023      
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 470.199.02   Driver Version: 470.199.02   CUDA Version: 11.4     |
    |-------------------------------+----------------------+----------------------+
    | 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 ...  Off  | 00000000:01:00.0 Off |                  N/A |
    |  0%   41C    P8     8W / 130W |      1MiB /  5944MiB |      0%      Default |
    |                               |                      |                  N/A |
    +-------------------------------+----------------------+----------------------+
                                                                                  
    +-----------------------------------------------------------------------------+
    | Processes:                                                                  |
    |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
    |        ID   ID                                                   Usage      |
    |=============================================================================|
    |  No running processes found                                                 |
    +-----------------------------------------------------------------------------+

    I can also confirm that watching certain content on Jellyfin causes the GPU to kick in.

    In Settings, I have enabled encoding and decoding for all available formats.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-10-20, 11:42 PM
    Your driver is almost 2 years old. Try updating. The fact that it works and then suddenly can't find it. Try reseating the GPU. Not sure what it could be at this point.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    ohshitgorillas
    Offline

    Junior Member

    Posts: 28
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #5
    2023-10-21, 04:11 PM
    Good call on the video driver, I've updated to nvidia-535. Still doesn't work, though. I'll maybe try re-seating the GPU.

    Given that Plex plays it fine without transcoding, is it likely to be a hardware-related issue?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-10-21, 04:51 PM
    It wouldn't be the first time a client OS update breaks the client profiles for Jellyfin (states capabilities of device to determine when to transcode). Your device could 100% be capable of direct play but the Jellyfin client is inappropriately asking the server for a transcode.

    Are you running Plex on the same server as Jellyfin?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Manly Manlison
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2023 Oct
    Reputation: 1
    Country:Denmark
    #7
    2023-10-21, 05:10 PM (This post was last modified: 2023-10-21, 05:10 PM by Manly Manlison. Edited 1 time in total.)
    Just a heads-up, I had issues related to FFMPEG.exe disappearing a few days ago which made my server try to transcode all my content that should have 100% direct played, and the transcode of course failed because ffmpeg.exe wasn't anywhere to be found, so try to check if it's still there, otherwise if it's not, download the pack from github: https://github.com/jellyfin/jellyfin-ffmpeg
    and point JF to the new ffmpeg.exe and ffprobe.exe and see if that works Smiling-face
    Deleted User

    Unregistered
     
    #8
    2023-10-21, 05:14 PM
    (2023-10-21, 05:10 PM)Manly Manlison Wrote: Just a heads-up, I had issues related to FFMPEG.exe disappearing a few days ago which made my server try to transcode all my content that should have 100% direct played, and the transcode of course failed because ffmpeg.exe wasn't anywhere to be found, so try to check if it's still there, otherwise if it's not, download the pack from github: https://github.com/jellyfin/jellyfin-ffmpeg
    and point JF to the new ffmpeg.exe and ffprobe.exe and see if that works Smiling-face

    nice of you to try and be helpful but your issue is unlikely to translate to ubuntu or docker, your solution certainly is not correct for it
    Manly Manlison
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2023 Oct
    Reputation: 1
    Country:Denmark
    #9
    2023-10-21, 05:49 PM
    (2023-10-21, 05:14 PM)000 Wrote:
    (2023-10-21, 05:10 PM)Manly Manlison Wrote: Just a heads-up, I had issues related to FFMPEG.exe disappearing a few days ago which made my server try to transcode all my content that should have 100% direct played, and the transcode of course failed because ffmpeg.exe wasn't anywhere to be found, so try to check if it's still there, otherwise if it's not, download the pack from github: https://github.com/jellyfin/jellyfin-ffmpeg
    and point JF to the new ffmpeg.exe and ffprobe.exe and see if that works Smiling-face

    nice of you to try and be helpful but your issue is unlikely to translate to ubuntu or docker, your solution certainly is not correct for it

    Yeah, my issue was Windows-related, but in my search to fix my own issue I ran into a few threads with users having similar issues on docker/ubuntu, but you're most likely right Smiling-face
    Deleted User

    Unregistered
     
    #10
    2023-10-21, 05:54 PM
    (2023-10-21, 05:49 PM)Manly Manlison Wrote: Yeah, my issue was Windows-related, but in my search to fix my own issue I ran into a few threads with users having similar issues on docker/ubuntu, but you're most likely right Smiling-face

    likely... ?

    if ffmpeg were missing there would be no ffmpeg log instead of a log from ffmpeg stating it couldn't open the video device
    if ffmpeg were missing in ubuntu it would be apt install jellyfin-ffmpeg5 not download from github (same in or out of docker)
    and linux doesn't use .exe
    Pages (2): 1 2 Next »

    « 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