Extracting subtitle files from .MKV file

Discussion in 'MacBook Pro' started by grantwolsey, Oct 13, 2010.

  1. grantwolsey macrumors member

    grantwolsey

    Joined:
    Sep 14, 2010
    #1
    I'm trying to rip my blu-ray library with MakeMKV and convert it with Handbrake (which is the best option I've come across for a mac user like myself) but when it comes to extracting .srt files from the resulting .mkv file I come to a brick wall. When I've thought I successfully extracted them using MKVTools (the only way I'm aware of on a mac) I can't find them anywhere on my computer, thus I can't utilize the "add external .srt" option in Handbrake. Can someone please help me with a way to extract subtitle files from an .mkv file on a mac? Thank you.
     
  2. emmgunn macrumors member

    Joined:
    Jul 7, 2008
    #2
    Hi Grant,
    MKVtools uses mkvextract to extract tracks from mkv files. If there is no output file, then there was some error during processing. If you check the "keep temporary files" in the preference window, you should see the the log file created by mkvextract during the attempted extraction. That's where you'll find any messages that hint at what happened.

    MKVtools uses and older version of mkvextract so that could be an issue. Also, I'm finding that videos created by makeMKV at times will have track codecs that you don't typically find in mkv files, and MKVtools doesn't identify them porperly. I'm working on fixing that issue.
     
  3. grantwolsey thread starter macrumors member

    grantwolsey

    Joined:
    Sep 14, 2010
    #3
    Thanks for the tip emmgunn...I set my output file to my movies folder then looked at the logs and it just said:


    "Error: Extraction of track number 5 with the CodecID 'S_HDMV/PGS' is not supported."

    I'm just trying to add the forced subtitles (foreign language subs turned on by default on my disc) from my Iron Man blu-ray rip to the Handbrake encode of the same. I know there has to be some way to do this; anything I could be doing I'm not? Thank you
     
  4. emmgunn macrumors member

    Joined:
    Jul 7, 2008
    #4
    Not much you can do with this version of MKVtools. The problem is the subtitle format. The MKVtools uses an old version of mkvextract to do its video extraction from mkv files. There has never been a reason to upgrade, but I'll have to take a look at whether or not upgrading will fix this issue. The vc-1 video codec, which is also showing up in makeMKV files, is bit more problematic.
     
  5. emmgunn macrumors member

    Joined:
    Jul 7, 2008
    #5
    Just and update for you. MKVtools 2.4.2 is now available and includes some new binaries that should better process typical makeMKV videos which contain VC-1 video tracks (can now re-encode) and PGS subtitles (can now extract as .sup file). Note you still can't burn these subtitles or convert to something like .srt subtitles. You'll have to do that manually for now.

    Normally, with new binaries, I would have released this as a beta, but there was a strong interest in theses improvements. Hopefully the new binaries didn't break anything :).
     
  6. grantwolsey thread starter macrumors member

    grantwolsey

    Joined:
    Sep 14, 2010
    #6
    That's awesome! Thanks. So now I can extract the subs and convert them to .sup's... I think I can find a way to make them .srt's from there.
     

Share This Page