- simple videodvd with subtitles, no menus, subs loaded automatically as soon as the movie is played.
Having some problems with the script when it came to setting the subtitle font size, here's what is working on my Philips DVD612S:
Code: Select all
grin@GRiN /mnt/videos/dvd $ l
total 1.6G
drwxr-xr-x 2 grin 6 Sep 21 06:47 FINAL/
-rw-r--r-- 1 grin 44K Sep 14 01:33 any2vob-0.26.sh
-rw-r--r-- 1 grin 509K Sep 25 21:28 any2vob.log
-rw-r--r-- 1 grin 323 Sep 15 17:36 dvdauthor.xml
-rw-r--r-- 1 grin 380 Sep 16 03:40 subtitle.xml
-rw-r--r-- 1 grin 1.2G Sep 25 21:28 teste.VOB
-rw-r--r-- 1 grin 37M Sep 25 21:28 teste.VOB.temp
-rw-r----- 1 grin 350M Sep 25 20:12 teste.avi
-rw-r--r-- 1 grin 48K Sep 25 20:12 teste.srt
Code: Select all
sh any2vob-0.26.sh --log=yes -i teste.avi && spumux -s0 subtitle.xml < teste.VOB > teste.VOB.temp && mv teste.VOB.temp teste.VOB && dvdauthor -x dvdauthor.xml && growisofs -Z /dev/hdc -dvd-video FINAL/Code: Select all
<subpictures>
<stream>
<textsub filename="teste.srt" characterset="ISO8859-1"
fontsize="22.0" font="Vera.ttf" horizontal-alignment="center"
vertical-alignment="bottom" left-margin="60" right-margin="60"
top-margin="20" bottom-margin="30" subtitle-fps="25"
movie-fps="25" movie-width="720" movie-height="574"/>
</stream>
</subpictures>dvdauthor.xml
Code: Select all
<dvdauthor dest="FINAL">
<vmgm />
<titleset>
<titles>
<subpicture lang="pt" />
<pgc>
<pre>subtitle=64;</pre>
<vob file="teste.VOB" chapters="0,0:15,0:30,0:45,1:00,1:15,1:30,1:45,2:00"/>
</pgc>
</titles>
</titleset>
</dvdauthor>
Hope this helps whoever is trying to include subtitles.
Thanks shiznix!



