When you load subtitles of a video in a media player, often you will find that the subtitles are out of sync. All media players that support subtitles hence provide some way of allowing the user to manually sync the subtitle to the video. But the synced subtitle can't be saved and so you have to repeat the process every time you watch that video. This guide will show you a simple process to sync a subtitle, save it and also embed it on to the video permanently.
To sync the subtitle with the video we will use Subtitle Workshop. As the name suggest, this software will handle everything related to subtitles - creating, editing and saving.
Open Subtitle Workshop and load the movie by clicking on Movie>Open. Load the subtitle by File>Load Subtitle.
You will find that there are number of buttons and tools for syncing. Ignore all of them. The best way to sync a subtitle is to introduce delays into the subtitle timings.
The first thing you have to do is determine the lead or lag of the subtitle to the video. Play the video and note the time (as shown by the red box in the screenshot) when a subtitle line should have appeared. Now note the time shown under the column 'Show' for that line. The difference between the two times will give you the delay that needs to be introduced.
Now click Edit>Timings>Set Delay and add or subtract the calculated value. Select "For all the subtitles" and click Apply. Play the video to ensure that the subtitles are properly synced. If not, repeat the process to fine tune the syncing.
After that, go to Settings>Output Settings. Click on Substation Alpha (*ssa) to customize the subtitle's appearance. Use a clear font like Trebuchet MS or Tahoma, set color and size (18 or 20 should work fine).
To save the file click on File>Save As and choose the format Substation Alpha.
To add subtitles to video permanently
Open VirtualDub and load the movie. Now go to Video>Filters. Click Add and select Subtitler and click OK.
Now load the subtitle file you just created and click Show Preview. The subtitle should appear in the video with the same appearance settings you applied. If you are not satisfied with it's appearance, then you can make further adjustments in Subtitle Workshop.
Once you are satisfied, click on Video>Compression and choose the video codec you wish to use. I chose DivX. Clicking on configure will take you to more options to adjust the video quality. Use it if you know what you are doing.
Finally save the movie as .avi. It can take from a few minutes to several hours to complete encoding, depending upon the size and resolution of the video and the speed of your PC.