How to hardsub/encode

To try to make it look like the above picture….^^  Can get away with smaller fonts if it’s HQ…but want a bit larger fonts if it’s LQ…

Most commonly used program seems to be Virtual Dub. 

The subtitles are put on as a filter…  For example…

  • Textsub.vdf (I think this comes with Virtual Dub as default.  Or it may have been part of the Vobsub package I downloaded… Apparantly it’s really old and not as good as some of the newer ones, although it seemed to have been good enough for my use so far..)

1.  Download the program….   

2.  Open Virtual Dub.   File->Open Video File.

3.  Set compression.   I like XVid compression.   It seems to work well…  Divx is not too bad either.   If you don’t compress, you may end up with a 10 minute clip that’s 10 gigabytes…so definitely do recommend compression.    To do this, Video->Compression->scroll down to Xvid.

4.  Filter for subtitles:   Video->Filters->Add->scroll downl to textsub.  It’ll give you a small new window where you can choose your softsub file…and the click ok.  

(Edit:  If you have the newer versions of virtual dub, you may not have textsub as part of the package.  You can download textsub.vdf from: into your plugin folder within your virtual dub folder.   Then follow the above instructions.  It’ll show up as TextSub 2.23 in the list.)

5.  Aspect ratio:  

If your video is wrong aspect ratio (ie.  widescreen when it shouldn’t be), go back to Video->Filters->Add->resize->put in the right aspect ratio. 

Generally, widescreen has aspect ratio of 16:9  (eg.  640 x 352 pixels). 

TV screens are usually 4:3 (320 x 240 or 480 x 360 or 640 x 480 or 720 x 540 pixels)

6.   An easier way to change the aspect ratio without squishing subtitles…^^;;;;   Do step 5 (resizing the video) before step 4 (putting on the subs).  ^^;;;;;;  Still experiemnting with this program…

6.  If you’re changing the aspect ratio, your subtitles may get squished as well so that the letters are too narrow or too broad.   You can change the softsub before you do all the above so that it doesn’t happen…

You can do it easily with Aegisubs.    

For example, if your raw is widescreen but you want to encode as 4:3 ratio with normal looking subs….

 If you use Aegisubs, open the video file….Add subtitles…and then, Video->Override Aspect ratio->4:3.  This will make the subs look squished but your vid will be the right aspect ratio.   Then go to:  Subtitles->Resample Resolution->click on “From Video“… and this will fix the subs so that they’re not squished looking. 


Another way to do it is just to open it in wordpad and change a few things manually…


This is if you don’t have to change aspect ratio…

Style: Default,Serifa BT,22,&H00333300,&H00FFFFCC,&H00FFFFCC,&H00FFFFCC,-1,0,0,0,100,100,0,0.00,1,3,0,2,20,20,20,1


This is once it’s been changed.  Everything is a little wider. 

Style: Default,Serifa BT,27,&H00333300,&H00FFFFCC,&H00FFFFCC,&H00FFFFCC,-1,0,0,0,136.363636,100,0,0,1,3.666667,0,2,33,33,24,1


27 thoughts on “How to hardsub/encode

  1. how to put the caption’s subtitle?
    what i mean is : there’re some captions in a video, how to put the sub over the caption, so the sub will not cover the caption.thanks ^^

  2. waa…its my 1st time hardsubbing..n i learn a lot from u..thanks. u re d best!!
    kya~ i can be pro!
    thanks 4 sharing ^.^

  3. hhmmm hi muish, i couldnt find textsub.. and when i want to load it to plugins, its error because the specific location not detected (?) huhuhu.. ='(

  4. OMG muish thank you soooooooo much you are a life saver your instructions are the best! thankyou thankyou thankyou! also THANKS ALOT for subbing all that we got married episodes! you are the BEST ^0^.

  5. hi muish
    my problem are actually as the same as [hirza117] & the other is about the ctmp3.acm thing.
    about the ctmp3.acm thing, i’ve try to search it in my system32 but i couldnt find it – AT ALL..
    so, do you have any suggestion on how to resolve this matter cause whenever i encode sth it’ll end up = LIVELOCK..
    i hope you have advice to solve the non-existing 1. xvid & 2. ctmp3.acm
    this is m contact []

    1. oo muish it’s ok..
      ^,^ i’ve found the solutions..
      thanks so much for your subbing guides cus it help me to learn step by step..

  6. haha…finally, i able to hardsub..
    but stil not that perfect, ill improve in doing it later
    thx a lot muish 4 ur guidance ^____^

  7. hi Muish!!!

    i would like to thank you for giving the great instructions!! U see after i put the text.vdf file in the plugins in the Virtual Dub’s folder. Something appear, it says i don’t have Vobsub? where can i download that?? please help me.. really appreciate your help..

  8. Hi. I am not sure if you are gonna reply but I have a question. When I use VirtualDub and I encode the file with subtitles the file would become like a big number of GB but it was a MB. How do I fix that?

  9. Hi Muish!!!
    Firstly,I wanna thank you for giving really good instruction of how to hardsubbing.
    I followed your instruction and somehow I succeeded hardsubbing my first video. However when I started hardsubbing another one, I keep getting some error. The message said: The source image format is not acceptable (error-2).Well I have no idea what it is T___T. So please can you help me? I really appreciate your help ^^

  10. Thanks for the info!
    I was wondering, like how make the vid file smaller, cuz when the program finishes encoding I get some kind of 600mb file when the original file was like 200 n_n?

  11. @ Muish

    Oops I meant Windows Movie Maker. sorry. Can Vobsub work on Windows Movie Maker. If so, could you please explain how.

    I can’t explain how Virtual Dub doesn’t save… it downloads but something pops up and it says to purchase it for like $22 a month… and I’m broke. :( so I don’t have strength to purchase it for that much. Is that how it supposed to go?

  12. @
    Yeah.. the website you posted uses subtitler.vdf…. which seems to be aimed for substation alpha files.

    I started off using .srt (eg. subrip or other simple sub files) or .ass (advanced substation alpha) so I always used textsub.vdf instead. And textsub.vdf seems to be okay with regular substation alpha files as well…

    I’ve never been able to figure out if it’s something I’m doing wrong that keeps me from being able to use subtitler.vdf with .srt/.ass files.. or if subtitler.vdf is just for .ssa files. If you ever figure it out, please tell me..^^;;;;


  13. video->filter-> add-> should give you a list of filters including textsub 2.23… but if you don’t see it, you can also then click on the “load” button, browse to the folder where you saved text sub..and look in the list again..

    if you don’t see it still, i’m nore sure how to fix it..


  14. hi muish ! uhm i added textsub in the plugin folder but when i click on “add filter” it doesnt show up. can u please help me ?

  15. @ jolly

    Yes. Vobsub works for Windows Media player.

    And I’m not sure what problem you’re having with the Virtual dub thingie. You wrote earlier that it doesn’t download? I tried the link I posted and it seems to download fine for me…so I don’t think it’s the link or the website.

    Unless you give me more detailed question, I really cannot try to help you…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s