• 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: Playback issues with certain files

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Playback issues with certain files

    Schos
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Austria
    #1
    2025-01-18, 05:16 PM (This post was last modified: 2025-01-22, 07:56 AM by Schos. Edited 2 times in total.)
    Hi there!
    So I have been using Jellyfin for a couple of years without any major issues more with a lot of satisfaction.
    Anyhow, a couple of days ago I realized, that new media was not automatically added, so I played around a lot and realized, that all of a sudden .ISO files are stopping the library scan. Which is no big deal as Jellyfin was not able to play them anyway. So right now, I am not able to play SOME media files reliable on many devices (Android TV with Jellyfin App, Mobilephone with Jellyfin App, Web Browser, Windows Client with Jellyfin Desktop App).
    So I created another container with the most basic configuration (no reverse proxy, nothing), scanned the library and were not able to play some media. All my files are owned by 1000:1000, and have 664 / 775 permission.
    All media is served via NFS, the container is run by root

    This is my compose 

    Code:
    services:
      jellyfin2:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin2
        restart: unless-stopped
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
          - /dev/dri/card0:/dev/dri/card0
        environment:
          - TZ=Europe/Vienna
        volumes:
          - /data/container/jellyfin2-config:/config
          - /data/container/jellyfin2-cache:/cache
          - /mnt/Media:/data/Media:ro
        ports:
          - 8097:8096

    I run the container on an Intel NUC which is powerful enough for transcoding and all that.

    I have a debug log as well:
    • Part 1: https://pastebin.com/iQ4R1TdY
    • Part 2: https://pastebin.com/yyQm6iGS

    The log displays me starting a file and watching it for one second (search for "Mission - Impossible"). After that, I try to play two other files, but I can't find anything about that in the logs. I only see the Image of the movie with the blue loading carousel without anything happening.

    My guess is some issue with remuxing / transcoding.

    Please let me know what else I can supply to help you help me ;-)
    Thank you!


    SOLUTION:
    My issue was, that the files were shared via NFSv3. Switching to NFSv4 solved everything. Be sure to check out https://jellyfin.org/docs/general/admini...orage/#nfs for more information
    And for sure I misconfigured the transcoding. This post helped finding the right codecs based on my CPU: https://forum.jellyfin.org/t-playback-is...2#pid49552
    Go to solution
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,039
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #2
    2025-01-18, 05:43 PM (This post was last modified: 2025-01-18, 07:18 PM by TheDreadPirate. Edited 2 times in total.)
    Your Docker Compose file appears to be incomplete. You need to specify the user with uid:gid and include the render group for GPU access. Here's my compose file as an example. Also, debug logs generate too much noise, so we prefer to see the standard logs instead.


    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        user: 1000:1000  #uid:gid
        group_add:
          - "992" #render
        network_mode: 'host' 
        volumes:
          - /home/max/Dockers/Jellyfin/Config:/config
          - /home/max/Dockers/Jellyfin/Cache:/cache
          - /media/Media1:/Movies
          - /media/Media2:/Shows
        restart: 'unless-stopped'
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
    Schos
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Austria
    #3
    2025-01-19, 12:23 PM
    Hi @theguymadmax

    Thank you for your reply!
    I am not sure about the permissions, as the container was executed by root. But I did what you asked. Added the group_add with "106" (thats my render group), added user 1000 to group 106, chown'd the jellyfin config and cache folders to 1000:1000 and added the user: 1000:1000 to the compose. With no success I am afraid.

    For the sake of completness it looks like this now:
    Code:
    services:
      jellyfin2:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin2
        restart: unless-stopped
        user: 1000:1000
        group_add:
          - 106
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
          - /dev/dri/card0:/dev/dri/card0
        environment:
          - TZ=Europe/Vienna
        volumes:
          - /data/container/jellyfin2-config:/config
          - /data/container/jellyfin2-cache:/cache
          - /mnt/Media:/data/Media:ro
        ports:
          - 8097:8096

    I also reverted the log level back to default. Please find a pastebin here: https://pastebin.com/yn65Zdrq

    So, what I did was restart jellyfin (so the new logging config was loaded), played "Mission - Impossible" and stopped after a couple of seconds, and played another TV show where I know which is not working. That playback added the very last line (#63) in the log. Only one FFMpeg log file is created for the successful playback, nothing for the bad one.

    Thank you for your help :-)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-19, 09:43 PM
    If the video is direct played, no ffmpeg log line would be created.

    Just to clarify, Mission Impossible IS working now, correct?

    Can you share the media info for the file that still isn't working? In the Jellyfin UI, navigate to the video in question and click on the "..." context menu and click "media info". There is a copy button at the top of the window that pops up. Click it to copy the contents of that window and share it with us.
    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]
    Schos
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Austria
    #5
    2025-01-20, 06:03 AM
    Hi @TheDreadPirate

    Thank you for your reply!

    Yes, Mission Impossible is working just fine.

    Here is the information about the show in question. I replaced the title due to reasons ... and removed additional subtitles as the information was identical for all of them
    Just to be clear, I already watched this episode with Jellyfin a while back before I messed up my configuration.

    Quote:TV.Show.S01E01.Episode.1080p.DSNP.WEB-DL.DDP5.1.Atmos.H.264-FLUX[TGx]
    Container: mkv
    Pfad: /data/Media/Serien/TV Show/Season 1/TV.Show.S01E01.Episode.1080p.DSNP.WEB-DL.DDP5.1.Atmos.H.264-FLUX[TGx].mkv
    Größe: 1897 MB
    Video
    Titel: 1080p H264 SDR
    Codec: H264
    AVC: Yes
    Profil: High
    Level: 40
    Auflösung: 1920x1080
    Seitenverhältnis: 16:9
    Anamorph: No
    Zeilensprungverfahren: No
    Bildrate: 24
    Bitrate: 6502 kbps
    Bit-Tiefe: 8 bit
    Videobereich: SDR
    Video-Dynamikumfang: SDR
    Farbraum: bt709
    Farbübertragung: bt709
    Primärfarben: bt709
    Pixelformat: yuv420p
    Referenz-Frames: 1
    NAL: 4
    Audio
    Titel: English - Dolby Digital Plus + Dolby Atmos - 5.1 - Default
    Sprache: eng
    Codec: EAC3
    AVC: No
    Profil: Dolby Digital Plus + Dolby Atmos
    Darstellung: 5.1
    Kanäle: 6 ch
    Bitrate: 768 kbps
    Abtastrate: 48000 Hz
    Standard: Yes
    Erzwungen: No
    Extern: No
    Untertitel
    Titel: English - SUBRIP
    Sprache: eng
    Codec: SUBRIP
    AVC: No
    Standard: No
    Erzwungen: No
    Extern: No
    [I removed the information about additional subtitles]

    Just for comparison, here are the media information of Mission Impossible, which is playing perfectly fine.

    Quote:Mission_Impossible_S01E01_x265_1080p_WEB-DL_30nama_30NAMA
    Container: mkv
    Pfad: /data/Media/Serien/Mission - Impossible/Season 1/Mission_Impossible_S01E01_x265_1080p_WEB-DL_30nama_30NAMA.mkv
    Größe: 462 MB
    Video
    Titel: 1080p HEVC SDR
    Codec: HEVC
    AVC: No
    Profil: Main 10
    Level: 153
    Auflösung: 1440x1080
    Seitenverhältnis: 4:3
    Anamorph: No
    Zeilensprungverfahren: No
    Bildrate: 23.976025
    Bitrate: 1278 kbps
    Bit-Tiefe: 10 bit
    Videobereich: SDR
    Video-Dynamikumfang: SDR
    Pixelformat: yuv420p10le
    Referenz-Frames: 1
    Audio
    Titel: English - OPUS - 5.1 - Default
    Sprache: eng
    Codec: OPUS
    AVC: No
    Darstellung: 5.1
    Kanäle: 6 ch
    Bitrate: 175 kbps
    Abtastrate: 48000 Hz
    Standard: Yes
    Erzwungen: No
    Extern: No
    Untertitel
    Titel: Undefined - SUBRIP
    Codec: SUBRIP
    AVC: No
    Standard: No
    Erzwungen: No
    Extern: No

    I tried transcoding with both VAAPI (I am very sure thats what I selected in my previous, working setup) and Intel QSV
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,039
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #6
    2025-01-20, 07:59 AM
    What model of NUC do you have? Also, try playing the files that you're having issues with. If they don't play directly, the system will attempt to transcode and generate an ffmpeg log. Please share the full log.
    Schos
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Austria
    #7
    2025-01-20, 12:02 PM
    Not sure which exact model (I am not at home right now)
    But some basic information:
    Quote:$ sudo lshw -C display
      *-display
          description: VGA compatible controller
          product: Iris Plus Graphics 640
          vendor: Intel Corporation
          physical id: 2
          bus info: pci@0000:00:02.0
          version: 06
          width: 64 bits
          clock: 33MHz
          capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
          configuration: driver=i915 latency=0
          resources: irq:129 memory:db000000-dbffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff

    $ lscpu
    Architecture:                        x86_64
    CPU op-mode(s):                      32-bit, 64-bit
    Byte Order:                          Little Endian
    Address sizes:                        39 bits physical, 48 bits virtual
    CPU(s):                              4
    On-line CPU(s) list:                  0-3
    Thread(s) per core:                  2
    Core(s) per socket:                  2
    Socket(s):                            1
    NUMA node(s):                        1
    Vendor ID:                            GenuineIntel
    CPU family:                          6
    Model:                                142
    Model name:                          Intel® Core™ i5-7260U CPU @ 2.20GHz
    Stepping:                            9
    CPU MHz:                              699.998
    CPU max MHz:                          3400.0000
    CPU min MHz:                          400.0000
    BogoMIPS:                            4399.99
    Virtualization:                      VT-x
    L1d cache:                            64 KiB
    L1i cache:                            64 KiB
    L2 cache:                            512 KiB
    L3 cache:                            4 MiB
    NUMA node0 CPU(s):                    0-3

    $ free -h
                  total        used        free      shared  buff/cache  available
    Mem:            31Gi        11Gi      594Mi      296Mi        19Gi        19Gi
    Swap:          976Mi      970Mi      6.0Mi

    Just to re-iterate: I do not think it is a hardware issue, as this file (and others) were able to play a while back.

    I created a new container just to be back at default settings (as I played around with transcoding). When I play some of the not working episodes, only the last line of log from my previous post is added, nothing more. No FFmpeg logs, no transcoding popup. The blue circle spins for 30 mins now ...

    What I'll try next, are older versions of Jellyfin and copying the files so I can exclude NFS.
    Schos
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Austria
    #8
    2025-01-20, 01:33 PM
    Guess I was too quick to answer...
    I let the tab open and soon after the Episode Started: https://pastebin.com/GacBFM14
    So it took about an hour for anything to happen.

    There is an Ffmpg log as well but it is quite heavy. I'll be happy to share if you wish
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2025-01-20, 05:49 PM
    Ok. It was slow to start because it was software transcoding.

    Code:
    -codec:v:0 libx264

    It would be h264_qsv if it was using the GPU, which does have decent transcoding capability.

    Can you share screenshots of how you have Dashboard > Playback > Transcoding setup?
    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]
    Schos
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Austria
    #10
    2025-01-20, 07:18 PM
    The settings are very default, so no hardware acceleration:
    https://pasteboard.co/ym9EDqE3IjmM.png
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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