
                  AVI to WAV extractor version 3.1
              32-bit command line version release 1.0a

               Coypright (c) 1997-2000 m&g Software
             By Arminio Grgic <Arminio.Grgic@USA.Net>


  ----------------------------------------------------------------
           For details about extraction and functionality,
                     see help for GUI version
  ----------------------------------------------------------------
  * Maximize for best view *



ABOUT
-----
	Command line version of AVI to WAV extractor has the same
  functionality as corresponding GUI version but it is suitable for
  useage within BATCH files or from some other applications used for
  automatization purposes.


USEAGE
------

  Useage: AVI2WAVCMD filename[.avi] [filename[.wav]] | [/INFO]

  *  First parameter: You must specify AVI filename with or without
  full path. If you do not specify extension, .AVI will be used.
  Wildchards are not allowed.

  *  Second parameter:
	- can be name of file which will contain extracted audio
  (AVI2WAVCMD will create it). If you do not specify extension, .WAV
  will be used. If you specify only path, use '\' at end.
        - parameter /INFO which gives information about audio from
  AVI file

  If you ommit second parameter, program will use AVI name for WAV
  file (with extension WAV offcourse).

  Examples:

        AVI2WAVCMD movie
          - Extract from MOVIE.AVI from current directory and save to
          MOVIE.WAV in current directory.

        AVI2WAVCMD movie.avi movie_music
          - Extract from MOVIE.AVI from current directory and save to
          MOVIE_MUSIC.WAV in current directory.

        AVI2WAVCMD movie.avi /info
          - Gives audio info for MOVIE.AVI from current directory

        AVI2WAVCMD e:\movie.avi i:\wavs\movie_music
          - Extract from E:\MOVIE.AVI and save to MOVIE_MUSIC.WAV in
          directory I:\WAVS

        AVI2WAVCMD e:\movie.avi i:\wavs\
          - Extract from E:\MOVIE.AVI and save to MOVIE.WAV in
          directory I:\WAVS


  You can use errorlevels to test result of extracting:

  * Errorlevels from 0 to 199 represents correct finish of extracting
  proccess or correct finish of gathering audio information (if use
  /INFO parameter). Depending on errorlevel value, you can know what
  type of audio file you get and then you can do appropriate thing with
  it automatically (e.g. convert to some other type using other
  conversion software, etc.)

          0: Microsoft PCM Format
          1: Microsoft ADPCM Format
          2: IEEE Float
          3: Compaq Computer's VSELP
          4: IBM CVSD
          5: Microsoft ALAW
          6: Microsoft MULAW
          7: OKI ADPCM
          8: Intel's DVI ADPCM
          9: Videologic's MediaSpace ADPCM
         10: Sierra ADPCM
         11: G.723 ADPCM
         12: DSP Solution's DIGISTD
         13: DSP Solution's DIGIFIX
         14: Dialogic OKI ADPCM
         15: MediaVision ADPCM (ADPCM for Jazz 16 chip set)
         16: HP CU
         17: Yamaha ADPCM
         18: Speech Compression's Sonarc
         19: DSP Group's True Speech
         20: Echo Speech's EchoSC1
         21: Audiofile AF36
         22: APTX
         23: AudioFile AF10
         24: Prosody 1612 (Prosody CTI Speech Card)
         25: LRC
         26: Dolby AC2
         27: GSM 6.10
         28: MSNAudio (Microsoft MSN Audio Codec)
         29: Antex ADPCME
         30: Control Res VQLPC
         31: Digireal
         32: DigiADPCM
         33: Control Res CR10
         34: NMS VBXADPCM
         35: Roland RDAC (proprietary format)
         36: EchoSC3 (proprietary compressed format)
         37: Rockwell ADPCM
         38: Rockwell Digit LK (Rockwell DIGITALK)
         39: Xebec
         40: Antex Electronics G.721
         41: G.728 CELP
         42: MSG723
         43: MPEG
         44: RT24
         45: PAC
         46: MPEG Layer 3
         47: Lucent G.723
         48: Cirrus
         49: ESPCM
         50: Voxware (obsolete !)
         51: Canopus Atrac (ATRACWAVEFORMAT)
         52: G.726 ADPCM
         53: G.722 ADPCM
         54: DSAT
         55: DSAT Display
         56: Voxware Byte Aligned (obsolete !)
         57: Voxware AC8 (ID obsolete !)
         58: Voxware AC10 (ID obsolete !)
         59: Voxware AC16 (ID obsolete !)
         60: Voxware AC20 (ID obsolete !)
         61: Voxware MetaVoice
         62: Voxware MetaSound
         63: Voxware RT29HW (ID obsolete !)
         64: Voxware VR12 (ID obsolete !)
         65: Voxware VR18 (ID obsolete !)
         66: Voxware TQ40 (ID obsolete !)
         67: Softsound
         68: Voxware TQ60 (ID obsolete !)
         69: MSRT24
         70: G.729A
         71: MVI MV12
         72: DF G.726
         73: DF GSM610
         74: ISIAudio
         75: Onlive
         76: SBC24
         77: Dolby AC3 SPDIF
         78: ZyXEL ADPCM
         79: Philips LPCBB
         80: Packed
         81: Rhetorex ADPCM
         82: BeCubed Software's IRAT
         83: Vivo G.723
         84: Vivo Siren
         85: Digital G.723
         86: Creative ADPCM
         87: Creative FastSpeech8
         88: Creative FastSpeech10
         89: Quarterdeck
         90: FM Towns Snd
         91: BTV Digital (Brooktree digital audio format)
         92: VME VMPCM
         93: OLIGSM
         94: OLIADPCM
         95: OLICELP
         96: OLISBC
         97: OLIOPR
         98: LH Codec
         99: Norris
        100: ISIAudio
        101: Soundspace Music Compression
        102: DVM

	198: Microsoft Unknown Wave Format
        199: Other/unknown/undefined audio format

  * Errorlevels from 200 to 255 represents incorrect finish of extracting
  or info:
        200:  Help screen shown - program started without parameters
        201:  AVI file does not exists
        202:  Access to AVI file denied
        203:  Cannot create WAV
        204:  AVI does not contain audio (no audio chunks in AVI)
        205:  File is not in AVI format
        206:  File is not in indexed AVI format
        255:  Extracting canceled by user

  Extracting can be canceled in any time using CTRL+C or CTRL+BREAK and
  WAV file will be partially created.


DISCLAIMER
----------
  Program is Freeware but copyrighted.

  YOU MAY NOT SELL OR CHANGE THIS PROGRAM OR ANY OTHER PART OF THIS
  PROGRAM OR DOCUMENTATION !

  DISTRIBUTION OF THIS PROGRAM MUST BE FREE AND IN ORIGINAL FORM WITH
  ALL FILES INCLUDED AND INTACT.

  Every effort has been made to ensure that no problems occur with its
  usage but the author makes no warranties about it and accepts no
  responsibility for any data loss or other system trouble that may
  occur from its useage.

  Please report any ideas, remarks, bugs etc.

  Thanx for using AVI to WAV !

  Arminio.Grgic@USA.Net
  http://www.geocities.com/agrgic.geo/arminio.htm

