Creating DVD's without menus
Roger <[email protected]> Tue, 31 Jan 2012 17:24:53 -0900
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Message-ID | <[email protected]> |
I just want to create a simple playable DVD without the extravagent menu
structures of some videos.
1) First convert the video to a MPEG2 using DVD standards.
$ ffmpeg -i TheEncounter-TBN-20110807-2000.avi -target ntsc-dvd
TheEncounter-TBN-20110807-2000.mpg
Or
$ avconv -i TheEncounter-TBN-20110807-2000.avi -target ntsc-dvd
TheEncounter-TBN-20110807-2000.mpg
(Video may need "-aspect 4:3" to preserve black bar width.)
2) Create the DVD file structure using dvdauthor.
$ dvdauthor -t -o /tmp/dvd TheEncounter-TBN-20110807-2000.mpg
or using a very simple XML file.
--- Simple dvdauthor xml file ---
<dvdauthor dest="/tmp/dvd">
<vmgm />
<titleset>
<titles>
<pgc>
<!-- Insert your DVD compatible MPEG2 file -->
<vob file="./TheEncounter-TBN-20110807-2000.mpg" />
</pgc>
</titles>
</titleset>
</dvdauthor>
--- End of dvdauthor xml file ---
$ dvdauthor -x dvdauthor.xml
DVDAuthor::dvdauthor, version 0.7.0.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
INFO: no default video format, must explicitly specify NTSC or PAL
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing ./AtWarWithTheArmy.mpg...
STAT: VOBU 9040 at 2669MB, 1 PGCs
INFO: Video pts = 0.533 .. 5431.959
INFO: Audio[0] pts = 0.533 .. 5432.085
STAT: VOBU 9041 at 2669MB, 1 PGCs
CHAPTERS: VTS[1/1] 0.000
INFO: Generating VTS with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x480
INFO: Audio ch 0 format: ac3/2ch, 48khz drc
STAT: fixed 9041 VOBUs
INFO: dvdauthor creating table of contents
INFO: Scanning /tmp/dvd/VIDEO_TS/VTS_01_0.IFO
ERR: no video format specified for VMGM
*** This is where my problems start! ***
3a) Test if files are DVD playable using mplayer.
$ mplayer dvd:// -dvd-device /tmp/dvd/
MPlayer SVN-r33094-4.5.3 (C) 2000-2011 MPlayer Team
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdread: Couldn't find device name.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.BU.
Can't open VMG info!
No stream found to handle url dvd://
Exiting... (End of file)
3b) Create the ISO filesystem.
$ mkisofs -dvd-video -udf -o /tmp/dvd.iso /tmp/dvd
Using "/home/roger/.mkisofsrc"
/home/roger/.mkisofsrc:8: name required
/home/roger/.mkisofsrc:16: name required
Setting input-charset to 'UTF-8' from locale.
mkisofs: No such file or directory. Failed to open '/tmp/dvd//VIDEO_TS/VIDEO_TS.IFO'.
mkisofs: Can't open VMG info for '/tmp/dvd/'.
mkisofs: Unable to parse DVD-Video structures.
mkisofs: Could not find correct 'VIDEO_TS' directory.
mkisofs: Unable to make a DVD-Video image.
The current file structure I have within the /tmp/dvd folder are:
$ find /tmp/dvd/
/tmp/dvd/
/tmp/dvd/AUDIO_TS
/tmp/dvd/VIDEO_TS
/tmp/dvd/VIDEO_TS/VTS_01_3.VOB
/tmp/dvd/VIDEO_TS/VTS_01_0.BUP
/tmp/dvd/VIDEO_TS/VTS_01_2.VOB
/tmp/dvd/VIDEO_TS/VTS_01_0.IFO
/tmp/dvd/VIDEO_TS/VTS_01_1.VOB
--
Roger
http://rogerx.freeshell.org/
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d