When you want to watch a video file such as a movie or a tv series in your computer all you have to do is use the same name for bothe the video and subtitles file and most modern video players will automatically recognize the external subtitle file such as .srt and .sub. However if you want to view your video in a mobile device or with a player that doesn't support external subtitles you must somewhow embed the subtitles on the video. In this guide I will describe you how to hardcode your subtitles using VirtualDub. Just remember that embeding subs means that you will have to reencode the video file which will take some time and you might have a quality loss.
So let's start with the tutorial. First you must download and install the following applications.
XviD Codec an open source video codec which we will use to encode our video.
VirtualDub a freeware video capture and AVI/MPEG-1 processing utility. This application doesn't need installation. Just extract it somewhere. C:\Program Files\VirtualDub is a good place.
VobSub a subtitle filter for VirtualDub and DirectShow. Any video player - like Windows Media Player - can handle it. Here during the installation in the Choose Components screen select VobSub for VirtualDub and TextSub for VirtualDub and Avisynth as you see in the picture below. TextSub is the subtitler filter we are going to use.

In the Installing screen you will have to select the directory where you have previously extracted VirtualDub.

Now run VirtualDub. You will find it here: C:\Program Files\VirtualDub\VirtualDub.exe Of course you can create a shortcut in your Desktop for accessing it easier.
This is VirtualDub main window.

Go to File -> Open video file and load the file you want to embed subtitles into.
**Note: If your video files have Variable Bitrate (VBR) audio you may encounter syncronization problems. Full processing mode is recommended for those cases.

Next go to Video -> Filters and press the Add button. Select TextSub from the list. This is the filter that adds subtitles from .srt, .sub, .psb, .smi, .ssa, .ass formats into our video.

In the new window click Open and select the subtitles file you want to hardcode.

If you click the Style button you can choose a font type, font size, color, placement and outline for your subtitles.

When you are ready press Ok to close all windows. Use the slider to find a frame with subtitles and check if the result is good for you.

Next press Video -> Compression and select the XviD codec we have installed previously. If you press the Configure button you can access many settings for this codec. Check what is best for you. Better quality always means bigger file size.

Finally press File- > Save as AVI to save your video with embeded subtitles. Depending on your computer and video lenght this might take a while. In my guide I have used a 20 minute video clip on a Intel Core 2 E8400 CPU @3GHz. The proccess took around 8 minutes to complete.

I hope you enjoyed my virtualdub subtitles tutorial!
Set as favorite
Bookmark
Email this
Hits: 13365
Trackback(0)
TrackBack URI for this entryComments (9)
Subscribe to this comment's feedgood guide
thanx a lot that was very helpful now i can watch foreign movies on my xbox 360. thanx again
YOU ARE AWESOME!
I always wondered why it had to be this hard to hardcode subtitles to a file -.- But it's not too hard, and this is the real deal! This guide is the best guide YET! Even though, I wish that sometime it will come a program that hardcodes subtitles for you fast and easy. But THANK YOU for this guide! Now I can watch movies on my ps3 with subs
aaaaagh!
I've followed all instructions, but when I get to the part that says 'Use the slider to find a frame with subtitles and check if the result is good for you.', there are NO subtitles there at all!
any advice most appreciated.
Thanks
any advice most appreciated.
Thanks
I just remembered
I just remembered that I'd used DVD Flick before, and it was great, so
i'll just use it again. Way less complicated than this method for sure.
i'll just use it again. Way less complicated than this method for sure.
4gb restriction
great writeup, but what happens when my movie needs to be split in half for ps3 playback? how do i get the subs to work properly in two files? thanks
...
Thanks kenni.
You can split the movie in half with VirtualDub. Here is a VirtualDub guide to help you.
You can split the movie in half with VirtualDub. Here is a VirtualDub guide to help you.
Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.