• 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 General Questions Direct play issues

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Direct play issues

    Sora
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-30, 03:35 PM
    Hi,
    I'm new to jellyfin and I would like to understand something. When I stream from jellyfin most of the time it's using direct play. But the issue I have is that I can't skip forward when I'm direct playing, it just don't want to. I can only skip forward when transcoding. Most of my files are x264 mkv. Is there some parameters that I can change to make it work or it's just normal behavior ?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-30, 04:47 PM
    This problem is usually caused by a poorly muxed MKV file. Manually remuxing often solves the problem. No re-encoding required.

    What OS is the server running so I can provide a more specific ffmpeg command.
    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]
    Sora
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-30, 05:54 PM
    I'm using ubuntu 24.04 !
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-30, 06:30 PM
    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/path/to/video/mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv
    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]
    Maxdiken
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #5
    2024-12-01, 09:45 AM (This post was last modified: 2024-12-01, 01:42 PM by Maxdiken. Edited 3 times in total.)
    I have the exact same issue. I recently built a new server and my media was playing perfectly fine on my old build, just 1 week ago. I am not sure if the Jellyfin versions were the exact same on both systems. Everything runs very smoothly on Firefox where it basically transcodes all the time, but Microsoft Edge and Jellyfin Media Player are a huge mess because of direct playing. My currently server version is 10.10.3 and I am using the latest version for Jellyfin Media Player, even though this shouldn't be the source of the problem I am having issues when direct playing on Microsoft Edge as well.

    Edit: Forgot to mention that the media sometimes takes a minute to load and then runs just fine, sometimes less, sometimes it just won't. I am having a hard time figuring out a pattern.

    Edit2: After further testing, it seems that the media player is able to skip forward for small amounts only. If I tried to leap forward for more than 20 or so seconds, the cursor goes back to where it originally was. I tried playing some files on VLC through an SMB share on Windows and I didn't notice any playback issue whatsoever with this method.
    Maxdiken
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #6
    2024-12-01, 03:38 PM
    Good news, I have identified the source of the problem.
    Personally, I use Cloudflare tunnels to share my server outside of my local network (which I didn't before, I was reverse proxying with Caddy). When I logged into Jellyfin with my local IP, all the playback issues were gone.
    I am still trying to figure out how to make it work properly with Cloudflare, any pointer would be appreciated.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-12-01, 06:21 PM
    Using cloudflare's proxies or tunnels to serve video is against their TOS.
    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]
    wilberfan
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2023 Jun
    Reputation: 0
    #8
    2024-12-02, 03:04 AM (This post was last modified: 2024-12-02, 04:26 AM by wilberfan. Edited 1 time in total.)
    (2024-11-30, 04:47 PM)TheDreadPirate Wrote: This problem is usually caused by a poorly muxed MKV file.  Manually remuxing often solves the problem.  No re-encoding required.

    What OS is the server running so I can provide a more specific ffmpeg command.

    This newb is having the same issue, I think.  Often takes more than 30 seconds for the playback to begin.  My Jellyfin server is running under docker on my Synology NAS.  Can you provide a proper equivalent ffmpeg command for my situation?

    [edit]. What would be ideal is the ffmpeg command that would find all .mkv files in my /tv directory and all subdirectories, and convert them to .mp4, write them to the source directory, then delete the original.  Upside-down-face
    RostigerSpieler
    Offline

    Junior Member

    Posts: 34
    Threads: 7
    Joined: 2023 Sep
    Reputation: 0
    Country:Germany
    #9
    2024-12-02, 03:16 PM
    I agree with wilberfan's statement. It is better to convert the videos to mp4.

    I use the program “AnyMP4 Video Enhancement” for this.

    I use it to convert all my formats (mkv, flv, avi, mpg and m2ts to MP4 (x265). They then run without any problems. The program uses the graphics card for conversion. It is therefore very fast.
    Jellyfin: 10.10.7
    My Movie Server: Asrock A300 Desk Mini
    CPU: AMD Ryzen 5 3400G
    RAM: G.Skill RipJaws DDR4-3000 32GB
    System SSD: Intenso MI500 1TB NVMe
    Movie HDD: WD Elements 25A3 8TB
    Windows 11 Pro
    Sora
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #10
    2024-12-02, 11:25 PM
    (2024-12-02, 03:16 PM)RostigerSpieler Wrote: I agree with wilberfan's statement. It is better to convert the videos to mp4.

    I use the program “AnyMP4 Video Enhancement” for this.

    I use it to convert all my formats (mkv, flv, avi, mpg and m2ts to MP4 (x265). They then run without any problems. The program uses the graphics card for conversion. It is therefore very fast.

    But isn't there issues to use mp4 ? I mean when you convert to mp4 you loose image quality no ? (I'm new to this so sorry if it's incorrect or dumb)
    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