DVDAUTHOR(1) DVDAuthor Man Pages DVDAUTHOR(1)
NAME
dvdauthor - assembles multiple mpeg program streams into a suitable DVD
filesystem
SYNOPSIS
dvdauthor [ -o output-dir ] -x xml-control-file
dvdauthor [ -o output-dir ] [ -j | --jumppad | -g | --allgprm ] [ -T |
--toc ] [ menu or title options ]
DVD BACKGROUND
At a high level, a DVD is a collection of menus and titles.
Conceptually, a menu contains buttons which can be assigned actions and
provides a list of choices to the end user, while a title contains the
main content of the DVD. However, in reality many of the features
available in menus (including buttons, pausing, and looping) are also
available in titles.
The menus and titles are divided into titlesets and the VMGM menu set.
A titleset can contain a number of menus and titles which are meant to
act together. The "menu", "audio", "subtitle", and "angle" buttons on
the DVD player's remote control will all access menus in the same
titleset as the title which is being played. All the titles and menus
of a given titleset have the same video, audio, and subtitle settings
(the definitions for the menus are independent from the definitions for
the titles), so if you want to have different settings (for example
widescreen vs standard aspect ratios), then you need separate
titlesets. Titlesets are not meant to jump to one another, so the VMGM
menu domain is used. It is a collection of menus (no titles) that can
access the menus and titles of all the titlesets.
One of the most frustrating things when deciding how to author a DVD is
that there are often many ways to accomplish the same task. For
example, you must decide whether to locate menus at the VMGM level or
the titleset level. A typical setup is to locate the high level menus
at the VMGM level, and the low level configuration menus (scene / audio
/ subtitle selection) at the titleset. If there are DVD extras,
perhaps with a lower quality audio track and a 4:3 aspect ratio, then
they would be in a separate titleset with a menu to select among the
extras located at the titleset level.
DVDAUTHOR DESCRIPTION
dvdauthor works in discrete operations. It authors each titleset one
at a time, and then finally authors the VMGM to complete the disc. At
that point the contents can be written out to a DVD. If you are
controlling dvdauthor with command line arguments, then each step will
occur independently; however if you are using the XML control file,
then you have the option of combining some or all the steps into one.
The VOBs passed to dvdauthor must have DVD NAV (VOBU) packets
multiplexed in at the correct locations. Many tools can do this,
including mplex from mjpegtools 1.6.0 or later. dvdauthor will then
fill these packets in with the correct data. Special care has been
taken to ensure dvdauthor is fifo compliant; that is every source VOB
can be the output of another program (such as mplex). This can make
execution faster on many systems by avoiding extra filesystem accesses.
COMMAND LINE DESCRIPTION
-o output-dir
-O output-dir
The destination directory to store the DVD-Video file structure
in. If -O is specified, then any existing directory is (safely)
deleted (only items that look like part of a DVD-Video structure
are removed).
-x xml-control-file
Specifies the control file describing the output structure to
create.
Note that the remaining command-line options are deprecated. Use the
XML control file instead.
-j
--jumppad
Enables the creation of jumppads, which allow greater
flexibility in choosing jump/call destinations.
-g
--allgprm
Enable the use of all 16 general purpose registers. Prohibits
the use of jumppad and some complex expressions that require
temporary registers.
-T Creates the table of contents file instead of a titleset. If
this option is used, it should be listed first, and you may not
specify any titles.
-m Creates a menu.
-t Creates a title.
-v video-opts
--video=video-opts
A plus (+) separated list of video options. Dvdauthor will try
to infer any unspecified options. pal, ntsc, 4:3, 16:9,
720xfull, 720x576, 720x480, 704xfull, 704x576, 704x480,
352xfull, 352x576, 352x480, 352xhalf, 352x288, 352x240,
nopanscan, noletterbox, crop. Default is 4:3, 720xfull
-a audio-opts
--audio=audio-opts
A plus (+) separated list of options for an audio track, with
each track separated by a comma (,). For example -a
ac3+en,mp2+de specifies two audio tracks: the first is an
English track encoded in AC3, the second is a German track
encoded using MPEG-1 layer 2 compression. ac3, mp2, pcm, dts,
16bps, 20bps, 24bps, drc, surround, nolang, 1ch, 2ch, 3ch, 4ch,
5ch, 6ch, 7ch, 8ch, and any two letter ISO 639 language
abbreviation. Default is 1 track, mp2, 20bps, nolang, 2ch.
'ac3' implies drc, 6ch.
-s subpicture-opts
--subpictures=subpicture-opts
A plus (+) separated list of options for a subpicture track,
with each track separated by a comma (,). nolang and any two
letter language abbreviation (see -a) Default is no subpicture
tracks.
-e entry(s)
--entry=entry(s)
Makes the current menu the default for certain circumstances. It
is a comma separated list of any of:
for TOC menus: title
for VTS menus: root, ptt, audio, subtitle, angle
-p palette-file
--palette=palette-file
Specifies where to get the subpicture palette. Settable per
title and per menu. If the filename ends in .rgb (case
insensitive) then it is assumed to be RGB, otherwise it is YUV.
Entries should be 6 hexadecimal digits. FILE defaults to xste-
palette.dat
-c chapterpts
--chapters=chapterpts
Specifies a comma (,) separated list of chapter markers. Each
marker is of the form [[h:]mm:]ss[.frac] and is relative to the
SCR of the next file listed (independent of any timestamp
transposing that occurs within dvdauthor). The chapter markers
ONLY apply to the next file listed. Defaults to 0.
-f mpeg-file
--file=mpeg-file
mpeg-file
Specifies either a file, a pipe, or a shell command ending in |
which supplies an MPEG-2 system stream with VOB sectors inserted
in the appropriate places (using mplex -f 8 to generate)
-b buttondef
--button=X1xY1-X2xY2,commandlist
creates a button of the specified size. See LANGUAGE DESCRIPTION
for a description of commandlist.
-i [pre|post]=commandlist
--instructions=[pre|post]=commandlist
Executes the commandlist instructions either before or at the
end of the menu/title. See LANGUAGE DESCRIPTION for the format
of commandlist.
XML DESCRIPTION
Here is the basic structure of the control file:
[commands;]
[]
[]
[]
[]
commands;
commands;
[]
[]
commands;
[]
[]
[]
[]
[...]
[]
[]
[]
[]
[...]
[]
[]
A breakdown of the control file:
Initiates dvdauthor. dest denotes the directory where dvdauthor
will write the files. This is overridden by the -o option.
Contains up to one tag and any number of 's.
Constructs of a VMGM level menu set or a title set. Contains
zero or more tags and if a titleset, up to one
tag.
Marks a list of menus with a common language for this VMGM menu
set or titleset, called in dvdauthor terminology a "pgcgroup."
Contains up to one