			
				        	* AVInfo v 0.5 *

Designation: reading avi file header and print avi data (resolution,
length, type of codecs, etc)

Usage:
or
        avifile movie.avi ["template_header"] ["template_stream"]
or
        avifile --help

(for the template_header):      (for the template_stream):

^^ - ^                        $$ - $
^! - <cr> symbol              $f - fccType (vids/auds)
^f - fps                      $h - fccHandle (div3,vox,etc)
^x - Width                    $F - Flags
^y - Height                   $i - InitialFrames
^r - dwScale                  $r - Rate
^a - Rate                     $s - Start
^F - MicroSec Per Frame       $l - Length
^t - Streams                  $b - SuggestedBufferSize
^L - TotalFrames              $q - dwQuality
^l - length (in sec)          $S - dwSampleSize


video codec            ^v (e.g. div3, xvid, dv50, mjpg, etc)
bits per pixel         ^B (e.g. 4, 8, 16, 24)
format tag             ^w (number) (todo - convert to text view)
Samples per second     ^D (e.g. 44100, 48000, 22050, 11025)
Chanels                ^C (e.g. 1, 2, 6)
Mono/Stereo/Number     ^c (generating from ^C e.g. Stereo, Mono, 3)



for strf vids:
(video stream format data):      (audio stream format data)

#s - Size                       #f - wFormatTag
#w - Width                      #H - nChannels
#h - Height                     #p - nSamplesPerSec
#p - Planes                     #a - nAvgBytesPerSec
#c - BitCount                   #b - nBlockAlign
#C - Compression                #B - wBitsPerSample
#S - SizeImage                  #z - cbSize
#X - XPelsPerMeter
#Y - YPelsPerMeter
#u - ClrUsed
#i - ClrImportant

Sample of template_header:
        ^xx^y
        ^xx^y, ^l sec, ^f fps.^!

Sample of template_streams: "Stream $n: $f, $h"

Instead template you can use some of the predefined switches:

--description  line for descript.ion
--short  short line for descript.ion
--far  output for FAR manager (use 	edit:< avinfo "!.!" --far)
--struct-report  programmers output (all data)
--struct-report-7 some one like above, but without pseudographics.


Sample of program usage:

        for %a in (*.avi) do avinfo %a "%a" --description>>descript.ion
(collect data about avi files in cuttent directory to the descript.ion file)

for w2k/XP:
        for /R c:\ %a in (*.avi) do avinfo "%a" --short >>myavilist.txt
(collect data about all avi files in drive c:)

in accociation in FAR Manager for *.avi files:

		edit: <avinfo "!.!" --far

Licensing:

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License (copying) for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

(c) George Shunklin 2002,  gs@anime.org.ru

home page: http://anime.org.ru/soft/avinfo/
