]> git.decadent.org.uk Git - videolink.git/blobdiff - README
Implemented preview mode. Updated documentation accordingly.
[videolink.git] / README
diff --git a/README b/README
index 9e3b82b15c4d60d5c3dae9fd469659ae25ed4f5a..9c2ee0314200a8178b82965f87a528962055951f 100644 (file)
--- a/README
+++ b/README
@@ -29,23 +29,36 @@ DVD-suitable MPEG-1 or MPEG-2 video files.
 Usage
 -----
 
-Run "webdvd URL DIR" where URL is the URL for the page that is to be
-the top menu of the DVD and DIR is the directory in which to create
-the DVD filesystem (which should be missing or empty).  It will
-automatically follow links to other pages and to video files,
-rendering each page.  You must be careful not to link to pages that
-you do not want to appear on the disc, such as normal web sites.
+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.
 
 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".
+NTSC DVDs you can override this by adding the option "--video-std ntsc"
+to the following commands.
 
-If webdvd runs successfully you can use mkisofs to create a DVD image:
+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.
+
+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.
+
+If this is successful you can then use mkisofs to create a DVD image:
 
     mkisofs -dvd-video DIR > IMAGE
     rm -rf DIR
 
 Alternately you can write the filesystem directly to a writable DVD
-with growisofs or mkisofs plus a suitable version of cdrecord.
+with growisofs or with mkisofs piped to a suitable version of
+cdrecord.
 
 Limitations
 -----------
@@ -57,6 +70,10 @@ 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.
 
+DVD players do not have "back" buttons, so you should generally
+provide links to "higher" menu pages.  However, they do have a button
+for returning to the top menu.
+
 WebDVD sends a "mouseover" event for each link and sets it into its
 "hover" state, then records how this changes its appearance.  This
 change is then shown when the corresponding button on the DVD menu is