Help with burning .mkv files with soft coded subs

Discussion in 'Subtitle help' started by furball66, Sep 5, 2008.

  1. furball66

    furball66 Member

    Joined:
    Sep 5, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    I have quite a few x264 .MKV files. Mostly of anime and I want to burn them to DVDs. The only problem I have is I dont know of any way to burn the soft coded subs along with the file itself. I can always try and find a subtitle file but I thought it would be easier to use the ones already in there. Is there a way to burn the soft coded subs along with the movie or do I have to get a seperate sub file for the video?
     
  2. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    If you're planning on making a DVD, you'll have to demux your subtitle stream and convert it to .sup. Generally, you won't be able to do this with anything except .srt subtitles.

    Once you've got them in .sup format, then you can use ReJig to add the subs into the DVD movie.

    Or, if you want, you can hardsub the subs into the original video, re-encode, THEN go about the DVD conversion. (I'm assuming that since they're anime, you'll be keeping the subs on, anyway.)
     
  3. furball66

    furball66 Member

    Joined:
    Sep 5, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    Is there a way to hardcode the existing soft subs into the file or do I need to hunt down the subttles files for it? Thank you very much for responding by the way.
     
  4. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    Well, you'll need a few programs:

    - mkvtoolnix
    - MKVExtractGUI (place the .exe file in the same folder as mkvtoolnix)
    - MeGUI
    - AviSynth
    - a copy of the file "vsfilter.dll" (It should come with AviSynth, but it might not)

    Install the programs, then demux the .mkv into its elementary streams using MKVExtract.

    From here, let me know what your video, audio, and subtitle streams are, and I'll help you with the hardsubbing process.
     
  5. Snytbagge

    Snytbagge Member

    Joined:
    May 20, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    Thank you for this thread! I'm in the exact same situation as furball66, so maybe you can help me and we both will profit from this :)

    The file list I got was:
    [​IMG]
     
  6. furball66

    furball66 Member

    Joined:
    Sep 5, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    Actually I was reading another thread on here where someone said that ConvertXToDVD would do it and when I loaded the file into it sure enough it picks up on the soft subs and lets me choose which streams I want to keep. That is exactly what I wanted to be able to do and it does it all in an easy format. No demuxing required. And best part of all is they are not hard coded. I simply select subtitles on my DVD remote and then select the stream I want. Thanks for all your help though everyone. I know you can do it the hard way by demuxing and what not but this is exactly what I was looking for. An easy way to do it all in one program.
     
  7. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    Oh, yeah. Duh me. Should've remembered that. OK, well, if that works, then kudos to you.

    Sorry I couldn't help out more.
     
  8. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    Anyway, to Synth, your .ass subtitle won't be able to be burned to DVD using ConvertXtoDVD.

    You have two options, mainly:

    1.) Hardsub the .ass into the .avi file and re-encode.

    2.) If your .ass consists of just dialog (no karaoke, no special effects, no highlighting, etc.), then you can convert the .ass to .srt using any subtitle editing program (Subtitle Workshop or Subtitle Processor work fine) and use ConvertXtoDVD then.

    The first step involves a lengthy and lossy method, though, so I'll explain it in brief detail and move onto the second step.

    1.)

    - Re-encode the video with the subtitle hardsubbed.
    - Remux the new video and the two audio files.
    - Use ConvertXtoDVD (or any program of the like) to convert your .mkv file to DVD.

    2.)

    - Open Subtitle Workshop (or Subtitle Processor, or whatever).
    - Open your .ass subtitles.
    - Save your subtitles as an .srt file.
    - Remux the video, audio files, and the .srt file.
    - Use ConvertXtoDVD (or any other program of the like) to convert your .mkv file to DVD.

    This second method should allow you to turn on and off your subtitles at will.

    However, having never used ConvertXtoDVD, I'm not sure about its compatibility with .mkv files. It might not allow you to input both audio files, it might not read your .mkv file, it might do a bunch of things. The subtitles might not show up. They might not even be the right size. If it works out, though, then cool beans.

    Good luck.
     
  9. furball66

    furball66 Member

    Joined:
    Sep 5, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    Thanks for all your help man. your explanations have been very thorough and helpful. Its nice to know how to do it the hard way in case I run across something CXtoDVD wont handle which I am sure is going to happen eventually.
     
  10. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    Looking at its capabilities, I think the biggest problem you'll have is if/when you have to burn .ass subs. The ones it can handle, .srt, .sub, and .ssa, are all simple text subs, which is why they can be handled pretty easily.

    But until you do, then ConvertXtoDVD should suffice.
     
  11. Snytbagge

    Snytbagge Member

    Joined:
    May 20, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    Unfortunately the subtitles do contain karaoke and other fancy effects :p

    I already know of ConvertXtoDVD, and it picks up the subtitles and audio tracks, but the subtitles look like crap :p

    So a brief guide to hardsubbing the subs would be great. I figured out how to remux the video, but maybe you could include that part too for other people's sake

    Anyway, thank you for all your help!
     
  12. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    Chances are that anybody that's got problems will just skip the "Search for something first" step and start another thread... because people are stupid like that, but sure, why not.

    1.) Download AviSynth and MeGUI.

    2.) Open Notepad and write the following:

    AviSource("C:/...path.../yourvideo.avi")
    LoadPlugin("C:/...path.../vsfilter.dll")
    TextSub("C:/...path.../yoursubtitles.ass")

    Depending on what your source video is, you might have to use a different source code(?).

    For example, if you're working with an .mpeg file, instead of AviSource, you'd use MpegSource.

    Almost all .mkv files can be encoded using the DirectShowSource code, but I tend not to, because in my experience, the encoding time is nearly twice as long as if I just use the video stream.

    3.) Choose "Save As" and MAKE SURE your the file type is listed as "All files." Save your script as something like "mymovie.avs". That .avs is the important part.

    4.) Open MeGUI and load your .avs script.

    5.) Encode the video, and the output should be a video (just video, no sound) that has the subtitles hardsubbed into it.

    6.) Remux the new video with the audio. You might not need this step.

    7.) Convert it to DVD using whatever tool you like.
     
  13. Snytbagge

    Snytbagge Member

    Joined:
    May 20, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    Thank you! The guide worked perfectly, I can now finally hardcode the subs. However, when I extract the files the video gets out of sync. The thing is, I can't figure out what I'm doing wrong. There is nothing wrong with how I hardcode the subs, since the problem appears before that. If I compare the length of the videos, the original is 00:25:02 @ 29.97fps, and the demuxed video is 00:24:44 @ 29.97fps. Obviously something is wrong in the demuxing process, but I can't figure out what :/
     
    Last edited: Sep 11, 2008
  14. KajNrig

    KajNrig Regular member

    Joined:
    Oct 28, 2005
    Messages:
    1,457
    Likes Received:
    0
    Trophy Points:
    46
    Huh... I'm not sure about that. I've never heard of that happening... I'm stuck for the moment.
     

Share This Page