I'm trying to add hardsubs to an AVI file using the H264 lossless codec in VirtualDub. The original video is 720x480. The resulting video is also 720x480, but the actual video that is seen becomes thinner. Everything looks stretched vertically. There are black borders on the sides. Why does this happen? How can this be done right?
On the free software front mencoder should be able to do this as referenced here: http://ask.metafilter.com/98812/convert-vobs-to-avis-with-hardsubs
I'm pretty sure mencoder (part of mplayer) is the way to go. It wants to output .avi files by default. The mencoder documentation is pretty involved, and it's not even complete, but it's very powerful.
Here's how I would do a two pass encoding at 1000 kbps mpeg4 video and 128 kbps mp3 audio:
The -sid 0 flag above designates subtitle id 0. The -aid 128 flag designates audio id 128. Try mplayer -v movie.vob with different -sid and -aid numbers to get the correct subtitles and audio.
another way to do it is here: http://sites.google.com/site/linuxencoding/x264-encoding-guide
The problem is in the program you're using to put in the subs. You may be able to tweak settings to your liking, but I recommend just using a different program (Adobe Premiere Elements can do this, I believe).