Custom Search
| Translate | Print | A | A | A |

HOWTO: hardsub your files

TOOLS USED
==========
1. Easy RealMedia Producer 1.94 (thanks to Tekoo for uploading)
   http://www.megaupload.com/?d=0OUW6PBV

   -> I only use ERMP for realmedia but feel free to try these using other
      frontend apps. Obviously, you wont be using this if your target is
      another container besides RM/RMVB.

2. Avisynth 2.5.x
   http://sourceforge.net/project/showfiles.php?group_id=57023

3. VSFilter 2.37
   http://sourceforge.net/project/showfiles.php?group_id=82303&package_id=84359

   -> Will contain 2 folders: if your OS supports Unicode (XP/NT/2k), you may
      use that one. If you're unsure, use the file in the 'Release' folder.
      You may need to register the file manually via the regsvr32 command.
      Though this might be a minor inconvenience to some so you can download
      the one with installer below.

   - or -

   http://www.videohelp.com/tools/VSFilter_DirectVobSub

NOTE
====
If you got an advanced subtitle format (NOT .SRT but .ASS, SSA, etc.) and you
want to preserve the font styles, you need to have the exact font/s (.ttf or
TrueType Font) used copied in your 'fonts' folder (e.g. C:\WINDOWS\Fonts). Note
that their filenames are irrelevant; They can be named 'cool.ttf' but could just
be Arial, but wouldnt make much sense since Arial is a regular font.

STEPS
=====
A. Using your encoder directly:

  Simply rename all relevant files to a common filename:

  filename.avi
  filename.srt

  Open filename.avi in ERMP (or what you use) and encode. The output should
  be hardsubbed. But if it doesnt, it might be because of what decoder is used
  to decode what filetype. I dont have a list handy so you might try the next
  method instead, w/c is better.

B. Using Avisynth:

  IMHO, this method is better because it's more flexible and supported by most
  programs, as long as they, in turn, can open Avisynth scripts (.avs)

  1. After you got the right programs installed, make a new file with a .AVS
     extension. Now open/edit it with notepad, or better yet, any of these two:

     AvsP
     http://avisynth.org/qwerpoi/

     AVSEdit
     http://sourceforge.net/project/showfiles.php?group_id=57023&package_id=107927

  2. Type-in the following:

    -> If you have VSFilter.dll copied in the 'plugins' directory of Avisynth
       (e.g. C:\Program Files\AviSynth 2.5\plugins), you can skip the LoadPlugin
       lines below -

    LoadPlugin("C:\path\to\VSFilter.dll")
    AVISource("C:\path\to\filename.avi")
    TextSub("C:\path\to\filename.srt")

    -> Letter cases of function names dont really matter.

    Or, say if you also have external audio as well, you'd do:

    LoadPlugin("C:\path\to\VSFilter.dll")
    AVISource("C:\path\to\filename.avi")
    AudioDub(last, DirectShowSource("C:\path\to\filename.mp3"))
    TextSub("C:\path\to\filename.srt")

    -> If you have a WAV source, replace DirectShowSource() with WAVSource()
    -> If you cant open the video at all using AVISource(), you may need to use
       DirectShowSource() instead, again, because of decoder issues.

  3. Save this .avs file you created and open it in ERMP, virtualdubmod, etc.
     and encode. The output should be hardsubbed.

C. Adding external subs to existing RMVBs

  This doesnt really hardsub your RMVBs since the subs arent really burnt-in with
  the video but rather added as a separate stream. Do this only if you want to
  add external subs to your existing RMVBs BUT you dont want to do another
  encoding AND you dont want to work with MKV.

  Download this:

  RMVB SubtitleMuxer 1.0 (thanks to Dark-Cracker of Doom9)
  http://www.mediafire.com/?eznvgtggmlj

  The program should be straightforward enough to use.

  Again, this will only embed the subtitle and not really hardsub them, so an
  extra step is required to play them back correctly or you WILL get complaints
  as the default setting of VSFilter/DirectVobSub only loads embedded subtitles
  on demand. There are 2 ways to do this but this one is simpler -

  Just import the file vsfilter.reg that comes with the RAR and that's it.

HTH.

// reeky [ http://reeeeeky.blogspot.com ]