AVIInfo
(string filename, string info, int
"stream")
Version 0.3. April 17th,
2005
Copyright (C) 2004-2005 Trevlac
contact: wilbertdijkhof at yahoo.com
AVIInfo
gives information about the streams in the clip without
loading any frames. filename can be a WAV file or an AVI file with several audio
streams (it won't open AVI files with embedded subtitles though). It will return
the info as a string.
info
The following info is available
property | explanation |
type (in combination with stream option) | what type of stream (video or audio stream) |
fourCC | fourCC of videostream |
framerate (audio: samplerate) | |
width | width of video |
height | height of video |
length | no. of frames (audio: no. of samples) |
skew | skew (ie. delay of audiostream) |
stream (default 1)
Stream is indicates which stream you want to have info about. For example
AVIInfo("F:\TestStreams\clip.avi", info="type", stream=1)
indicate whether it is a video or audio stream.
AVIInfo("F:\TestStreams\clip.avi", info="framerate", stream=1)
gives the framerate (samplerate if it is an audiostream) of stream 1.
v0.3, 17th April 2005 (by Wilbert)
v0.2, 10th April 2005 (by Wilbert)
v0.1, 6th April 2005 (by Trevlac)