comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading and writing uncompressed AVI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Reading and writing uncompressed AVI [message #59606] Wed, 02 April 2008 04:53 Go to next message
MichaelT is currently offline  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 #59690 is a reply to message #59606] Mon, 07 April 2008 09:07 Go to previous messageGo to next message
rtowler is currently offline  rtowler
Messages: 28
Registered: June 2006
Junior Member
On Apr 7, 2:22 am, MichaelT wrote:

> It would be great if you could give me a step by step guide on what to
> do, so that I'm sure that I'm doing it correctly.

I'm trying :)

I was suggesting that you simply run the examples using a KNOWN
WORKING CODEC. Not the Y800 codec. Verify that the code is working
as expected. If you can do that, then we know there is an issue with
your specific codec and IDL2AVI and we can go from there.

-R
Re: Reading and writing uncompressed AVI [message #60424 is a reply to message #59690] Thu, 22 May 2008 05:44 Go to previous messageGo to next message
MichaelT is currently offline  MichaelT
Messages: 52
Registered: May 2006
Member
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.

Michael
Re: Reading and writing uncompressed AVI [message #60570 is a reply to message #60424] Thu, 22 May 2008 06:03 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
MichaelT writes:

> 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.

That's, pretty much, always the problem. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Reading and writing uncompressed AVI [message #60628 is a reply to message #60424] Thu, 29 May 2008 16:52 Go to previous message
Rick Towler is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Report on Numerical Analysis Techniques Session
Next Topic: Re: C++ and CALL_EXTERNAL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:42 PDT 2025

Total time taken to generate the page: 0.00593 seconds