--- dvdauthor-0.7.0.orig/debian/mpeg2desc.sgml +++ dvdauthor-0.7.0/debian/mpeg2desc.sgml @@ -0,0 +1,141 @@ +Marc"> + Leeman"> + Fri Dec 30 19:47:26 CET 2005"> + 1"> + marc.leeman@gmail.com"> + + mpeg2desc"> + + + Debian"> + GNU"> + GPL"> +]> + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + multiplex audio/video streams + + + + + mpeg2desc +stream +stream +FILE + + + +< movie.mpg + + + + DESCRIPTION + + mpeg2desc multiplexes audio and video streams + + + + OPTIONS + + + -a stream + + + Output audio stream to stdout + + + + + -v stream + + + Output video stream to stdout + + + + + -o FILE + + + output the previous stream to FILE instead of stdout + + + + + -s + + + skip to first valid header -- ensures mplex can handle output + + + + + -m + + + output mplex offset to stdout + + + + + -h + + + show short help + + + + + + + USAGE + + mpeg2desc mpeg2desc [options] < movie.mpg + + + + CAVEATS + + None. + + + + BUGS + + None. + + + + AUTHOR + + + Marc + Leeman + This manual page was written by Marc Leeman <marc.leeman@gmail.com>, for the Debian GNU/Linux system (but may be used by others). + + + +
--- dvdauthor-0.7.0.orig/debian/control +++ dvdauthor-0.7.0/debian/control @@ -0,0 +1,13 @@ +Source: dvdauthor +Section: otherosfs +Priority: optional +Maintainer: Marc Leeman +Build-Depends: debhelper (>> 7.0.0), docbook-to-man, libdvdread-dev, libpng12-dev, libxml2-dev, flex, bison, libmagick++9-dev | libmagick++-dev, docbook-utils, quilt, libfribidi-dev +Standards-Version: 3.9.1 + +Package: dvdauthor +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: create DVD-Video file system + dvdauthor is a program that will generate a DVD movie from a valid + mpeg2 stream that should play when you put it in a DVD player. --- dvdauthor-0.7.0.orig/debian/spuunmux.sgml +++ dvdauthor-0.7.0/debian/spuunmux.sgml @@ -0,0 +1,150 @@ +Marc"> + Leeman"> + Fri Dec 30 19:47:26 CET 2005"> + 1"> + marc.leeman@gmail.com"> + + spuunmux"> + + + Debian"> + GNU"> + GPL"> +]> + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + demultiplexes subtitles from an existing mpeg2 program stream + + + + + spuunmux +input file +input file + + + + DESCRIPTION + + spuunmux demultiplexes subtitles from an existing mpeg2 program stream + + + + OPTIONS + + + -o name + + + base name for script and images. Defaults to sub. + + + + + -v level + + + verbosity level. sub. Defaults to 0. + + + + + -f + + + resize images to full size. Defaults to 720x576. + + + + + -s stream + + + number of the substream to extract. Defaults to 0. + + + + + -p file + + + name of file with dvd palette. If palette file ends with .rgb, treated as a RGB else as a YCbCr color + + + + + -h + + + print this help + + + + + -V + + + print version number + + + + + + + USAGE + + spuunmux inputfile1 inputfile2 + + + demultiplexes subtitles from an existing mpeg2 program stream. To use stdin for demultiplexing, use - for the inputfile: + + + play_cell GoldFinger.iso 1 1 6 | spuunmux - + + + + CAVEATS + + None. + + + + BUGS + + None. + + + + AUTHOR + + + Marc + Leeman + This manual page was written by Marc Leeman <marc.leeman@gmail.com>, for the Debian GNU/Linux system (but may be used by others). + + + +
--- dvdauthor-0.7.0.orig/debian/quiltrc +++ dvdauthor-0.7.0/debian/quiltrc @@ -0,0 +1 @@ +QUILT_PATCHES=debian/patches --- dvdauthor-0.7.0.orig/debian/dvdunauthor.sgml +++ dvdauthor-0.7.0/debian/dvdunauthor.sgml @@ -0,0 +1,82 @@ +Marc"> + Leeman"> + Fri Dec 30 19:47:26 CET 2005"> + 1"> + marc.leeman@gmail.com"> + + dvdunauthor"> + + + Debian"> + GNU"> + GPL"> +]> + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Removes DVD-Video file structure + + + + + dvdunauthor +path + + + + DESCRIPTION + + dvdunauthor removes the DVD-Video file structure + + + + USAGE + + dvdunauthor path + + + + CAVEATS + + None. + + + + BUGS + + None. + + + + AUTHOR + + + Marc + Leeman + This manual page was written by Marc Leeman <marc.leeman@gmail.com>, for the Debian GNU/Linux system (but may be used by others). + + + +
--- dvdauthor-0.7.0.orig/debian/rules +++ dvdauthor-0.7.0/debian/rules @@ -0,0 +1,135 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + # aclocal-1.7 && autoconf + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc + +build: unpack config-stamp build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + /usr/bin/docbook-to-man debian/mpeg2desc.sgml > mpeg2desc.1 + # /usr/bin/docbook-to-man doc/dvdauthor.sgml > doc/dvdauthor.1 + /usr/bin/docbook-to-man debian/dvdunauthor.sgml > dvdunauthor.1 + /usr/bin/docbook-to-man debian/dvddirdel.sgml > dvddirdel.1 + # /usr/bin/docbook-to-man doc/spumux.sgml > doc/spumux.1 + /usr/bin/docbook-to-man debian/spuunmux.sgml > spuunmux.1 + # /usr/bin/docbook2man -o doc/ doc/root.sgml + # /usr/bin/docbook2html -o doc/ -d doc/html.dsl doc/root.sgml + + + touch build-stamp + +config-stamp: patch-stamp + touch config-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config-stamp + rm -f unpack-stamp + rm -f mpeg2desc.1 dvdunauthor.1 spuunmux.1 dvddirdel.1 + rm -f dvdauthor.spec + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + +# ifneq "$(wildcard /usr/share/misc/config.sub)" "" +# cp -f /usr/share/misc/config.sub config.sub +# endif +# ifneq "$(wildcard /usr/share/misc/config.guess)" "" +# cp -f /usr/share/misc/config.guess config.guess +# endif + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/dvdauthor. + $(MAKE) install prefix=$(CURDIR)/debian/dvdauthor/usr + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman mpeg2desc.1 dvdunauthor.1 spuunmux.1 dvddirdel.1 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +unpack: unpack-stamp + +unpack-stamp: + touch unpack-stamp + +patch: patch-stamp + +patch-stamp: unpack + quilt --quiltrc debian/quiltrc -a push || true + +unpatch: + quilt --quiltrc debian/quiltrc -a pop || true + rm -rf patch-stamp .pc + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch --- dvdauthor-0.7.0.orig/debian/changelog +++ dvdauthor-0.7.0/debian/changelog @@ -0,0 +1,234 @@ +dvdauthor (0.7.0-1) unstable; urgency=low + + * New upstream release (Closes: #604095) + * Development restarted, better logging (Closes: #472880) + * More strict checking, support multiple subs (Closes: #279335) + * Install upstream Changelog (Closes: #412972) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Mon, 08 Nov 2010 22:38:52 +0100 + +dvdauthor (0.6.18-1) unstable; urgency=low + + * New upstream release + * add build dependency on libfribidi-dev + + -- Marc Leeman Wed, 24 Mar 2010 10:49:01 +0100 + +dvdauthor (0.6.14-4) unstable; urgency=low + + * remove lintian warnings & errors + - ancient-standards-version, debian-rules-ignores-make-clean-error, + missing-separator-between-items, + package-uses-deprecated-debhelper-compat-version, + copyright-without-copyright-notice + * fix 0-byte segfault, see debian/patches/dvdauthor-segfault.diff + (Closes: #552126) + * examine dependency bugs (Closes: #434423), generated libmagickcore2 + dep (Closes: #525511) + * HTML uupdate is now pushed in a quilt patch to avoid lintian error. + * Upload sponsored by Christian Marillat + + -- Marc Leeman Mon, 04 Jan 2010 12:35:18 +0100 + +dvdauthor (0.6.14-3) unstable; urgency=low + + * fix dependency on libdvdread3-dev (Closes: #494229) + * add -t option in synopsis (Closes: #409558) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Fri, 15 Aug 2008 11:28:40 +0200 + +dvdauthor (0.6.14-2) unstable; urgency=low + + * bugfix release, Friday, 13th release + * send help message to stdout instead of stderr (Closes: #458471, + Closes: #485157) + * remove dead quilt patch + * add copy of html of http://dvdauthor.sourceforge.net/doc/index.html + (Closes: #338602) + * install upstream changelog (Closes: #412972) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Fri, 13 Jun 2008 09:56:15 +0200 + +dvdauthor (0.6.14-1) unstable; urgency=low + + * New upstream release + * Fix pipe opening (Closes: Bug#411145), patch by Vincent Fourmond + * Upload sponsored by Christian Marillat + + -- Marc Leeman Wed, 28 Feb 2007 11:08:01 +0100 + +dvdauthor (0.6.13-1) unstable; urgency=low + + * New upstream release + * Upload sponsored by Christian Marillat + + -- Marc Leeman Sun, 14 Jan 2007 11:05:22 +0100 + +dvdauthor (0.6.12-1) unstable; urgency=low + + * New upstream release (Closes: Bug#406054) + * Bumped standards version to 3.7.2.2. + * Upload sponsored by Christian Marillat + + -- Marc Leeman Wed, 10 Jan 2007 11:05:57 +0100 + +dvdauthor (0.6.11-5) unstable; urgency=low + + * Fix several memleaks (fixes by Ben Hutchings) + (Closes: Bug#387843) + * use quilt instead of dpatch for patch maintenance (build depends) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Mon, 16 Oct 2006 15:42:51 +0200 + +dvdauthor (0.6.11-4) unstable; urgency=low + + * Allow buttons padded with opaque colour 0, fix by Ben Hutchings + (Closes: Bug#387828) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Sat, 23 Sep 2006 18:56:09 +0200 + +dvdauthor (0.6.11-3.1) unstable; urgency=low + + * Non-maintainer upload + * Fix button position range check (closes: #345943) + + -- Ben Hutchings Sun, 9 Jul 2006 18:58:19 +0100 + +dvdauthor (0.6.11-3) unstable; urgency=low + + * added patch from Vincent Fourmond , spumux + reads from stdin (Closes: Bug#339665) + * upgraded standards version to 3.6.2 + * fix int/unsigned problem: dvdauthor dumps core on some mpegs + (Closes: Bug#345105) + * Fix sgml manpages + * Upload sponsored by Christian Marillat + + -- Marc Leeman Sat, 3 Dec 2005 09:10:16 +0100 + +dvdauthor (0.6.11-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Imagemagick transition (Closes: #332452) + + -- Luk Claes Thu, 27 Oct 2005 18:22:38 +0200 + +dvdauthor (0.6.11-2) unstable; urgency=low + + * Upstream fix in libmagick6-dev, was not a dvdauthor bug in the + first place (Closes: Bug#315503), see #316725 + * patch from Romain Chantereau to fix libmagick6 + not including stdarg (Closes: Bug#317463) + * include 3rd party patches, assertion failures (Closes: Bug#320195, + Closes: Bug#321183, Closes: Bug#323410) from Ben Hutchings + * Upload sponsored by Christian Marillat + + -- Marc Leeman Sun, 26 Jun 2005 20:49:58 +0200 + +dvdauthor (0.6.11-1) unstable; urgency=low + + * New upstream release (Closes: Bug#300758) (Closes: Bug#276490) + * removed patches from 0.6.10-4 release + * HISTORY file is no longer present + * root.sgml is no longer present + * Upload sponsored by Christian Marillat + + -- Marc Leeman Wed, 23 Mar 2005 21:50:29 +0100 + +dvdauthor (0.6.10-4) unstable; urgency=low + + * amd64 fix (Closes: Bug#275341) + * libmagick++6 fix and dependency (Closes: Bug#276709) + * rebuild for libfribidi0-dev build dependency changes + * Upload sponsored by Christian Marillat + + -- Marc Leeman Fri, 15 Oct 2004 22:31:49 +0200 + +dvdauthor (0.6.10-3) unstable; urgency=low + + * added HISTORY to dh_installchangelogs + * Upload sponsored by Christian Marillat + * Fixed dvdauthor manpage (Closes: Bug#270705) + * Applied gcc-3.4 patch from Andreas Jochens + (Closes: Bug#258628) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Wed, 5 May 2004 14:47:25 +0200 + +dvdauthor (0.6.10-2) unstable; urgency=low + + * Upgraded build dependency with libmagick6-dev (new unstable) + (Closes: Bug#245683) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Thu, 29 Apr 2004 21:18:14 +0200 + +dvdauthor (0.6.10-1) unstable; urgency=low + + * New upstream release + * Upload sponsored by Christian Marillat + + -- Marc Leeman Tue, 16 Mar 2004 09:21:44 +0100 + +dvdauthor (0.6.9-1) unstable; urgency=low + + * New upstream release + * added build-dependency to docbook-utils + * added minimal manpage for dvddirdel + * Upload sponsored by Christian Marillat + + -- Marc Leeman Sat, 17 Jan 2004 07:38:41 +0100 + +dvdauthor (0.6.8-2) unstable; urgency=low + + * Included initial manpages for spuunmux and dvdunauthor + * Removed vob_dump, makedvd and makevob (removed binaries) + * Removed submux (renamed to spumux) + * Upload sponsored by Christian Marillat + + -- Marc Leeman Thu, 15 Jan 2004 19:36:05 +0100 + +dvdauthor (0.6.8-1) unstable; urgency=low + + * New upstream release (Closes: Bug#227717) + * Package uploaded by Christian Marillat + * Install of menu.txt, lib.txt (creating menus), and more new upstream docs + * include ft2build.h in the subfont sources + + -- Marc Leeman Wed, 14 Jan 2004 20:59:26 +0100 + +dvdauthor (0.6.7-1) unstable; urgency=low + + * New Upstream Release + + -- Marc Leeman Fri, 28 Nov 2003 11:42:14 +0100 + +dvdauthor (0.5.3-3) unstable; urgency=low + + * Closed ITP bug (Closes: #204625) + * Upgraded policy to 3.6.1 + + -- Marc Leeman Fri, 5 Sep 2003 09:50:02 +0200 + +dvdauthor (0.5.3-2) unstable; urgency=low + + * install of README TODO and iso639.txt docs (debian/rules) + * install of changelog HISTORY + * Applied patches from Stephen Gran + * Upload sponsored by Christian Marillat + + -- Marc Leeman Fri, 5 Sep 2003 09:50:02 +0200 + +dvdauthor (0.5.3-1) unstable; urgency=low + + * Initial Release. + * Created man page entries + * Upload sponsored by Luigi Gangitano + + -- Marc Leeman Fri, 8 Aug 2003 21:37:16 +0200 + --- dvdauthor-0.7.0.orig/debian/dvddirdel.sgml +++ dvdauthor-0.7.0/debian/dvddirdel.sgml @@ -0,0 +1,82 @@ +Marc"> + Leeman"> + Fri Dec 30 19:47:26 CET 2005"> + 1"> + marc.leeman@gmail.com"> + + dvddirdel"> + + + Debian"> + GNU"> + GPL"> +]> + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Deletes a previously authored DVD directory structure in DIR + + + + + dvddirdel + DIR + + + + DESCRIPTION + + dvddirdel deletes a previously authored DVD directory structure in DIR + + + + USAGE + + dvddirdel -o DIR + + + + CAVEATS + + None. + + + + BUGS + + None. + + + + AUTHOR + + + Marc + Leeman + This manual page was written by Marc Leeman <marc.leeman@gmail.com>, for the Debian GNU/Linux system (but may be used by others). + + + +
--- dvdauthor-0.7.0.orig/debian/docs +++ dvdauthor-0.7.0/debian/docs @@ -0,0 +1,3 @@ +README +TODO +html --- dvdauthor-0.7.0.orig/debian/compat +++ dvdauthor-0.7.0/debian/compat @@ -0,0 +1 @@ +7 --- dvdauthor-0.7.0.orig/debian/dirs +++ dvdauthor-0.7.0/debian/dirs @@ -0,0 +1 @@ +usr/bin --- dvdauthor-0.7.0.orig/debian/README.Debian +++ dvdauthor-0.7.0/debian/README.Debian @@ -0,0 +1,26 @@ +dvdauthor for Debian +------------------- + + * In answer to the bug-report #225800, the upstream author ("Scott T. Smith" + ) replied: + + I should just delete the script. It used to create the directories; now + dvdauthor creates them. I only keep the script around because it can + delete a previously authored disc. Of course I know how to type 'rm -r + -f'... it carries some historical significance -- you can create a conf + file or set the WORKDIR environment variable so dvdauthor will always + author the dvd in the same place -- useful if you have a separate HDD + that you use for authoring. In order to ease deleting from the remote + directory I keep the script around + + * In order not to overwrite custom macros (AM_ICONV) aclocal should + not be run unless the libraries are the 'latest' ones. for example, + if you don't have iconv installed, then ./configure would detect that + and be fine. But if you run aclocal without gettext/iconv installed, + then the macro for AM_ICONV will be overwriten, and the 'autoconf' + program will fail, thus not allowing you to even run './configure' + + * Upstream added it's own man pages in SGML. For the time being, + I keep the Debian versions included to allow merging of the information. + + -- Marc Leeman , Wed, 14 Jan 2004 21:03:32 +0200 --- dvdauthor-0.7.0.orig/debian/README.source +++ dvdauthor-0.7.0/debian/README.source @@ -0,0 +1,4 @@ +The debian package includes a number of smaller patches that include +spelling errors, and smaller boundary checks. + +The patches are in quilt format in debian/patches --- dvdauthor-0.7.0.orig/debian/dvdauthor.sgml +++ dvdauthor-0.7.0/debian/dvdauthor.sgml @@ -0,0 +1,222 @@ +Marc"> + Leeman"> + Fri Dec 30 19:47:26 CET 2005"> + 1"> + marc.leeman@gmail.com"> + + dvdauthor"> + + + Debian"> + GNU"> + GPL"> +]> + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Creates DVD-Video file structure + + + + + dvdauthor + +VTSBASE + +options +VOBFILE(s) + + + + DESCRIPTION + + dvdauthor creates DVD-Video file structure + + + + OPTIONS + + + -v VOPTS + + + VOPTS is 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. Default is ntsc, 4:3, 720xfull + + + + + -a AOPTS + + + AOPTS is 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 SOPTS + + + SOPTS is 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. + + + + + -p FILE + + + 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 + + + + + -f FILE + + + FILE is 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) + + + + + -c COPTS + + + COPTS is 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. COPTS defaults to 0 + + + + + -m + + + creates a menu + + + + + -t + + + creates a title + + + + + -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 + + + + + -e EOPTS + + + EOPTS makes the current menu the default for certain circumstances. EOPTS is a comma separated list of any of: + + + for TOC menus: title + + + for VTS menus: root, ptt, audio, subtitle, angle + + + + + -b X1xY1-X2xY2,DEST + + + creates a button of the specified size. See --instructions or -i for a description of DEST. + + + + + -i post=DEST + + + executes the DEST executes the DEST instructions at the end of the title. DEST is a plus separated list of the following: + + + vtsm[X][.Y] - jump to titleset X, menu Y. Note that currently a VMGM can only jump to menu 1, and a VTSM cannot specify another titleset. + + + vtsX[.Y] - jump to title X, chapter Y. If specified on a titleset menu, then the title number refers to a title within the currently titleset. + + + vmgmX - jump to menu X in the VMGM (table of contents). rsm - resume the movie. + + + exit - exits the DVD. + + + fpc - jump to the first play chain. + + + audioX - switch to audio track X. + + + subtitleX - switch to subtitle track X. + + + + + -h + + + displays short usage + + + + + + + USAGE + + dvdauthor -o dvd *.vob + + + + CAVEATS + + None. + + + + BUGS + + None. + + + + AUTHOR + + + Marc + Leeman + This manual page was written by Marc Leeman <marc.leeman@gmail.com>, for the Debian GNU/Linux system (but may be used by others). + + + +
--- dvdauthor-0.7.0.orig/debian/copyright +++ dvdauthor-0.7.0/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Marc Leeman on +Fri, 8 Aug 2003 21:37:16 +0200. + +The current Debian maintainer is Marc Leeman + +It was downloaded from: http://dvdauthor.sourceforge.net/ + +Upstream Author: Scott Smith + Lawrence D'Oliveiro + +Copyright: 2003 - 2010 Scott Smith +Copyright: 2010 Lawrence D'Oliveiro + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License with +the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; +if not, write to the Free Software Foundation, Inc., 51 Franklin Street, +Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. + +The Debian packaging is (C) 2003-2009, Marc Leeman +and is licensed under the GPL-2, see above. --- dvdauthor-0.7.0.orig/debian/patches/dvdauthor.manpage.diff +++ dvdauthor-0.7.0/debian/patches/dvdauthor.manpage.diff @@ -0,0 +1,18 @@ +--- dvdauthor-0.6.14/doc/dvdauthor.1 2010-11-21 18:49:00.000000000 +0100 ++++ dvdauthor-0.6.14/doc/dvdauthor.1 2010-11-21 18:45:39.000000000 +0100 +@@ -290,7 +290,7 @@ However, language and content must be ma + possible to just list the language and content attributes and let + \fBdvdauthor\fR fill in the rest. + .TP +-\fB\fR ++\fB\fR + Manually configures a subpicture/subtitle for this pgcgroup or PGC. + At the pgcgroup level, list once for each language. Occurrences at the PGC level + don't have lang or content attributes; they inherit those +@@ -570,4 +570,4 @@ the total amount of video in the VMG men + sectors of 2kiB each). In each titleset, all the menu video must fit in the first VOB + (VTS_nn_0.VOB), so is limited to the same amount. + +-MarcLeeman2003Marc LeemanFri Dec 30 19:47:26 CET 2005 +\ No newline at end of file ++MarcLeeman2003Marc LeemanFri Dec 30 19:47:26 CET 2005 --- dvdauthor-0.7.0.orig/debian/patches/update-html-doc.diff +++ dvdauthor-0.7.0/debian/patches/update-html-doc.diff @@ -0,0 +1,7909 @@ +hide HTML update in patch to avoid lintian complaining +Index: dvdauthor-0.6.14/html/dvdauthor.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/dvdauthor.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,1688 @@ ++ ++dvdauthor
DVDAuthor
PrevNext

dvdauthor

Name

dvdauthor -- assembles multiple mpeg program streams into a suitable DVD filesystem

Synopsis

dvdauthor [-o output-dir] {-x xml-config-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 frusterating 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 configuration 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

The destination directory to store the DVD-Video file structure in.

-j, --jumppad

foo

-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 ntsc, 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 configuration file:

<dvdauthor [dest="output-dir"] [jumppad="1|on|yes" | allgprm="1|on|yes"]>
++   <vmgm>
++      [<fpc>commands;</fpc>]
++      <menus [lang="language-code"] >
++         <video [format="ntsc|pal"] [aspect="4:3|16:9"]
++                [resolution="XxY"] [caption="field1|field2"]
++                [widescreen="nopanscan|noletterbox|crop"] />
++         <audio [format="mp2|ac3|dts|pcm"] [channels="numchannels"]
++                [quant="16bps|20bps|24bps|drc"] [dolby="surround"]
++                [samplerate="48khz|96khz"] [lang="language"] />
++         [<audio ... />]
++         <subpicture lang="language" />
++         <pgc [entry="title"] [palette="yuvfile|rgbfile"]
++              [pause="seconds|inf"]>
++            <pre> commands; </pre>
++            <vob file="file.mpg" [chapters="chapter-list"]
++                 [pause="seconds|inf"] />
++            [<vob ... />]
++            <button [name="buttonname"]> commands; </button>
++            [<button ... />]
++            <post> commands; </post>
++         </pgc>
++         [<pgc ... />]
++      </menus>
++   </vmgm>
++   <titleset>
++      <menus>
++         [<video ... />]
++         [<audio ... />]
++         <pgc [entry="entries"]
++              [palette="yuvfile|rgbfile"] [pause="seconds|inf"]>
++            [...]
++         </pgc>
++         [<pgc ... />]
++      </menus>
++      <titles>
++         [<video ... />]
++         [<audio ... />]
++         <pgc [palette="yuvfile|rgbfile"] [pause="seconds|inf"]>
++            [...]
++         </pgc>
++         [<pgc ... />]
++      </titles>
++   </titleset>
++   [<titleset ... />]
++</dvdauthor>

A breakdown of the config file:

<dvdauthor [dest="output-dir"] [jumppad="1|on|yes" | allgprm="1|on|yes"]>

Initiates dvdauthor. dest denotes the directory where dvdauthor will write the files. It overrides the -o option. Contains up to one <vmgm> tag and any number of <titleset>'s.

<vmgm>, <titleset>

Constructs of a VMGM level menu set or a title set. ++Contains up to one <menus> tag and if a ++titleset, up to one <titles> tag.

<menus ++[lang="language-code"] ++>, <titles>

Marks the list of menus or titles for this VMGM menu ++set or titleset, called in dvdauthor terminology a ++"pgcgroup." Contains up to one <video> tag, ++up to eight <audio> tags, up to 32 ++<subpicture> tags, and any number of ++<pgc> tags.

<video [format="ntsc|pal"] ++[aspect="4:3|16:9"] [resolution="XxY"] ++[caption="field1|field2"] [widescreen="nopanscan|noletterbox|crop"] ++/>

Manually configures the video ++parameters for this pgcgroup. If any of these are not set, then they ++will be inferred from the source stream. Note that the DVD format ++only specifically supports 720x480, 704x480, 352x480, and 352x240 ++resolutions for NTSC, and 720x576, 704x576, 352x576, and 352x288 ++resolutions for PAL, but DVD author will accept a wider range of ++inputs and round up to the nearest size.

<audio [format="mp2|ac3|dts|pcm"] ++[channels="numchannels"] ++[dolby="surround"] [quant="16bps|20bps|24bps|drc"] [samplerate="48khz|96khz"] ++[lang="language"] />

Manually configures an audio channel for this ++pgcgroup. List once for each channel. Most parameters are inferred ++automatically from the source VOBs except for PCM parameters. ++However, language must be manually specified. Note that it is ++possible to just list the language attribute and let ++dvdauthor fill in the rest.

<subpicture ++lang="language" />

foo

<pgc ++[entry="entries"] ++[palette="yuvfile|rgbfile"] ++[pause="seconds|inf"]>

A PGC is just a fancy term for either a menu or a ++title. It has a special meaning in the DVD spec so I have retained ++its use here. PGC's can have commands that get executed before they ++start playing or after they finish; see pre and ++post tags below.

If the PGC is a menu, you can specify one or more entries for ++it. This means that if you press the corresponding button on your DVD ++remote, then it will go to this menu. For a VMGM level menu, the only ++choice is title, which on my remote corresponds to ++the top menu button. For a titleset level menu, ++you can use root, subtitle, audio, angle, and ptt. If you want more ++than one, separate them by a space or a comma. Note that ++root entry is meant for commands that jump from a ++VMGM level menu to a titleset menu.

All button and menu masks and all subtitles within a PGC must ++share the same 16 color palette. If you use spumux ++to generate the subtitle/subpicture packets, then the color ++information will be automatically passed to ++dvdauthor; however, if you use another subtitler or ++want to have more control over the palette, you can manually specify ++it with the palette attribute. The first 16 ++entries of the file should be the 16 colors of the palette, listed as ++6 digit hexadecimal numbers representing either the RGB breakdown (if ++the filename ends in .rgb or the YUV breakdown (if ++the filename does not end in .rgb. After that, the ++button group information can be listed as pairs of 8 digit hexadecimal ++numbers; up to three button groups may be specified.

If you have a short video sequence or just want the video to ++pause at the end, you can use the pause attribute ++to set the number of seconds (as an integer) from 1 to 254. If you ++want the video to pause indefinitely, use ++inf.

<pre> commands; </pre>, <post> commands; </post>

Sets the commands to execute before or after a PGC ++plays. It can be used to loop the current video (by having a ++<post> jump ... </post> sequence), or to ++conditionally skip certain chapters if a flag has been set.

<fpc> commands; </fpc>

Sets the commands to execute when the disk is first ++put in the player (FPC = First Program Chain). It can be used to jump ++to a particular menu or initialize registers on startup. If not ++specified, an implicit one will be created that jumps to the first ++menu found, or if there is no menu it will jump to the first title..

<vob file="file.mpg" [chapters="chapter-list"] [pause="seconds|inf"] />

foo

<cell [start="timestamp"] [end="timestamp"] [chapter="1|on|yes" | program="1|on|yes"] [pause="seconds|inf"] />

foo

<button [name="buttonname"]> commands; </button>

foo

Language Description

The language is quite simple and roughly looks like C.

  • Statements are terminated with a semicolon.

  • Statements can span multiple lines.

  • Multiple statements can appear on one line.

  • Whitespace (space, tab, newlines) are not important, except to separate keywords and identifiers.

Variables

The DVD virtual machine processes 16 bit values. It supports up ++to 16 general purpose registers; however dvdauthor ++reserves 3 for internal use. Thus register 0-12 are avaialable for ++use and are referred to as g0 through ++g12.

There are also 24 system registers, which can be referred to as ++s0 through s23. Not all of ++these can be set. Many of these have pseodonyms.

audio ++(s1, rw)

Denotes the ++audio channel, ranging from 0-7.

subtitle ++(s2, rw)

The subtitle ++track, ranging from 0-31. If you want the subtitle to always be ++displayed, then you should add 64 (i.e. choose 64-95). Simply ++selecting the track (0-31) means that only the forced subtitles will ++be displayed, whereas enabling the track (64-95) means that all the ++subtitles will be displayed. This allows you to have forced subtitles ++only for the parts of the movie where the actors are speaking a ++foreign (to the viewer) language, but still have normal subtitles for ++the hearing impaired. The hearing impaired viewers would enable the ++track (64-95) while the other viewers would just select the track ++(0-31) they would be able to share the ++track.

angle ++(s3, rw)

Selects the ++angle (currently untested).

button ++(s8, rw)

Denotes the ++currently highlighted button. Note that the value is multiplied by ++1024, so the first button is 1024, the second is 2048, ++etc.

Expressions

Expressions follow typical C syntax except that booleans are not ++convertible to integers and vice versa. Operators and comparisons ++are:

==, !=, >=, >, <=, <, &&, ||, !, eq, ne, ge, gt, le, lt, and, or, xor, not, +, -, *, /, %, &, |, ^

Since the code is encapsulated in XML, the parser will catch any ++unescaped < characters, thus alphabetic mnemonics have been ++provided for all comparison operators for consistency.

There is also a numerical function:

random(EXPRESSION)

Computes a psuedo-random number, between 1 and the ++supplied number, inclusively.

Blocks

Blocks are either a single statement (terminated by a ++semicolon), or a group of statements wrapped in curly braces. For ++example:

  • g3=s7;
  • {
    ++  audio=1;
    ++  subtitle=65;
    ++  jump vmgm menu 3;
    ++}

Statements

The statements supported are fairly simple at the moment.

VARIABLE=EXPRESSION;

Sets a variable equal to the result of an equation.

if (EXPRESSION) BLOCK;, if (EXPRESSION) BLOCK; else BLOCK;

Calculates the expression; if true, then it executes ++the block of code.

jump TARGET;, call TARGET [resume CELL];, resume;

Jumps to a particular title or menu, or calls a ++particular menu, or returns to the calling title. You can only ++execute a call from a title to a menu; all other forms are illegal. ++The purpose of using call instead of ++jump (besides the fact that they support a mutually ++exclusive list of targets) is to allow the menu to return to the point ++in the title where the call originated using ++resume. You can manually specify the return cell ++by using the resume keyword, however if you do not ++specify one and you use the command in a post instruction block, then ++it will presume cell 1.

The following are possible targets:

[vmgm | titleset X] menu, [vmgm | titleset X] menu Y, [vmgm | titleset X] menu entry Z

Targets either the default menu, a menu number Y, or the menu denoted as the entry for Z. The menu is in either the VMGM or titleset domain. If you wish to target a menu in the current domain then you can omit the domain moniker.

[vmgm | titleset X] title Y [chapter Z]

Targets a title, or a chapter in a title. Numbering ++starts at 1. All of the titles on the disc are accessible in the VMGM ++domain, or you can access them by titleset ++instead.

chapter Z, program Z, cell Z

Targets a chapter, program, or cell in the current ++title or menu (note that menus do not have chapters). You can use ++this to create looping menus: jump cell ++1;


PrevHomeNext
DVDAuthor Man PagesUpdvddirdel
+\ No newline at end of file +Index: dvdauthor-0.6.14/html/ex-title.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/ex-title.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,361 @@ ++ ++Creating a title
DVDAuthor
PrevChapter 1. ExamplesNext

1.2. Creating a title

1.2.1. One chapter, one source

This forms the most basic DVD. THe DVD player will start playing the movie when the disc is inserted and will stop at the end.

<dvdauthor>
++    <vmgm />
++    <titleset>
++        <titles>
++            <pgc>
++                <vob file="video.mpg" />
++            </pgc>
++        </titles>
++    </titleset>
++</dvdauthor>

1.2.2. Two chapters, two sources

Adding a second chapter is quite simple if it is in a separate file.

<dvdauthor>
++    <vmgm />
++    <titleset>
++        <titles>
++            <pgc>
++                <vob file="video1.mpg" />
++                <vob file="video2.mpg" />
++            </pgc>
++        </titles>
++    </titleset>
++</dvdauthor>

1.2.3. One chapter, two sources

DVDAuthor normally creates one ++chapter per file. This can be overridden using ++chapters="foo". The ++parameter is a comma separated list of timestamps of the form ++[[HH:]MM:]SS.

<dvdauthor>
++    <vmgm />
++    <titleset>
++        <titles>
++            <pgc>
++                <vob file="video1.mpg" chapters="0" />
++                <vob file="video2.mpg" />
++            </pgc>
++        </titles>
++    </titleset>
++</dvdauthor>

1.2.4. Two chapters, one source

This will create a movie with two chapters, one at the beginning (which is always required) and one five minutes into the video.

<dvdauthor>
++    <vmgm />
++    <titleset>
++        <titles>
++            <pgc>
++                <vob file="video1.mpg" chapters="0,5:00" />
++            </pgc>
++        </titles>
++    </titleset>
++</dvdauthor>

1.2.5. Looping

Having <post>commands will alter what happens when playback reaches the end of your title. You can repeat the current title by jumping to the first chapter.

<dvdauthor>
++    <vmgm />
++    <titleset>
++        <titles>
++            <pgc>
++                <vob file="video1.mpg" />
++                <post>
++                    jump chapter 1;
++                </post>
++            </pgc>
++        </titles>
++    </titleset>
++</dvdauthor>

1.2.6. Pausing

Having pause="foo" ++will cause playback to pause for either the specified number of ++seconds or indefinitely (inf). This can be used ++either at the end of the title (by supplying it as an attribute to ++pgc or at the end of a particular source, as an ++attribute to vob. The following will pause ++indefinitely at the end of the title:

<dvdauthor>
++    <vmgm />
++    <titleset>
++        <titles>
++            <pgc pause="inf">
++                <vob file="video1.mpg" />
++            </pgc>
++        </titles>
++    </titleset>
++</dvdauthor>

while the following will pause for 5 seconds after the first chapter:

<dvdauthor>
++    <vmgm />
++    <titleset>
++        <titles>
++            <pgc>
++                <vob file="video1.mpg" pause="5" />
++                <vob file="video2.mpg" />
++            </pgc>
++        </titles>
++    </titleset>
++</dvdauthor>

PrevHomeNext
ExamplesUpLanguage Codes
+\ No newline at end of file +Index: dvdauthor-0.6.14/html/examples.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/examples.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,247 @@ ++ ++Examples
DVDAuthor
PrevNext

Chapter 1. Examples

1.1. Running the tools

1.1.1. Creating the DVD filesystem with dvdauthor

In these examples, dvdauthor is run as:

rm -r test && dvdauthor -o test -x dvdauthor.xml

It will create or append to the directory specified, so it is a ++good idea to remove the directory before running ++dvdauthor, otherwise the resulting structure will ++not be playable.

1.1.2. Adding subtitles with spumux

spumux takes an mpeg2 program stream as input and spits one back out, with subtitles multiplexed in. It is run as:

spumux spumux.xml < input.mpg > output.mpg

1.1.3. Creating a movie source from video and audio with mplex

mplex comes from the mjpegtools package, ++available at http://mjpeg.sourceforge.net. It can take independent ++video and audio streams and create a single mpeg2 stream.

mplex -f 8 -o output.mpg video.m2v audio.m2a

1.1.4. Creating video from bitmap images with mpeg2enc

When creating menus, it is necessary to create an mpeg2 video stream from one or more bitmap images. For NTSC you can do:

ppmtoy4m | mpeg2enc -a 2 -n n -f 8 -o output.m2v

and for PAL you can do:

ppmtoy4m | mpeg2enc -a 2 -n p -f 8 -o output.m2v

1.1.5. Creating a blank audio track with toolame

When creating menus with no sound, it is necessary to multiplex ++in an empty sound file. At 48kHz, NTSC has 1601.6 audio samples per ++frame while PAL has 1920 audio samples per frame. Determine how many ++samples you need, and run:

dd if=/dev/zero bs=4 count=number-of-samples | toolame -b 128 -s 48 /dev/stdin output.m2a

PrevHomeNext
DVDAuthor Creating a title
+\ No newline at end of file +Index: dvdauthor-0.6.14/html/index.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/index.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,250 @@ ++ ++DVDAuthor
Table of Contents
1. Examples
1.1. Running the tools
1.1.1. Creating the DVD filesystem with dvdauthor
1.1.2. Adding subtitles with spumux
1.1.3. Creating a movie source from video and audio with mplex
1.1.4. Creating video from bitmap images with mpeg2enc
1.1.5. Creating a blank audio track with toolame
1.2. Creating a title
1.2.1. One chapter, one source
1.2.2. Two chapters, two sources
1.2.3. One chapter, two sources
1.2.4. Two chapters, one source
1.2.5. Looping
1.2.6. Pausing
A. Language Codes
I. DVDAuthor Man Pages
dvdauthor -- assembles multiple mpeg program streams into a suitable DVD filesystem
dvddirdel --  Deletes a previously authored DVD directory structure in DIR ++
dvdunauthor --  Removes DVD-Video file structure ++
mpeg2desc --  multiplex audio/video streams ++
spumux -- generates and multiplexes subtitles into an existing mpeg2 program stream
spuunmux --  demultiplexes subtitles from an existing mpeg2 program stream ++

  Next
  Examples
+\ No newline at end of file +Index: dvdauthor-0.6.14/html/languages.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/languages.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,3484 @@ ++ ++Language Codes
DVDAuthor
PrevNext

Appendix A. Language Codes

The following are the ISO 639 langauges codes, adapted from ++http://sunsite.berkeley.edu/amher/iso_639.html.

Table A-1. Sorted By Language Name

Langauge NameCodeLanguage Family
ABKHAZIANABIBERO-CAUCASIAN
AFAN (OROMO)OMHAMITIC
AFARAAHAMITIC
AFRIKAANSAFGERMANIC
ALBANIANSQINDO-EUROPEAN (OTHER)
AMHARICAMSEMITIC
ARABICARSEMITIC
ARMENIANHYINDO-EUROPEAN (OTHER)
ASSAMESEASINDIAN
AYMARAAYAMERINDIAN
AZERBAIJANIAZTURKIC/ALTAIC
BASHKIRBATURKIC/ALTAIC
BASQUEEUBASQUE
BENGALI;BANGLABNINDIAN
BHUTANIDZASIAN
BIHARIBHINDIAN
BISLAMABI[not given]
BRETONBRCELTIC
BULGARIANBGSLAVIC
BURMESEMYASIAN
BYELORUSSIANBESLAVIC
CAMBODIANKMASIAN
CATALANCAROMANCE
CHINESEZHASIAN
CORSICANCOROMANCE
CROATIANHRSLAVIC
CZECHCSSLAVIC
DANISHDAGERMANIC
DUTCHNLGERMANIC
ENGLISHENGERMANIC
ESPERANTOEOINTERNATIONAL AUX.
ESTONIANETFINNO-UGRIC
FAROESEFOGERMANIC
FIJIFJOCEANIC/INDONESIAN
FINNISHFIFINNO-UGRIC
FRENCHFRROMANCE
FRISIANFYGERMANIC
GALICIANGLROMANCE
GEORGIANKAIBERO-CAUCASIAN
GERMANDEGERMANIC
GREEKELLATIN/GREEK
GREENLANDICKLESKIMO
GUARANIGNAMERINDIAN
GUJARATIGUINDIAN
HAUSAHANEGRO-AFRICAN
HEBREWIWSEMITIC
HINDIHIINDIAN
HUNGARIANHUFINNO-UGRIC
ICELANDICISGERMANIC
INDONESIANINOCEANIC/INDONESIAN
INTERLINGUAIAINTERNATIONAL AUX.
INTERLINGUEIEINTERNATIONAL AUX.
INUPIAKIKESKIMO
IRISHGACELTIC
ITALIANITROMANCE
JAPANESEJAASIAN
JAVANESEJVOCEANIC/INDONESIAN
KANNADAKNDRAVIDIAN
KASHMIRIKSINDIAN
KAZAKHKKTURKIC/ALTAIC
KINYARWANDARWNEGRO-AFRICAN
KIRGHIZKYTURKIC/ALTAIC
KURUNDIRNNEGRO-AFRICAN
KOREANKOASIAN
KURDISHKUIRANIAN
LAOTHIANLOASIAN
LATINLALATIN/GREEK
LATVIAN;LETTISHLVBALTIC
LINGALALNNEGRO-AFRICAN
LITHUANIANLTBALTIC
MACEDONIANMKSLAVIC
MALAGASYMGOCEANIC/INDONESIAN
MALAYMSOCEANIC/INDONESIAN
MALAYALAMMLDRAVIDIAN
MALTESEMTSEMITIC
MAORIMIOCEANIC/INDONESIAN
MARATHIMRINDIAN
MOLDAVIANMOROMANCE
MONGOLIANMN[not given]
NAURUNA[not given]
NEPALINEINDIAN
NORWEGIANNOGERMANIC
OCCITANOCROMANCE
ORIYAORINDIAN
PASHTO;PUSHTOPSIRANIAN
PERSIAN (farsi)FAIRANIAN
POLISHPLSLAVIC
PORTUGUESEPTROMANCE
PUNJABIPAINDIAN
QUECHUAQUAMERINDIAN
RHAETO-ROMANCERMROMANCE
ROMANIANROROMANCE
RUSSIANRUSLAVIC
SAMOANSMOCEANIC/INDONESIAN
SANGHOSGNEGRO-AFRICAN
SANSKRITSAINDIAN
SCOTSGAELICGD CELTIC
SERBIANSRSLAVIC
SERBO-CROATIANSHSLAVIC
SESOTHOSTNEGRO-AFRICAN
SETSWANATNNEGRO-AFRICAN
SHONASNNEGRO-AFRICAN
SINDHISDINDIAN
SINGHALESESIINDIAN
SISWATISSNEGRO-AFRICAN
SLOVAKSKSLAVIC
SLOVENIANSLSLAVIC
SOMALISOHAMITIC
SPANISHESROMANCE
SUNDANESESUOCEANIC/INDONESIAN
SWAHILISWNEGRO-AFRICAN
SWEDISHSVGERMANIC
TAGALOGTLOCEANIC/INDONESIAN
TAJIKTGIRANIAN
TAMILTADRAVIDIAN
TATARTTTURKIC/ALTAIC
TELUGUTEDRAVIDIAN
THAITHASIAN
TIBETANBOASIAN
TIGRINYATISEMITIC
TONGATOOCEANIC/INDONESIAN
TSONGATSNEGRO-AFRICAN
TURKISHTRTURKIC/ALTAIC
TURKMENTKTURKIC/ALTAIC
TWITWNEGRO-AFRICAN
UKRAINIANUKSLAVIC
URDUURINDIAN
UZBEKUZTURKIC/ALTAIC
VIETNAMESEVIASIAN
VOLAPUKVOINTERNATIONAL AUX.
WELSHCYCELTIC
WOLOFWONEGRO-AFRICAN
XHOSAXHNEGRO-AFRICAN
YIDDISHJIGERMANIC
YORUBAYONEGRO-AFRICAN
ZULUZUNEGRO-AFRICAN

Table A-2. Sorted By Language Code

Langauge NameCodeLanguage Family
AFARAAHAMITIC
ABKHAZIANABIBERO-CAUCASIAN
AFRIKAANSAFGERMANIC
AMHARICAMSEMITIC
ARABICARSEMITIC
ASSAMESEASINDIAN
AYMARAAYAMERINDIAN
AZERBAIJANIAZTURKIC/ALTAIC
BASHKIRBATURKIC/ALTAIC
BYELORUSSIANBESLAVIC
BULGARIANBGSLAVIC
BIHARIBHINDIAN
BISLAMABI[not given]
BENGALI;BANGLABNINDIAN
TIBETANBOASIAN
BRETONBRCELTIC
CATALANCAROMANCE
CORSICANCOROMANCE
CZECHCSSLAVIC
WELSHCYCELTIC
DANISHDAGERMANIC
GERMANDEGERMANIC
BHUTANIDZASIAN
GREEKELLATIN/GREEK
ENGLISHENGERMANIC
ESPERANTOEOINTERNATIONAL AUX.
SPANISHESROMANCE
ESTONIANETFINNO-UGRIC
BASQUEEUBASQUE
PERSIAN (farsi)FAIRANIAN
FINNISHFIFINNO-UGRIC
FIJIFJOCEANIC/INDONESIAN
FAROESEFOGERMANIC
FRENCHFRROMANCE
FRISIANFYGERMANIC
IRISHGACELTIC
SCOTS GAELICGDCELTIC
GALICIANGLROMANCE
GUARANIGNAMERINDIAN
GUJARATIGUINDIAN
HAUSAHANEGRO-AFRICAN
HINDIHIINDIAN
CROATIANHRSLAVIC
HUNGARIANHUFINNO-UGRIC
ARMENIANHYINDO-EUROPEAN (OTHER)
INTERLINGUAIAINTERNATIONAL AUX.
INTERLINGUEIEINTERNATIONAL AUX.
INUPIAKIKESKIMO
INDONESIANINOCEANIC/INDONESIAN
ICELANDICISGERMANIC
ITALIANITROMANCE
HEBREWIWSEMITIC
JAPANESEJAASIAN
YIDDISHJIGERMANIC
JAVANESEJVOCEANIC/INDONESIAN
GEORGIANKAIBERO-CAUCASIAN
KAZAKHKKTURKIC/ALTAIC
GREENLANDICKLESKIMO
CAMBODIANKMASIAN
KANNADAKNDRAVIDIAN
KOREANKOASIAN
KASHMIRIKSINDIAN
KURDISHKUIRANIAN
KIRGHIZKYTURKIC/ALTAIC
LATINLALATIN/GREEK
LINGALALNNEGRO-AFRICAN
LAOTHIANLOASIAN
LITHUANIANLTBALTIC
LATVIAN;LETTISHLVBALTIC
MALAGASYMGOCEANIC/INDONESIAN
MAORIMIOCEANIC/INDONESIAN
MACEDONIANMKSLAVIC
MALAYALAMMLDRAVIDIAN
MONGOLIANMN[not given]
MOLDAVIANMOROMANCE
MARATHIMRINDIAN
MALAYMSOCEANIC/INDONESIAN
MALTESEMTSEMITIC
BURMESEMYASIAN
NAURUNA[not given]
NEPALINEINDIAN
DUTCHNLGERMANIC
NORWEGIANNOGERMANIC
OCCITANOCROMANCE
AFAN (OROMO)OMHAMITIC
ORIYAORINDIAN
PUNJABIPAINDIAN
POLISHPLSLAVIC
PASHTO;PUSHTOPSIRANIAN
PORTUGUESEPTROMANCE
QUECHUAQUAMERINDIAN
RHAETO-ROMANCERMROMANCE
KURUNDIRNNEGRO-AFRICAN
ROMANIANROROMANCE
RUSSIANRUSLAVIC
KINYARWANDARWNEGRO-AFRICAN
SANSKRITSAINDIAN
SINDHISDINDIAN
SANGHOSGNEGRO-AFRICAN
SERBO-CROATIANSHSLAVIC
SINGHALESESIINDIAN
SLOVAKSKSLAVIC
SLOVENIANSLSLAVIC
SAMOANSMOCEANIC/INDONESIAN
SHONASNNEGRO-AFRICAN
SOMALISOHAMITIC
ALBANIANSQINDO-EUROPEAN (OTHER)
SERBIANSRSLAVIC
SISWATISSNEGRO-AFRICAN
SESOTHOSTNEGRO-AFRICAN
SUNDANESESUOCEANIC/INDONESIAN
SWEDISHSVGERMANIC
SWAHILISWNEGRO-AFRICAN
TAMILTADRAVIDIAN
TELUGUTEDRAVIDIAN
TAJIKTGIRANIAN
THAITHASIAN
TIGRINYATISEMITIC
TURKMENTKTURKIC/ALTAIC
TAGALOGTLOCEANIC/INDONESIAN
SETSWANATNNEGRO-AFRICAN
TONGATOOCEANIC/INDONESIAN
TURKISHTRTURKIC/ALTAIC
TSONGATSNEGRO-AFRICAN
TATARTTTURKIC/ALTAIC
TWITWNEGRO-AFRICAN
UKRAINIANUKSLAVIC
URDUURINDIAN
UZBEKUZTURKIC/ALTAIC
VIETNAMESEVIASIAN
VOLAPUKVOINTERNATIONAL AUX.
WOLOFWONEGRO-AFRICAN
XHOSAXHNEGRO-AFRICAN
YORUBAYONEGRO-AFRICAN
CHINESEZHASIAN
ZULUZUNEGRO-AFRICAN

Table A-3. Sorted By Language Group

Langauge NameCodeLanguage Family
AYMARAAYAMERINDIAN
GUARANIGNAMERINDIAN
QUECHUAQUAMERINDIAN
BHUTANIDZASIAN
BURMESEMYASIAN
CAMBODIANKMASIAN
CHINESEZHASIAN
JAPANESEJAASIAN
KOREANKOASIAN
LAOTHIANLOASIAN
THAITHASIAN
TIBETANBOASIAN
VIETNAMESEVIASIAN
LATVIAN;LETTISHLVBALTIC
LITHUANIANLTBALTIC
BASQUEEUBASQUE
BRETONBRCELTIC
IRISHGACELTIC
SCOTS GAELICGDCELTIC
WELSHCYCELTIC
KANNADAKNDRAVIDIAN
MALAYALAMMLDRAVIDIAN
TAMILTADRAVIDIAN
TELUGUTEDRAVIDIAN
GREENLANDICKLESKIMO
INUPIAKIKESKIMO
ESTONIANETFINNO-UGRIC
FINNISHFIFINNO-UGRIC
HUNGARIANHUFINNO-UGRIC
AFRIKAANSAFGERMANIC
DANISHDAGERMANIC
DUTCHNLGERMANIC
ENGLISHENGERMANIC
FAROESEFOGERMANIC
FRISIANFYGERMANIC
GERMANDEGERMANIC
ICELANDICISGERMANIC
NORWEGIANNOGERMANIC
SWEDISHSVGERMANIC
YIDDISHJIGERMANIC
AFAN (OROMO)OMHAMITIC
AFARAAHAMITIC
SOMALISOHAMITIC
ABKHAZIANABIBERO-CAUCASIAN
GEORGIANKAIBERO-CAUCASIAN
ASSAMESEASINDIAN
BENGALI;BANGLABNINDIAN
BIHARIBHINDIAN
GUJARATIGUINDIAN
HINDIHIINDIAN
KASHMIRIKSINDIAN
MARATHIMRINDIAN
NEPALINEINDIAN
ORIYAORINDIAN
PUNJABIPAINDIAN
SANSKRITSAINDIAN
SINDHISDINDIAN
SINGHALESESIINDIAN
URDUURINDIAN
ALBANIANSQINDO-EUROPEAN (OTHER)
ARMENIANHYINDO-EUROPEAN (OTHER)
ESPERANTOEOINTERNATIONAL AUX.
INTERLINGUAIAINTERNATIONAL AUX.
INTERLINGUEIEINTERNATIONAL AUX.
VOLAPUKVOINTERNATIONAL AUX.
KURDISHKUIRANIAN
PASHTO;PUSHTOPSIRANIAN
PERSIAN (farsi)FAIRANIAN
TAJIKTGIRANIAN
GREEKELLATIN/GREEK
LATINLALATIN/GREEK
HAUSAHANEGRO-AFRICAN
KINYARWANDARWNEGRO-AFRICAN
KURUNDIRNNEGRO-AFRICAN
LINGALALNNEGRO-AFRICAN
SANGHOSGNEGRO-AFRICAN
SESOTHOSTNEGRO-AFRICAN
SETSWANATNNEGRO-AFRICAN
SHONASNNEGRO-AFRICAN
SISWATISSNEGRO-AFRICAN
SWAHILISWNEGRO-AFRICAN
TSONGATSNEGRO-AFRICAN
TWITWNEGRO-AFRICAN
WOLOFWONEGRO-AFRICAN
XHOSAXHNEGRO-AFRICAN
YORUBAYONEGRO-AFRICAN
ZULUZUNEGRO-AFRICAN
FIJIFJOCEANIC/INDONESIAN
INDONESIANINOCEANIC/INDONESIAN
JAVANESEJVOCEANIC/INDONESIAN
MALAGASYMGOCEANIC/INDONESIAN
MALAYMSOCEANIC/INDONESIAN
MAORIMIOCEANIC/INDONESIAN
SAMOANSMOCEANIC/INDONESIAN
SUNDANESESUOCEANIC/INDONESIAN
TAGALOGTLOCEANIC/INDONESIAN
TONGATOOCEANIC/INDONESIAN
CATALANCAROMANCE
CORSICANCOROMANCE
FRENCHFRROMANCE
GALICIANGLROMANCE
ITALIANITROMANCE
MOLDAVIANMOROMANCE
OCCITANOCROMANCE
PORTUGUESEPTROMANCE
RHAETO-ROMANCERMROMANCE
ROMANIANROROMANCE
SPANISHESROMANCE
AMHARICAMSEMITIC
ARABICARSEMITIC
HEBREWIWSEMITIC
MALTESEMTSEMITIC
TIGRINYATISEMITIC
BULGARIANBGSLAVIC
BYELORUSSIANBESLAVIC
CROATIANHRSLAVIC
CZECHCSSLAVIC
MACEDONIANMKSLAVIC
POLISHPLSLAVIC
RUSSIANRUSLAVIC
SERBIANSRSLAVIC
SERBO-CROATIANSHSLAVIC
SLOVAKSKSLAVIC
SLOVENIANSLSLAVIC
UKRAINIANUKSLAVIC
AZERBAIJANIAZTURKIC/ALTAIC
BASHKIRBATURKIC/ALTAIC
KAZAKHKKTURKIC/ALTAIC
KIRGHIZKYTURKIC/ALTAIC
TATARTTTURKIC/ALTAIC
TURKISHTRTURKIC/ALTAIC
TURKMENTKTURKIC/ALTAIC
UZBEKUZTURKIC/ALTAIC
BISLAMABI[not given]
MONGOLIANMN[not given]
NAURUNA[not given]

PrevHomeNext
Creating a title DVDAuthor Man Pages
+\ No newline at end of file +Index: dvdauthor-0.6.14/html/manpages.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/manpages.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,183 @@ ++ ++DVDAuthor Man Pages
DVDAuthor
PrevNext

I. DVDAuthor Man Pages

Table of Contents
dvdauthor -- assembles multiple mpeg program streams into a suitable DVD filesystem
dvddirdel --  Deletes a previously authored DVD directory structure in DIR ++
dvdunauthor --  Removes DVD-Video file structure ++
mpeg2desc --  multiplex audio/video streams ++
spumux -- generates and multiplexes subtitles into an existing mpeg2 program stream
spuunmux --  demultiplexes subtitles from an existing mpeg2 program stream ++

PrevHomeNext
Language Codes dvdauthor
+\ No newline at end of file +Index: dvdauthor-0.6.14/html/r2253.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/r2253.html 2010-01-04 14:32:40.000000000 +0100 +@@ -0,0 +1,231 @@ ++ ++dvddirdel
DVDAuthor
PrevNext

dvddirdel

Name

dvddirdel --  Deletes a previously authored DVD directory structure in DIR ++

Synopsis

dvddirdel [-o DIR]

DESCRIPTION

dvddirdel deletes a previously authored DVD directory structure in DIR ++

USAGE

dvddirdel -o DIR ++

CAVEATS

None. ++

BUGS

None. ++

AUTHOR

Marc Leeman ++


PrevHomeNext
dvdauthorUpdvdunauthor
+Index: dvdauthor-0.6.14/html/r2287.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/r2287.html 2010-01-04 14:32:30.000000000 +0100 +@@ -0,0 +1,223 @@ ++ ++dvdunauthor
DVDAuthor
PrevNext

dvdunauthor

Name

dvdunauthor --  Removes DVD-Video file structure ++

Synopsis

dvdunauthor [path]

DESCRIPTION

dvdunauthor removes the DVD-Video file structure ++

USAGE

dvdunauthor path ++

CAVEATS

None. ++

BUGS

None. ++

AUTHOR

Marc Leeman ++


PrevHomeNext
dvddirdelUpmpeg2desc
+Index: dvdauthor-0.6.14/html/r2319.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/r2319.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,342 @@ ++ ++mpeg2desc
DVDAuthor
PrevNext

mpeg2desc

Name

mpeg2desc --  multiplex audio/video streams ++

Synopsis

mpeg2desc [-a stream] [-v stream] [-o FILE] [-s ] [-m ] [-h ] [< movie.mpg...]

DESCRIPTION

mpeg2desc multiplexes audio and video streams ++

OPTIONS

-a stream

Output audio stream to stdout ++

-v stream

Output video stream to stdout ++

-o FILE

output the previous stream to FILE instead of stdout ++

-s

skip to first valid header -- ensures mplex can handle output ++

-m

output mplex offset to stdout ++

-h

show short help ++

USAGE

mpeg2desc mpeg2desc [options] < movie.mpg ++

CAVEATS

None. ++

BUGS

None. ++

AUTHOR

Marc Leeman ++


PrevHomeNext
dvdunauthorUpspumux
+\ No newline at end of file +Index: dvdauthor-0.6.14/html/spumux.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/spumux.html 2010-01-04 14:33:15.000000000 +0100 +@@ -0,0 +1,496 @@ ++ ++spumux
DVDAuthor
PrevNext

spumux

Name

spumux -- generates and multiplexes subtitles into an existing mpeg2 program stream

Synopsis

spumux [-m dvd | -m cvd | -m svcd] [-s stream] [-v level] [-P] {file} {< mpeg} {> mpeg-with-subtitles}

Description

spumux encodes the subtitles and multiplexes it into the mpeg2 program stream.

-m mode

Sets the encoding for the subtitles. Can be dvd, cvd, or svcd. ++Default is dvd.

-s stream

Sets the subtitle stream id. Default is 0.

-v level

Sets the verbosity level.

-P

Enables a progress bar.

Here's a sample configuration file:

<subpictures>
++   <stream>
++      <spu start="start-time" [ end="end-time" ] [ image="picture.png" ]
++           [ highlight="picture.png" ] [ select="picture.png" ]
++           [ transparent="color-code" ] [ force="yes" ]
++           [ autooutline="infer" [ outlinewidth="width" ]
++             [ autoorder="rows" | autoorder="columns" ] ]
++           [ xoffset="x-coord" yoffset="y-coord" ] >
++         <button [ name="name" ] [ x0="x0" ] [ y0="y0" ] [ x1="x1" ]
++                 [ y1="y1" ] [ up="name" ] [ down="name" ]
++                 [ left="name" ] [ right="name" ] />
++         <action [ name="name" ] />
++      </spu>
++   </stream>
++</subpictures>

Each subtitle image is described by an <spu> tag. The start and ++optional end attributes describe when the subtitle will be displayed ++on the screen, in "HR:MM:SS.HU". The image attribute describes the ++main subtitle image, which can either be a PNG or BMP file. If your ++image is not a full screen image, you can use xoffset and yoffset to ++move the picture around. In the advent that the author is unable to ++use a graphics format with an alpha channel, then the transparent ++attribute can be used to describe which color should become fully ++transparent. The color is in hexadecimal as "RRGGBB". If you want to ++force the display of the subtitle, regardless of whether the user has ++enabled subtitles or not, you can use the force tag. When you are ++making menus, the force tag is required.

The remaining attributes and tags are related to menu creation. The ++highlight attribute shows what all the buttons look like when they are ++highlighted (i.e. when you are using the arrows in the menu), and the ++select attribute shows what all the buttons look like when the are ++selected (i.e. for the 1-2 seconds after you press enter in the menu). ++If either of these (or the image attribute) are omitted, then spumux ++creates a blank (totally transparent) image. Obviously at least one ++tag should be specified.

To aid in button creation, the autooutline attribute instructs spumux ++to infer where the buttons are located. It does this by attempting to ++draw rectangles around a composition of the highlight and select ++images which do not intersect any opaque or semi-opaque pixels. In ++order to support textual buttons, the attribute outlinewidth allows ++you to specify the width of the rectangle which is tested. Wider ++rectangles won't be able to squeeze between the letters. Finally, ++autoorder describes which way to order the automatically detected ++buttons, which is important for numerically selected buttons and for ++mapping buttons to button names or to the implied names.

The button and action tags describe the buttons (visibly selectable ++objects on the screen) and actions (commands that are executed as soon ++as the associated key is pressed on the remote). If you are using the ++autooutline feature, just designing buttons, are happy with the ++inferred button navigation, and can deal with the simplistic naming ++system, then you actually do not even need to specify any buttons or ++actions. Otherwise, read on.

The name attribute is used to give a button or action an easy to refer ++to name. By default they are numbered sequentially starting with "1". ++The up, down, left, and right names describe which button or action ++should be tied to the corresponding key when the current button is ++highlighted, though if omitted spumux will use a reasonably ++intelligent algorithm to determine which buttons to move to.

The (x0,y0) coordinates describe the upper left hand corner ++inclusively, while the (x1,y1) coordinates describe the lower right ++hand corner EXclusively. The coordinates start at 0,0 for the upper ++left hand corner. Ideally, the y0 and y1 coordinates should both be ++even, so the button edges fully empasses two interlaced scanlines, ++even if there is no data in the extra scanline. Some DVD players will ++fill in the extra scanline if it is not specified; spumux makes an ++effort to ensure that will be transparent but there is no guarantee.

Handling text based subtitles

Spumux is also able to handle text subtitles, which will be rendered to ++graphics by spumux. A lot of different text (must be non-graphic) formats ++are supported (.sub, .srt, .ssa, .smi, .rt , .txt, .aqt, .jss, .js, ass). ++Spumux will try to determine the format automatically.

If processing textbased subtitles no other streams can be defined, buttons ++or others need to be processed in another pass with spumux, using another ++xml file.

Following .xml file shows the available tags and their default settings. ++Only the textsub tag is mandatory, defaults are used if the specific tag ++is not specified.

<subpictures>
++   <stream>
++      <textsub filename="demo1.srt" characterset="ISO8859-1"
++         fontsize="28.0" font="arial.ttf" horizontal-alignment="left"
++         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"
++         force="yes"
++      />
++   </stream>
++</subpictures>

The textsub tag defines the settings for the text to graphics rendering.

The filename attribute defines the path and name of the input text subtitle ++file, this is the only attribute that is mandatory.

The characterset attribute defines the characterset to be used, available ++charactersets can be found at http://www.gnu.org/software/libiconv.

The fontsize attribute defines the size of the font in font units. ++The font attribute defines the font used. Spumux will look into the home ++directory in subdirectory .spumux for fonts on linux systems and will ++look into the windows/fonts and subdirectory spumux of the cygwin/mingw ++home directory and into the exucution directory for windows based ++execution for the specified font. Looking for free fonts? One listing is ++here http://www.microsoft.com/typography/links/links.asp?type=free&part=1 ++(this is only about fonts, not about operating systems).

The horizontal-alignment attribute defines the horizontal alignment of the ++subtitles. Options are: "left", "right", "center" and "default". ++The "default" value causes spumux to use the attribute that is in the text ++subtitle file if the format supports such an attribute.

The vertical-alignment attribute defines the vertical alignment. ++Options are: "top", "center" and "bottom".

The margin attributes define the minimum blank pixel space between the ++border of the image and the border of the subtitle lines.

Defining the subtitle-fps and movie-fps attributes make it possible for ++spumux to recalculate the subtitle timing if these are not the same.

The movie-width and movie-height attributes define the maximum size of ++the subtitle page, these shouldn't be larger than the fram-size of the ++movie frame, normally they are the same. Some DVD-players more like ++subtitle frames that are 2 or 4 pixels smaller in height.

The force option allows you to force the display of the subtitle, ++regardless of whether the user has enabled subtitles or not.


PrevHomeNext
mpeg2descUpspuunmux
+Index: dvdauthor-0.6.14/html/spuunmux.html +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ dvdauthor-0.6.14/html/spuunmux.html 2010-01-04 14:32:00.000000000 +0100 +@@ -0,0 +1,340 @@ ++ ++spuunmux
DVDAuthor
Prev 

spuunmux

Name

spuunmux --  demultiplexes subtitles from an existing mpeg2 program stream ++

Synopsis

spuunmux [input file] [input file...]

DESCRIPTION

spuunmux demultiplexes subtitles from an existing mpeg2 program stream ++

OPTIONS

-o name

base name for script and images. Defaults to sub. ++

-v level

verbosity level. sub. Defaults to 0. ++

-f

resize images to full size. Defaults to 720x576. ++

-s stream

number of the substream to extract. Defaults to 0. ++

-p file

name of file with dvd palette. If palette file ends with .rgb, treated as a RGB else as a YCbCr color ++

-h

print this help ++

-V

print version number ++

USAGE

spuunmux inputfile1 inputfile2 ++

demultiplexes subtitles from an existing mpeg2 program stream. To use stdin for demultiplexing, use - for the inputfile: ++

play_cell GoldFinger.iso 1 1 6 | spuunmux - ++

CAVEATS

None. ++

BUGS

None. ++

AUTHOR

Marc Leeman ++


PrevHome 
spumuxUp 
+\ No newline at end of file --- dvdauthor-0.7.0.orig/debian/patches/dvdauthor.help.diff +++ dvdauthor-0.7.0/debian/patches/dvdauthor.help.diff @@ -0,0 +1,14 @@ +Send help info to stdout instead of stderr (dvdauthor) +Index: dvdauthor-0.6.18/src/dvdcli.c +=================================================================== +--- dvdauthor-0.6.18.orig/src/dvdcli.c 2010-03-24 13:51:22.486996164 +0100 ++++ dvdauthor-0.6.18/src/dvdcli.c 2010-03-24 13:51:31.886981892 +0100 +@@ -278,7 +278,7 @@ + #define LONGOPT2(x,y) y + #endif + +- fprintf(stderr, ++ fprintf(stdout, + "syntax: dvdauthor [-o VTSBASE | -n] [options] VOBFILE(s)\n" + "\n\t-x XMLFILE where XMLFILE is a configuration file describing the\n" + "\t structure of the DVD to create. If you use a config file, then you\n" --- dvdauthor-0.7.0.orig/debian/patches/series +++ dvdauthor-0.7.0/debian/patches/series @@ -0,0 +1,3 @@ +dvdauthor.help.diff +update-html-doc.diff +dvdauthor.manpage.diff