VideoHelp.com Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Member
    Join Date: Dec 2004
    Location: United States
    I have an mkv file and I need the subtitles to be hardcoded. I found a writeup to use virtualdubmod with a subtitler plugin to do this, but whenever I open the mkv file in virtualdubmod I get an error after a few seconds. I have tried on a coupler other computers and get the same error every time I open the file. Is there any other way to do this? I have the subs in an srt file and also converted them to an ssa file, I am completely out of ideas of how to re-encode the movie with the subs hardcoded though. Any help is appreciated!
    Quote Quote  

  2. Member
    Join Date: Dec 2005
    Location: none
    VirtualDubMod's MKV support is outdated. Try using AviSynth and DirectShowSource() instead.
    Quote Quote  

  3. Member
    Join Date: Aug 2009
    Location: Asia
    What are you eventually intending to play the hardcoded file on?

    There are a few converter programs that will hardsub SRT and SSA/ASS subs onto videos, I believe. Maybe Xvid4PSP will work for you.

    The other, more manual method is to use Avisynth as jagabo mentioned. The basic procedure is:

    1) Install Avisynth.
    2) Install MKVextract.
    3) Install VSfilter (or locate the copy that you have already; it comes with many codec packs).
    4) Create an Avisynth script that overlays the subs on the video.
    5) Use a converter program to open the script (which acts like a video source) and encode it in whatever format you choose.
    Quote Quote  

  4. Member
    Join Date: Dec 2004
    Location: United States
    This will eventually be played on my Vista media center PC hooked up to the living room TV.

    I have installed all of the programs that you listed, but I'm not sure how to create a script and do steps 4 and 5. Any convenient write-ups to do this? Thanks
    Quote Quote  

  5. Member
    Join Date: Sep 2007
    Location: Canada
    xvid4psp will probably be easier for you, but here is the manual method

    Install haali media splitter, ffdshow, avisynth

    Open up a text file in notepad in the same directory as your video, and type the following, changing the names to match. Save it, then change the extension from .txt to .avs

    DirectShowSource("video.mkv")
    TextSub("video.srt")

    Feed that .avs script into any encoder that accepts avs scripts. I'm not sure what format you want for your media center
    Quote Quote  

  6. Member
    Join Date: Aug 2009
    Location: Asia
    Here's a more detailed guide: http://forums.animesuki.com/showthre...499#post950499. It uses PS3 Video 9 to do the final encoding, but you can use any encoder that accepts AVS scripts.

    But really, if you're going to be playing it on a *media center PC*, why do you even need to hardsub? Hardsubbing is for standalone players that don't support softsubs. Doesn't your Media Center support them?

    Hardsubbing damages video quality so you should avoid it if at all possible.
    Quote Quote  

  7. Member
    Join Date: Dec 2004
    Location: United States
    The PC does support subs, but it is a pain to use them from within media center and it cannot be controlled in there from the remote. I tried setting the mkv subtitles track to "forced on" with mkvtools but it still won't display.
    Quote Quote  

  8. Member
    Join Date: Aug 2009
    Location: Asia
    Originally Posted by jagojon3
    The PC does support subs, but it is a pain to use them from within media center and it cannot be controlled in there from the remote. I tried setting the mkv subtitles track to "forced on" with mkvtools but it still won't display.
    Have you installed DirectVobSub/vsfilter? You need that to display subtitles. If you have it already, try opening its configuration window and choose "Always auto-load".

    This looks like it'll also help solve your problem with VMC's navigation:
    Media Control is a plugin for Microsoft Media Center that adds lacking features such as : fast forward/rewind for any video format, resume video, switch between audio/subtitles streams, sets brightness/contrast, improves picture quality...

    The plugin is built on the top of an open source decoder : FFDShow Tryouts.
    I'd suggest looking at an alternative like MediaPortal in the future, which doesn't lack those features AFAIK.
    Quote Quote  

  9. Member
    Join Date: Dec 2004
    Location: United States
    I've looked into media control previously, doesn't work for my setup. I do have directvobsub installed.
    Quote Quote  

  10. Member
    Join Date: Aug 2009
    Location: Asia
    And you've enabled Always Auto-load in DirectVobSub configuration?
    Quote Quote  

  11. Member
    Join Date: Dec 2004
    Location: United States
    Originally Posted by creamyhorror
    And you've enabled Always Auto-load in DirectVobSub configuration?
    Yes
    Quote Quote  

  12. Greetings Supreme2k's Avatar
    Join Date: Feb 2003
    Location: Right Here, Right Now
    Start by using "someone" instead of stupid-speak, and STOP YELLING.
    Quote Quote  




Similar Threads

  1. Replies: 5
    Last Post: 1st Dec 2011, 12:02
  2. Replies: 3
    Last Post: 2nd Jun 2011, 23:28
  3. How do i hardcode SUB to a MKV file
    By tjgrindsted in forum Blu-ray Ripping
    Replies: 10
    Last Post: 21st Jun 2010, 11:38
  4. Hardcode subtitles into a MP4\MKV file
    By uncivil002 in forum Subtitle
    Replies: 10
    Last Post: 10th Jan 2010, 21:16
  5. How to hardcode subs in .MKV
    By CERO in forum Newbie / General discussions
    Replies: 5
    Last Post: 2nd Aug 2009, 10:21
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools