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

Home » Public Forums » archive » Re: avi driver, IDL5.5, WinXP Pro sp1
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
Re: avi driver, IDL5.5, WinXP Pro sp1 [message #32572] Tue, 22 October 2002 16:57
piggie_gp is currently offline  piggie_gp
Messages: 2
Registered: October 2002
Junior Member
Yes, my video codec setting are working properly. And the error I am
getting is codecs related, because uncompressed avi files can be
opened, only compressed avi files, such as DV avi result in error.

After a little more research, I think the problem might be that, under
WinXp, the codecs are accessed through DirectShow drivers. This
DirectShow requirement perhaps is a must under service pack 1. M$ is
trying to make vfw obsolete and replace it with DirectShow. The avi
files that IDL_avi can not read can be opened with any other WinXp
media player. In my case, the needed codecs are present in the system.

I have written a little program using DirectShow to read avi files,
and this program do work on all avi files so far. I am learning how to
link this program to IDL, or make this program a IDL dll/dlm file.

Thank you for the response and suggestions, and if there a simpler
solution to read avi files in IDL, please let me know.

piggie_gp

"Rick Towler" <rtowler@u.washington.edu> wrote in message news:<ap1be6$2or8$1@nntp6.u.washington.edu>...
> The error you are seeing is a result of a failed call to
> AVIStreamGetFrameOpen.
>
> From the MSDN Library:
>
> "If the system cannot find a decompressor that can decompress the stream to
> the given format, or to any RGB format, the function returns NULL."
>
> My guess is that the codec used which is present on your Win98 and XP home
> machine is not available on the XP Pro machine. Compare control
> panel->sounds and multimedia->hardware->video codecs (select video codecs
> and hit properties). This will display the codecs that are available to VFW
> on each machine.
>
> If they look the same, try creating a very short full frame (non-compressed)
> avi (using Ronn's example program, just hack it so it brings up the config
> window). If that doesn't work, than maybe there was a change to the VFW
> libs and the .dlm will need to be recompiled.
>
> -Rick
>
>
>
> "piggie_gp" <piggie_gp@hotmail.com> wrote
>
>> Hi,
>>
>> I am having trouble with the IDL5.5 avi driver from kilvarock under
>> WinXP Pro service pack 1. In this setting, the avi driver can not read
>> the avi files which can be read under Win98SE, or WinXP Home(not sp1),
>> also IDL5.5.
>>
>> Here is the error message:
>>
>> % Loaded DLM: IDL_AVI.
>> % AVI_OPENR: Unable to get frames at all
>>
>>
>> Is there a solution to this? Thank you.
>>
>> piggie_gp
Re: avi driver, IDL5.5, WinXP Pro sp1 [message #32600 is a reply to message #32572] Mon, 21 October 2002 09:51 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
The error you are seeing is a result of a failed call to
AVIStreamGetFrameOpen.

From the MSDN Library:

"If the system cannot find a decompressor that can decompress the stream to
the given format, or to any RGB format, the function returns NULL."

My guess is that the codec used which is present on your Win98 and XP home
machine is not available on the XP Pro machine. Compare control
panel->sounds and multimedia->hardware->video codecs (select video codecs
and hit properties). This will display the codecs that are available to VFW
on each machine.

If they look the same, try creating a very short full frame (non-compressed)
avi (using Ronn's example program, just hack it so it brings up the config
window). If that doesn't work, than maybe there was a change to the VFW
libs and the .dlm will need to be recompiled.

-Rick



"piggie_gp" <piggie_gp@hotmail.com> wrote

> Hi,
>
> I am having trouble with the IDL5.5 avi driver from kilvarock under
> WinXP Pro service pack 1. In this setting, the avi driver can not read
> the avi files which can be read under Win98SE, or WinXP Home(not sp1),
> also IDL5.5.
>
> Here is the error message:
>
> % Loaded DLM: IDL_AVI.
> % AVI_OPENR: Unable to get frames at all
>
>
> Is there a solution to this? Thank you.
>
> piggie_gp
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: WINDOW, /PIXMAP Question
Next Topic: Re: IDLgrVolume RENDER_STEP does not scale

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

Current Time: Wed Oct 08 17:47:48 PDT 2025

Total time taken to generate the page: 0.00502 seconds