WHAT DOES IT DO
      tosvcd takes one or more recorded vdr files and transcodes
      them to a SVCD image file ready for cdrdao to burn.
      Some functions:
            - synchronises Video/Audio
            - tries to repair demaged streams
            - split output(with help of mpeg2enc)
            - invoke yuvscaler, if input is not 480x576
            - invoke noise filter on request
            - predicts finish time
            - predicts final output size
            - restarts if output size exceeds CD's capacity
              to enable full automatic operation
            - invoke mplex and vcdimager
            - automatically determine number of output CD's

REQUIREMENTS
      Tools from mjpeg project
            - mpeg2enc
            - yuvdenoise
            - yuvscaler
            - mplex
      latest Version (1.6.0.beta2) from http://mjpeg.sourceforge.net/
      required.

            - vcdimager  (http://www.vcdimager.org/)
              (i am using version 0.7.12)

      To burn a svcd image you also need cdrdao
      (htpp://cdrdao.sourceforge.net/)


COMPILE
      load source from "http://muse.seh.de/tosvcd"
      make
      make install

RUN
         tosvcd flags vdr-movie-directory

            flags:
                  -V       print version
                  -v       verbose output
                  -o name  mpeg output file name (without extension, default: "mops")
                  -q nn    quality setting for encoder (1-31)
                           (start setting for 'automatic' mode)
                           1 is best quality
                  -s nn    CD-Size in MB, default: 800
                           used to split output
                  -m       input is monochrome
                  -w nn    blank nn*4 lines from top and bottom
                           (widescreen option)
                  -n       invoke denoiser
                  -1       produce vcd compatible output
                           (NOTE: NOT TESTED!)
                  -U       don's read marks.vdr, transcode whole
                           uncutted movie
                  -c nn    transcode for nn CD's; override default
                           setting (60min/CD)

      vdr-movie-directory:
            vdr directory containing 0??.vdr and index.vdr files

      tosvcd reads index.vdr and marks.vdr before transcoding.


USAGE EXAMPLE
      Example commands to encode DVB-VDR recording to SVCD:

      DIR=/video/%Mein_Lieblingsfilm/2000-00-11.11:11.11.11.rec
      tosvcd  -c2 -o mops $DIR
            tosvcd creates some temporary files:
                  mops.mpa   contains mpeg audio stream
                  mops.mpv   contains mpeg video stream
                  mops.mpg   multiplexed audio/video
                  videopipe  named pipe
            On successfull exit the temp files are removed and you get
            the image files mops-%d.bin and cue files mops-%d.cue

      su -c "cdrdao write --device 1,2,0 --driver generic-mmc-raw --speed 24 --overburn mops-1.cue"
        (starting cdrdao as root enables real time scheduling)
      su -c "cdrdao write --device 1,2,0 --driver generic-mmc-raw --speed 24 --overburn mops-2.cue"

      Normally i do not recode sound. This results in not conforming
      SVCDs (DVB is 48000 samples/sec, SVCD requires 44100 samples/sec).
      My DVD player has no problems playing this SVCD's.


KNOWN BUGS
      Cannot handle more than one audio stream.
      Size calculation is somtimes bad.

LICENCE
      This programm is published under the GNU General
      Public License (GPL) (see COPYING)

COPYRIGHT
      Copyright (C) 2002 by Werner Schweer

CONTACT
      - current versions of tosvcd can be found at http://muse.seh.de/tosvcd/
      - mail to ws@seh.de

CONTRIBUTORS
      tosvcd uses code from "mpeg decoder"
      Copyright (C) 1999-2001 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>

