• 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 Split Files Crashing Player

     
    • 0 Vote(s) - 0 Average

    Split Files Crashing Player

    .mkv files split with MKVToolNix are crashing the player
    FactoriedMyAuth
    Offline

    Junior Member

    Posts: 30
    Threads: 5
    Joined: 2024 Apr
    Reputation: 1
    #1
    2024-06-05, 05:13 AM (This post was last modified: 2024-06-05, 05:14 AM by FactoriedMyAuth. Edited 1 time in total.)
    I found a Magilla Gorilla DVD at the store and picked it up to add to my server. Each episode of the show is actually an episode from 3 separate shows (Magilla Gorilla, Ricochet Rabbit & Droop-a-Long, and Punkin' Puss & Mushmouse ... in that order). 

    TVDB has the episodes split out for each show, so I just used MKVToolNix to split the episodes on each chapter. That split apart each show's respective episodes. 

    When I play any of the Magilla Gorilla episodes (the first episode of the split, main file starting at timestamp 00:00:00), Jellyfin plays the files just fine. If I try to play any of the other split files, I sometimes get a couple frames of video followed by a popup that says "Playback failed due to fatal player error".

    I grabbed some of the ffmpeg logs and it looks like it freaks out right in the first frame. The odd thing is VLC and Windows Media Player have no issues with the files at all. I have attached a set of the ffmpeg logs if someone could take a look.


    Attached Files
    .txt   TranscodeLog3.txt (Size: 9.14 KB / Downloads: 66)
    .txt   TranscodeLog2.txt (Size: 9.14 KB / Downloads: 64)
    .txt   TranscodeLog1.txt (Size: 9.14 KB / Downloads: 49)
    FactoriedMyAuth
    Offline

    Junior Member

    Posts: 30
    Threads: 5
    Joined: 2024 Apr
    Reputation: 1
    #2
    2024-06-05, 11:41 AM
    After doing more searching, it seems this exact was an issue someone reported in the Emby community as well (https://emby.media/community/index.php?/...mkv-files/). The report is almost exactly what I have here. So, it seems that there is something going on with the MKVToolNix splitting that is just tripping up ffmpeg. I am going to keep looking for a solution. Maybe there is a setting in MKVToolNix that will perform the split and not freak out ffmpeg. I am hesitant to use another tool because I finally have solid batch scripts working for MKVToolNix and would rather not have to move to something else.

    For those who are curious, I have seen this on DVD and Blu Ray. The Sailor Moon anime series is a good example of this. Each Blu-ray has 5-7 episodes on it. Rather than have all of the episodes split into individual titles, the publisher crammed all of the episodes together as a single title and uses the chapter markers to separate them. For something like Gumby, there was a single title with all of the episodes strung together but there was also each episode broke out into its own title. In a case like that, I always rip the individual titles.
    FactoriedMyAuth
    Offline

    Junior Member

    Posts: 30
    Threads: 5
    Joined: 2024 Apr
    Reputation: 1
    #3
    2024-06-05, 01:29 PM (This post was last modified: 2024-06-05, 01:31 PM by FactoriedMyAuth. Edited 1 time in total.)
    Doing some more searching, I am narrowing down the issue. I downloaded the Jellyfin Media Player client for my Windows machine. I pointed it to my Jellyfin server and started to play the videos that were breaking before. The videos played just fine. When I grabbed playback info in JMP, it reported:
     
    • Playback Info
      • Player: MPV Video Player
      • Play method: Direct playing
      • Protocol: http
      • Stream type: Video
    • Original Media Info
      • Container: mkv
      • Size: 237.3 MiB
      • Bitrate: 5.1 Mbps
      • Video codec: MPEG2VIDEO Main
      • Video bitrate: 4.9 Mbps
      • Video range type: SDR
      • Audio codec: AC3
      • Audio bitrate: 192 kbps
      • Audio channels: 1
      • Audio sample rate: 48000 Hz
     
    This info also looked the same for the split files that worked (the first file generated of the 3 generated in the spit). I decided to look at the split video that actually played in the browser player and got this:
    • Playback Info
      • Player: Html Video Player
      • Play method: Transcoding
      • Protocol: http
      • Stream type: HLS
    • Video Info
      • Player dimensions: 1200x1751
      • Video resolution: 720x540
      • Dropped frames:0
      • Corrupted frames: 0
    • Transcoding Info
      • Video codec: HEVC
      • Audio codec: AAC
      • Audio channels: 1
      • Bitrate: 8.1 Mbps
      • Reason for transcoding:
        • The container is not supported
        • The video codec is not supported
        • The audio codec is not supported
    • Original Media Info
      • Container: mkv
      • Size: 227.1 MiB
      • Bitrate: 4.7 Mbps
      • Video codec: MPEG2VIDEO Main
      • Video bitrate: 8.0 Mbps
      • Video range type: SDR
      • Audio codec: AC3
      • Audio bitrate: 192 kbps
      • Audio channels: 1
      • Audio sample rate: 48000 Hz
     
    So, obviously there is a transcode error that is crashing the player, but it is strange that it is reporting the container is not supported, along with video and audio. As a final test, I took one of the files that had not been split and ran it thru. As before, JMP did direct streaming and the web player transcoded (successfully). I am not sure why the web player has to transcode when the media player doesn't have to, but that doesn't seem that important. The fact that the web player happily transcodes the base file and the first part of the split file, but not the subsequent splits is what is throwing me. I'll do a little more digging on lunch break. Hopefully this rabbit-hole will help seed the forum for others running into this problem.

    I should mention my Jellyfin version for Server, Web, and Build are all 10.9.3.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-05, 02:03 PM (This post was last modified: 2024-06-05, 02:06 PM by TheDreadPirate. Edited 1 time in total.)
    I'd say about 50% of my rips, either DVD or Bluray, have all the episodes in a single file. I've only used MKVToolNix to merge files (2 DVD LotR Directors Cut).

    You can use Handbrake to split by chapter, but Handbrake doesn't have an option to do that without re-encoding. But FFMPEG does allow for splitting on timestamps, not on chapter, without re-encoding (this is what I use).

    I don't know enough about codecs to say for certain, but MKVToolNix is doing something to break the files.
    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]
    FactoriedMyAuth
    Offline

    Junior Member

    Posts: 30
    Threads: 5
    Joined: 2024 Apr
    Reputation: 1
    #5
    2024-06-05, 03:09 PM (This post was last modified: 2024-06-05, 03:10 PM by FactoriedMyAuth. Edited 1 time in total.)
    Maybe I'll grab the timestamps of the chapters I want to split and then use FFMPEG to do the splits on those timestamps. It's just a lot more work than I want to do. A lot of my cartoons are already at a quality disadvantage, coming from DVD, so I am trying to keep re-encoding to a minimum.

    Do you have a suggestion for a good FFMPEG GUI tool? I can do it with command line, but it's just really tedious.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-06-05, 04:12 PM
    Handbrake is a ffmpeg GUI tool...

    I'm not aware of any others.

    As long as you use good encoding settings, there will be little or no quality loss and massive space savings.

    ffmpeg is a bear to learn.
    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]
    « 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