Hi I've been succesful to convert dvb-recorded material that has video, audio and dvb-subtitles to a .vob (and .ifo) file that contains dvd subtitles. ... using Linux on x86 (for wine) to do so.
Below if simplified steps first what I did and then where to obtain required tools. I quess there are some people interested -- also if simpler way to achieve same results is known I'd also like to know: --- Recorded some material using dvbstream (tv1 on Espoo Finland terrestrial transmitter): # dvbstream -f 562000 512 650 1027 -o tstfile.ts After ctrl-c I had: -rw-r--r-- 1 too too 1093632 Oct 11 2003 IfoEdit.exe -rw-r--r-- 1 too too 323633 Jul 14 16:33 ProjectX_0.81.7int04.jar -rw-r--r-- 1 root root 32285428 Jul 6 23:47 tv1-subtitest-2004040706.ts Then launched ProjectX (0.81.7,internal release 04 (05 did not compile for me -- I probably did something wrong)) to demux the transport stream recording to video, audio and subpicture streams: $ /usr/java/j2sdk1.4.2_04/bin/java -jar ProjectX_0.81.7int04.jar Used File->Add to choose a file to be demuxed (tstfile.ts) and then clicked `Go!' (i.e. no settings needed to be changed) Projectx created files tstfile.mpv, tstfile.mp2, tstfile.sup and tstfile.sup.IFO i.e: -rw-r--r-- 1 too too 1757952 Jul 14 16:57 tstfile.mp2 -rw-r--r-- 1 too too 29189203 Jul 14 16:57 tstfile.mpv -rw-r--r-- 1 too too 43974 Jul 14 16:57 tstfile.sup -rw-r--r-- 1 too too 12288 Jul 16 15:14 tstfile.sup.IFO Finally, launched IfoEdit.ext windows program to multiplex final .vob: $ wine IfoEdit.exe Chose DVD Author->Author new DVD. Then chose video file tstfile.mpv (needed to change filter to `All files' in order to find it). Audio and subpicture (tstfile.mp2 and tstfile.sup) files were found without filename filter changes. In output stream dialog I chose e:\ to file output to /tmp... and again, now ls -l /tmp/V* -rw-r--r-- 1 too too 6144 Jul 16 23:58 /tmp/VIDEO_TS.BUP -rw-r--r-- 1 too too 6144 Jul 16 23:58 /tmp/VIDEO_TS.IFO -rw-r--r-- 1 too too 12288 Jul 16 23:58 /tmp/VTS_01_0.BUP -rw-r--r-- 1 too too 12288 Jul 16 23:58 /tmp/VTS_01_0.IFO -rw-r--r-- 1 too too 31782912 Jul 16 23:58 /tmp/VTS_01_1.VOB Now. After some iteration over mplayer command line options (and being patient enough to wait a few seconds for first subtitles), the following worked guite fine: $ mplayer -sid 0 -ifo tstfile.sup.IFO /tmp/VTS_01_1.VOB --- How to obtain the above tools: Go to http://sourceforge.net/projects/dvbtools and download dvbstream there (and also dvbtune if you want to find out the pids for dvbstream) -- or use (patched for dvb-subtitles?) vdr to do the recording. IfoEdit can be found from. hmm. www.ifoedit.com. That is the easy part. configuring wine might be more difficult, as just downloading and installing it is not sufficient. These steps can be used to get wine-0.20040615 to work (might apply to other version too)... or not. $ cd $HOME $ mv .wine .wine-backup $ mkdir .wine $ mkdir .wine/dosdevices $ ln -s /mnt/floppy .wine/dosdevices/a: $ ln -s /dev/fd0 .wine/dosdevices/a:: $ ln -s ../wine-c .wine/dosdevices/c: $ ln -s /dev/ttyS0 .wine/dosdevices/com1: $ ln -s /dev/ttyS1 .wine/dosdevices/com2: $ ln -s /mnt/cdrom .wine/dosdevices/d: $ ln -s /dev/cdrom .wine/dosdevices/d:: $ ln -s /tmp .wine/dosdevices/e: $ ln -s $HOME .wine/dosdevices/f: $ ln -s /dev/lp0 .wine/dosdevices/lpt1 $ ln -s / .wine/dosdevices/z: $ mkdir ./wine/wine-c $ mkdir ./wine/wine-c/windows $ mkdir ./wine/wine-c/windows/Desktop $ mkdir ./wine/wine-c/windows/system ProjectX can be found from www.lucike.info. Page is mostly auf deutsch, but there is lot of english content too (especially on some forums). Anyway, finding source is not too difficult. Finding int04 patch is a bit more difficult, but looking http://forum.lucike.info/viewtopic.php?t=414 it is found. To compile this version enter: $ unzip ProjectX_Source_0.81.7.zip $ unzip -o ProjectX_0.81.7int4.zip $ cd ProjectX_Source/src $ /path/to/j2sdk/bin/javac *.java $ /path/to/j2sdk/bin/jar cfvm ProjectX_0.81.7int4 MANIFEST.MF *.class --- Any ideas to improve the above conversion steps would be nice -- especially getting rid of IfoEdit part. And the next big question is how to do cutting... Tomi