StreamAnalyze is a little helper for people using StreamDVD to backup movies.
Giving the video/audio/subpicture tracks you want to save StreamAnalyze will
calculate if the backup would fit on a dvd-r and, if not, prints a shrink factor
to reduce the video size.
Before using StreamAnalyze you should call 'lsdvd' or 'tcprobe' to get an overview
what's available on the video dvd you want to backup.



Requirements:
  libdvdread >= 0.9.2



Install:
  Just unpack the archive, cd into the created directory and type 'make', then 'make install'. 
  The default installation directory is '/usr/local/bin', to change this you should edit the
  path in the Makefile.



Usage:
  streamanalyze -i device -t title [-c chapter|chapter range] [-s stream(s)] [-v] [-h]

  -i <device>
     the input device defines the data source. This could be the devicefile of your DVD drive (on most
     systems this might be /dev/dvd) or a directory containing the DVD file structure (VIDEO_TS, AUDIO_TS).

  -t <title number>
     selects the title number.

  -c <chapter|chapter range>
     selects the chapter(s) to process (default all chapters)
     To process a single chapter, use: -c chapternumber   i.e.: -c 1
     To process a chapter range, use : -c start-stop      i.e.: -c 1-5

  -s <stream(s)>
     selects the video/audio/subpicture streams (default all streams)

     Videostream id's always start with '0xen' where n is the track number. In most cases a video DVD
     contains only one video stream '0xe0', multiangle videos might contain more video streams.

     Audiostream id's always start with '0x8n' where n is the track number. Most video DVDs contain
     multiple audiostreams in different languages, director comments, ...
     There's a special case for MPEG audiostreams, that are pretty rare to find. Anyway if you have
     a dvd containing MPEG audiostreams and want to select one of them, use 0xcn as identifier where
     n is the tracknumber (also special, counting starts from 1).

     Subpicturestream id's always start with '0x2n' where n is the track number. Most video DVDs contain
     multiple subpicture streams in different languages.

     Example:
       to select only the first video and audio track: 
          -s 0xe0,0x80
       to select first video, 2nd and 3rd audio and first subpicture track: 
          -s 0xe0,0x81,0x82,0x20
       special case: select only the first video and mpeg audio track:
          -s 0xe0,0xc1

  -v 
    print version info and exit

  -h
    print short usage info and exit



Changelog:
  0.4          - fixed another bug in LPCM detection
  0.3          - added MPEG Audio bitrate detection
               - fixed problems with AC3 Audio bitrate detection
               - added detection for LPCM Audio (but still no bitrate calculation)
               - probing now checks selected chapters (0.2 checked at vob start only)
  0.2          - completely rewritten
  0.1          - first public version



Contact:
  To send comments, suggestions or bug reports mail to: GeniusR13@gmx.net
  Get the latest version at http://www.badabum.de/streamdvd.html


