Re: avi driver, IDL5.5, WinXP Pro sp1 [message #32572] |
Tue, 22 October 2002 16:57  |
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
|
|
|