From: Michael S. <li...@mi...> - 2006-12-26 09:08:58
|
On Mon, 25 Dec 2006 21:40:33 -0600 Eric P <eri...@gm...> wrote: > But how exactly to I remultiplex the VOB files? Eric, This happens to me all the time because I have a DVD player that crashes easily with DVDs that don't follow the standard. :( First of all, cat all the successive VOB's together (not VIDEO_TS.VOB, handle that separately). In what follows, be aware that I mainly use NTSC as I am in the USA. You will need the mpeg tools, ffmpeg and transcode packages installed (to get mplex, ffmpeg, and tcextract). cat VTS_01_1.VOB VTS_01_2.VOB ... > VTS_ALL.VOB Then, break that into separate audio and video: tcextract -i VTS_ALL.VOB -x mpeg2 > VTS_ALL.M2V tcextract -i VTS_ALL.VOB -x ac3 > VTS_ALL.AC3 Watch out that the .AC3 is not zero length. If it is, then the sound is in PCM format which has to be handled differently: tcextract -i VTS_ALL.VOB -x pcm > VTS_ALL.lpcm (note that mplex needs to see a .lpcm extension) in which case I normally convert the lpcm to ac3 via ffmpeg: ffmpeg -f s16le -ar 48000 -ac 2 -i VTS_ALL.lpcm -acodec ac3 -ab 192 VTS_ALL.AC3 because there seem to be endian problems of some sort with the lpcm output of tcextract and what goes in mplex. Then, remux them back together: mplex -f 8 -o VTS_ALL_FIX.VOB VTS_ALL.M2V VTS_ALL.AC3 Check that A/V sync is OK by playing the new VOB in mplayer. You can then use dvdauthor with chapter breaks (or use your own xml specs): dvdauthor -t VIDEO_TS.VOB -o outdir -c 600,1200,1800,2400,3000,3600,4200,4800,5400,6000,6600,7200,7800,8400,9000,9600,10200,10800,11400,12000 VTS_ALL_FIX.VOB dvdauthor -T -o outdir Then, build an iso image: mkisofs -dvd-video -o ./dvd.img outdir and burn it: growisofs -speed=4 -dvd-compat -Z /dev/dvd=dvd.img All done! I'm sure Wolfgang Wershofen can add to this as he is more experienced in DVD authoring than I. ;) Cheers, Mike Shell |