View Single Post
Old 9th February 2005, 19:07   #1  |  Link
Zhnujm
Registered User
 
Zhnujm's Avatar
 
Join Date: Oct 2001
Posts: 983
DivX Media subtitle creation (xsub)

I created a little utility that converts .bmp files to .xsub subtitles, mostly for playback in my hardware player.
The .xsub files can be muxed directly in your avi files with fuse.exe.

Download: link


First thing, we need bitmaps for every subtitle.
For that use SubRip and save subtitles as .bmp files.

Format:
-Philips SVCD Designer
-4bits
-Custom Colors (you HAVE to use custom colors, dont know why), color 1 should be black
-Minimum picture width 720, minimum picture height 576 (PAL) or 480 (NTSC)
-As Output format for the timecode file you have to use TurboTitler .tts format

Then convert the bitmaps to .xsub with bmptoxsub:
BMPTOXSUB timecodefile xsubfile bitmapfile(without the numbers at the end) PAL/NTSC switch

Example:
bmptoxsub english\time.tts test.xsub english\bitmap PAL

The bitmap filenames would be in this example bitmap00001.bmp, bitmap00002.bmp,...
Make sure they start with 00001.

The resulting .xsub file can be muxed with fuse.exe:
fuse -v film.avi -s test.xsub -o film.divx


--edit
I did not even know the name of my program...

Last edited by Zhnujm; 10th February 2005 at 15:36.
Zhnujm is offline   Reply With Quote