
This is submux with DVD coding and multiplexing
routines added, and slightly modified (bitmap_read).

It will add SPU subtitles to a .vob.
Input format is .sub and .bmp, as produced by
the Linux subtitle editor xste.

No manual yet, this is an interim release
(as always :-) ).

This version has been tested on:
Linux:
mplayer (see note)
xine

Windows:
PowerDVD
InterActual Player

Standalone players:
Mustek 562
Cyberhome CH-DVD 405


Note mplayer:
The current version of mplayer drops subs that have less then 3 bytes
in the last SPU packet as data.
You can fix this by commenting out the return in:
libmpdemux/demux_mpg.c

aid=stream_read_char(demux->stream);--len;

if(len < 3) // CHANGE THIS to < 1, then compile and re-install
 {
 return -1;
 }
----------------------------------


Note InterActual Player:
You cannot select a second title if more then one titles present it seems,
unless there is some menu, nothing to do with subs, the subs are OK.


dvdauthor:
In dvdauthor a derivative version of submux is used, called spumux.
I notice some top outlines re-appearing at the bottom in subtitles made with spumux.
I personally use submux-dvd, and tested it with dvdauthor-0.7.0.


Example of usage:
echo "use xste to make and output vfactor .126 subs, then press ENTER"
read user_reply
submux-dvd -v 3 -s 0 -t .180 filename.vob ~/.subtitles/filename.sub filename-subbed.vob  
mkdir dvd
rm -rf dvd/*
dvdauthor -t -o dvd -a mp2+en+1ch,mp2+es+2ch,mp2+fr+2ch,mp2+it+2ch,mp2+de+2ch,ac3+5ch+de,ac3+5ch+iw,ac3+5ch+el -s nl,nl,nl,nl -p xste-palette.yuv filename-subbed.vob
dvdauthor -T -o dvd
mkisofs -dvd-video -publisher Panteltje_Press -p Panteltje_Productions dvd/ > dvd_image
growisofs -speed 3 -dvd-compat -Z  /dev/dvd=dvd_image
dvdimagecmp -a /dev/dvd -b dvd_image



Please report any problems to panteltje@yahoo.com.
The submux-dvd homepage is at http://www.panteltje.com/panteltje/dvd/
Jan Panteltje

