Log in

View Full Version : Hardcoding subtitles into xvid movies


spongo
26th April 2007, 11:46
Hi all

I'm using a standalone xvid compatible machine but it does not support .sub files for subtitles. Is there a way to take the .avi xvid movie file and a .sub file and hardcode the subtitles into the avi file so that when I play it in the standalone I get subtitles throughout the movie?

Any help would be greatly appreciated.

Spongo

chipzoller
26th April 2007, 12:15
Yes, but you'll have to re-encode the video stream to do this. Use VobSub (VSFilter.dll) and call it like the following in your script:
VobSub("myfile.idx")

Dr.Khron
26th April 2007, 13:03
Ya, you need to add in the subs BEFORE you feed it to the encoder, which means you do it in your AVS script.

This works with text based subs as well, just use:

TextSub("name and location of your .SSA file")

There are various programs to convert SUB to IDX and SSA and so forth, too. I prefer the graphical subs you get from .IDX, but text based subs are popular too.