• 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 Dropped frames during direct stream

     
    • 0 Vote(s) - 0 Average

    Dropped frames during direct stream

    Periodic framedrops
    Henkow
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Sweden
    #1
    2023-09-25, 12:51 PM (This post was last modified: 2023-09-25, 01:13 PM by Henkow. Edited 1 time in total.)
    I have a bunch of remuxes that have gone through MKVToolNix to merge additional audio tracks and .PGS subtitles. These particular files seems to cause problems with Jellyfin.

    See this image: https://ibb.co/y870G2C

    It seems to happen when there is fast transitions which is weird as there should be no bandwidth limitations. I have a gigabit connection to my server and easily pull 100MB/s from it. The server itself sits at just a couple percent CPU usage.
    When the video freezes momentarily the audio is unaffected.

    If I playback the file in VLC or MPC-HC locally everything is perfectly fine. As I struggle to grasp what is causing this. I could provide a video sample if that would help.

    According to the debug log there seems to be some complaints about the .PGS subtitles. Could that affect the video when none are selected?

    I would greatly appreciate some help with this as I'm going mad trying to figure it out!


    Attached Files
    .txt   ffmpeg_part1.txt (Size: 180.77 KB / Downloads: 90)
    .txt   ffmpeg_part2.txt (Size: 64.74 KB / Downloads: 68)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-09-25, 04:30 PM
    The PGS subtitle messages are harmless and common. Not related to this issue.

    Does this issue happen with the ORIGINAL file before you ran it through MKVToolnix? I've used MKVToolnix. Since you only added tracks, it SHOULDN'T have touched the video track. But Jellyfin's web and MPV players are less tolerant of errors. VLC plays just about anything, even if it is partially corrupted or poorly encoded. MPC has some tolerance for bad files from my experience.
    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]
    Henkow
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Sweden
    #3
    2023-09-25, 04:50 PM
    I unfortunately don't have the original file (not tested) prior. Is there any tool I can use to analyze my video file for errors?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-09-25, 06:30 PM (This post was last modified: 2023-09-25, 06:30 PM by TheDreadPirate.)
    Try this. You can use ffmpeg to test the file.

    Code:
    sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v error -i /path/to/video -f null - >error.log 2>&1

    It will print any problems in error.log in the current directory.
    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]
    Henkow
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Sweden
    #5
    2023-09-28, 04:15 PM
    I don't have access to my server at the moment so I'll provide the log later. In the meantime I noticed the issue is not present when the video is transcoding, only when the video is untouched i.e. direct streaming. That's quite odd.
    Henkow
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Sweden
    #6
    2023-11-08, 11:59 AM
    (2023-09-25, 12:51 PM)Henkow Wrote: I have a bunch of remuxes that have gone through MKVToolNix to merge additional audio tracks and .PGS subtitles. These particular files seems to cause problems with Jellyfin.

    See this image: https://ibb.co/y870G2C

    It seems to happen when there is fast transitions which is weird as there should be no bandwidth limitations. I have a gigabit connection to my server and easily pull 100MB/s from it. The server itself sits at just a couple percent CPU usage.
    When the video freezes momentarily the audio is unaffected.

    If I playback the file in VLC or MPC-HC locally everything is perfectly fine. As I struggle to grasp what is causing this. I could provide a video sample if that would help.

    According to the debug log there seems to be some complaints about the .PGS subtitles. Could that affect the video when none are selected?

    I would greatly appreciate some help with this as I'm going mad trying to figure it out!

    It happens with the original file too. However, if the video is transcoded it works fine. This is only an issue when the video is not transcoded.
    « 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