]> git.decadent.org.uk Git - videolink.git/blobdiff - README
Brought documentation up-to-date.
[videolink.git] / README
diff --git a/README b/README
index 9c2ee0314200a8178b82965f87a528962055951f..e075060bcad5bc90905fb9d1a82f2826b9d09099 100644 (file)
--- a/README
+++ b/README
@@ -30,35 +30,60 @@ Usage
 -----
 
 Design your DVD menus as a series of HTML pages linking to each other
-and to MPEG-1/2 videos that are suitable for use on a DVD.  Currently
-the videos must be local files with filenames ending in ".vob", but no
-such restrictions apply to the HTML pages.  You must be careful not to
-link to pages that you do not want to appear on the disc, such as
-normal web sites.  Also note the limitations listed below.
+and to MPEG-1/2 videos that are suitable for use on a DVD.  You must
+be careful not to link to pages that you do not want to appear on the
+disc, such as normal web sites.  Also note the limitations listed
+below.
+
+Linking to video
+
+You can link directly to local MPEG video files whose names end in
+".vob".  If you wish to combine multiple files into a single video
+sequence ("title" in DVD terminology) or to add chapter marks to a
+video sequence, create a text file whose name ends in ".voblist" and
+containg <vob> elements as described in the dvdauthor manual page, and
+link to that.  Note that these list files are currently included
+directly in the control file that WebDVD passes to dvdauthor, which
+means that file names in them will be resolved relative to the current
+directory rather than the directory containing the list file.  This is
+probably a bug.
+
+You can link to a title and begin playback at the beginning of a
+specific chapter by adding "#" and then the chapter number to the end
+of the URL.
+
+Video standards
 
 By default, webdvd generates PAL/SECAM video.  If you wish to produce
 NTSC DVDs you can override this by adding the option "--video-std ntsc"
 to the following commands.
 
+Preview
+
 To get a rough preview of the menus, run "webdvd --preview menu-url"
-where menu-url is the URL of the first page to show.  Currently
-videos cannot be displayed in this preview mode; if you select one it
-will cause WebDVD to exit.
+where menu-url is the URL or filename of the first page to show.
+Currently videos cannot be displayed in this preview mode.
+
+Processing
 
 To create a DVD filesystem, run "webdvd menu-url output-dir" where
-menu-url is the address of the top menu page and output-dir is the
-directory in which to create the filesystem (which should be either
-nonexistent or empty).  WebDVD will automatically follow links to the
-other pages and to the video files.
+menu-url is the URL or filename of the top menu page and output-dir is
+the directory in which to create the filesystem (which should be
+either nonexistent or empty).  WebDVD will automatically follow links
+to the other pages and to the video files.
 
-If this is successful you can then use mkisofs to create a DVD image:
+If this is successful you can then use mkisofs to create a DVD image
+from the output directory.  Alternately you can write this directory
+directly to a writable DVD with growisofs or with mkisofs piped to a
+suitable version of cdrecord.
 
-    mkisofs -dvd-video DIR > IMAGE
-    rm -rf DIR
+Example
+-------
 
-Alternately you can write the filesystem directly to a writable DVD
-with growisofs or with mkisofs piped to a suitable version of
-cdrecord.
+A live example set of menus can currently be found at
+<http://womble.decadentplace.org.uk/software/debconf5-dvd/menus/main.html>.
+Note that this has large background images that will take some time to
+load.
 
 Limitations
 -----------
@@ -67,8 +92,15 @@ Each page must fit within the frame - DVD players do not support
 scrolling menus and WebDVD currently is not able to split them into
 multiple menus.  Note also that the video frame is somewhat larger
 than the visible area of a normal TV.  For this reason WebDVD applies
-a stylesheet to all pages that adds 50-60 pixels of padding on all
-sides of the body.
+a stylesheet to all pages that adds 60 pixels of padding on all sides
+of the body.
+
+Prior to Mozilla version 1.8, which I have not yet tested, Mozilla may
+signal that a page is completely loaded before any background images
+are loaded and displayed.  This results in snapshots that do not
+include background images.  You can work around this by using
+absolutely-positioned "inline" images, or attempt to build WebDVD
+against Mozilla 1.8.
 
 DVD players do not have "back" buttons, so you should generally
 provide links to "higher" menu pages.  However, they do have a button
@@ -91,7 +123,11 @@ The DVD specification also limits the overlays that are used for
 highlighting of buttons to using no more than 4 colours.  WebDVD will
 reduce link highlighting to 1 transparent and 3 opaque colours using
 Floyd-Steinberg dithering, which is certainly good enough for
-anti-alised text but may not be so good for complex highlighting.
+anti-aliased text but may not be so good for complex highlighting.
+
+There is a limit of 99 "titlesets" (groups of video sequences) on a
+DVD.  Currently WebDVD does not attempt to group video sequences
+together, so there is a limit of 99 video sequences altogether.
 
 Author and copyright
 --------------------