VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. I have a set of MKV files that only play correctly if they're in all in the same folder. As best I can tell the intro/credits are a separate file from the main episode that somehow gets called when the right time shows up, then control is returned to the main episode after they finish playing. So everything works fine if both the episode and credits are in the same directory, but if I pull just the episode .mkv out of the folder the file will play up to where the credits should go and then just keep going. Extracting everything out from the mkv files I can see that the avc video file is indeed just the episode (i.e. no credits, smooth transition where credits would go).

    My question is how do I (easily) get the credits and episode into a single mkv file that doesn't require any external files or being in a specific folder to work.
    Quote Quote  
  2. It's a feature of MKV that I don't think is often used, probably because the credits change from episode to episode much of the time.

    Segment linking can be used to link multiple MKV files so they can play as a single file, and ordered chapters can reference any of the segments, so I think what's happening is you play the MKV containing the episode from a different location, the ordered chapter tells it to play the credits from another segment at the appropriate time, but as the segment isn't found it just keeps going.

    You can try splitting the "episode" MKV at the point where the credits should be, then appending the first slit episode segment, the credits MKV, and the second split episode segment, and remuxing as a single MKV. Hopefully you'll be able to split at the correct point (you can only split with MKVToolNixGUI on key-frames) and hopefully they'll append correctly. If different encoder settings were used for each segment, MKVToolNixGUI should warn you to check the new MKV plays correctly. The audio would also have to match. I assume while you're creating the new MKV you'll need to remove the ordered chapters, or edit them, and it'd probably pay to remove the existing segment IDs, if MKVToolNixGUI doesn't do it automatically when remuxing a new MKV.

    By the way, which player are you using? I don't have a need for them so I don't really know, but I didn't think MKV segments were commonly supported by media players.
    Quote Quote  
  3. Originally Posted by hello_hello View Post
    By the way, which player are you using? I don't have a need for them so I don't really know, but I didn't think MKV segments were commonly supported by media players.
    I typically use PotPlayer, but when I was investigating both VLC and the preview tool QuickLook also linked everything together.

    But thanks for the response. Sounds like there's no real way to do this automatically, I just have to go in manually and split the files then remux everything together.
    Quote Quote  
  4. There have been attempts to make this "unordering" of Matroska files with ordered chapters and file linking simple.

    https://github.com/hilts-vaughan/UnlinkMKV-GUI
    https://github.com/gnoling/UnlinkMKV
    Quote Quote  
  5. Originally Posted by sneaker View Post
    There have been attempts to make this "unordering" of Matroska files with ordered chapters and file linking simple.

    https://github.com/hilts-vaughan/UnlinkMKV-GUI
    https://github.com/gnoling/UnlinkMKV
    Ah, that looks interesting. Good find. Thanks for letting me know.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!