• 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 Micro stutters / single frame drops

    Pages (3): « Previous 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Micro stutters / single frame drops

    podonnell
    Offline

    Member

    Posts: 103
    Threads: 24
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #11
    2024-06-18, 08:36 PM
    (2024-06-18, 07:47 PM)TheDreadPirate Wrote: Let's try repackaging one of your files.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags genpts -i "/path/to/video.mkv" -map 0:v -map 0:a -map 0:s -map_chapters 0 -c:v copy -c:a copy -c:s copy outputFile.mkv

    This will copy the video/audio/subs unmodified into a new MKV container, new packet time stamps, etc.

    Alrighty, I ran that command on the same file I've been testing with and got outputFile.mkv, which loaded into Jellyfin library just fine. I played that, and went back to the maximum 4k - 120Mbps setting.
    I am experiencing the same dropped frames. Here is about 30 seconds worth of playing. Consistent drop of a single frame about every six seconds or so...

    [Image: image.png]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-06-18, 08:54 PM
    I don't recall you mentioning Jellyfin Media Player as a player you've tried.

    Since it seems only the audio is being transcoded a lot of the time, what I'm wondering if is the CPU usage from the audio transcode is causing some weird muxing issues.

    JMP should be able to direct play your videos.
    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]
    podonnell
    Offline

    Member

    Posts: 103
    Threads: 24
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #13
    2024-06-18, 09:21 PM
    (2024-06-18, 08:54 PM)TheDreadPirate Wrote: I don't recall you mentioning Jellyfin Media Player as a player you've tried.

    Since it seems only the audio is being transcoded a lot of the time, what I'm wondering if is the CPU usage from the audio transcode is causing some weird muxing issues.

    JMP should be able to direct play your videos.

    I do have that as well, haven't tried it.
    Just tried now, it seems the 'playback info' doesn't have dropped frames unfortunately.
    However, taking a look it does not appear to be dropping frames from what I can see.
    Does this media player do something different with audio transcribes?

    As a test, I went back to watching on the other player, and I kept the video running until the red bar in the "active devices" went all the way to the end, presumably finishing the transcode? After that finished, I did continue to drop frames. Would this mean its not the audio transcode causing it? 

    You may be on to something with the JMP, any way I can confirm no drops there?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #14
    2024-06-18, 09:22 PM (This post was last modified: 2024-06-18, 09:32 PM by Efficient_Good_5784. Edited 3 times in total.)
    @TheDreadPirate, OP states this issue also happens on MPV Shim some posts ago, which should be the same player in JMP.

    I wonder if the container is also being changed since the playback info states "Direct streaming". Maybe that's caused by the audio being transcoded.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #15
    2024-06-18, 09:27 PM (This post was last modified: 2024-06-18, 09:32 PM by Efficient_Good_5784. Edited 1 time in total.)
    @podonnell, do you have any of the settings at the bottom of the dashboard's transcoding settings page enabled? Specifically the "Throttle Transcodes" or "Delete segments" settings?

    Also, what are the specs of your Jellyfin server?
    podonnell
    Offline

    Member

    Posts: 103
    Threads: 24
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #16
    2024-06-18, 09:35 PM (This post was last modified: 2024-06-18, 09:36 PM by podonnell. Edited 1 time in total.)
    (2024-06-18, 09:22 PM)Efficient_Good_5784 Wrote: @TheDreadPirate, OP states this issue also happens on MPV Shim some posts ago, which should be the same player in JMP.

    I wonder if the container is also being changed since the playback info states "Direct streaming". Maybe that's caused by the audio being transcoded.

    What are the specs of your Jellyfin server?

    My apologies, I just tried with MPV Shim and it matches the experience on the Jellyfin Media Player -- and better -- this one has the stats showing, no dropped frames.
    I am troubleshooting a few issues so I may have mistaken that I used this for the dropped frames testing previously. Or I might have enabled it and foolishly watched it in my browser without realizing I didn't enable the cast.

    Hopefully knowing that these two players are good may give us some info as to why?

    I did just confirm this in the dashboard while using Shim
    > The source file is entirely compatible with this client and the session is receiving the file without modifications.

    Regarding my settings, from top to bottom I have enabled in Transcoding:

    Type: VAAPI
    Enable decoding for: H264
    Enable hardware encoding

    "Throttle Transcodes" and "Delete segments" are both off.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #17
    2024-06-18, 09:38 PM
    What CPU, GPU, and OS is your server running?
    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]
    podonnell
    Offline

    Member

    Posts: 103
    Threads: 24
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #18
    2024-06-18, 09:40 PM
    (2024-06-18, 09:38 PM)TheDreadPirate Wrote: What CPU, GPU, and OS is your server running?

    i7 - 4790k CPU
    Geforce 570 GPU
    Windows 10
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #19
    2024-06-18, 09:41 PM
    (2024-06-18, 09:35 PM)podonnell Wrote: Hopefully knowing that these two players are good may give us some info as to why?

    I did just confirm this in the dashboard while using Shim
    > The source file is entirely compatible with this client and the session is receiving the file without modifications.
    The issue appears now to be that something in the conversion of your file as it's delivered to the clients causes the stutter.
    JMP and MPV Shim both don't have the issue because they can handle direct playing all of the file, they both can receive the file 1:1 without any modifications.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #20
    2024-06-18, 09:53 PM (This post was last modified: 2024-06-18, 09:56 PM by Efficient_Good_5784. Edited 1 time in total.)
    (2024-06-18, 09:40 PM)podonnell Wrote:
    (2024-06-18, 09:38 PM)TheDreadPirate Wrote: What CPU, GPU, and OS is your server running?

    i7 - 4790k CPU
    Geforce 570 GPU
    Windows 10
    Maybe the CPU is a bit old for handling a conversion of a BD Remux with special audio. Especially HEVC video (though I don't think that should matter here much since the HEVC is being passed directly).

    And a side note. Are you using the CPU's iGPU or the Geforce 570 for HWA in Jellyfin?
    Why have both if Jellyfin can only use one at a time?
    Pages (3): « Previous 1 2 3 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