Reading and writing uncompressed AVI [message #59606] |
Wed, 02 April 2008 04:53  |
MichaelT
Messages: 52 Registered: May 2006
|
Member |
|
|
Dear all,
I have recently tried to read (and write) uncompressed 8bit gray scale
AVIs with IDL. I found Kilvarock's aviIDL63.zip and tried it out - but
I don't get it to work... Can anybody help me there? What do I have to
do if I want to read (and write) an AVI written as Y800 codec (which
is uncompressed 8bit gray scale)? Is it possible at all?
When I use testavigenreader and read one of the files, width, height,
and numberOfFrames are all zero.
Before I found aviIDL63.zip I had already written a routine which
reads uncompressed avis. I'm also able to write them, sort of, as
there are some bits that I couldn't work out (the bit about the color
tables). At least the program I wanted to use them with (Registax)
understands them. Other programs don't and complain about an unknown
codec...
Michael
|
|
|
|
|
|
Re: Reading and writing uncompressed AVI [message #60628 is a reply to message #60424] |
Thu, 29 May 2008 16:52  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
MichaelT wrote:
> Ok, now I finally had time to try this out :-)
> I used testAviGenerator and wrote a fully uncompressed AVI. I was able
> to read it with testavigenreader and also with media player.
> When I started testAviGenerator I had to choose the Codec. What
> determines which codecs appear in this list? The ones that are
> installed on my computer? Because DivX is installed but not listed.
> Can I add other codecs?
>
> That finally, seems to be the problem then.
All codecs registered with "Video For Windows" (which is an old
multimedia API for windows) will show up. I know that older versions of
DivX worked with VFW but I haven't worked with DivX in years. My guess
is that they dropped that interface?
You can always create uncompressed AVI files and encode them in another
application. Quicktime Pro, Windows Media Encoder, or the one I use,
VideoMach. I'm sure there are many more...
-r
|
|
|