not-logged-in-daonlyfreez wrote:
Sound doesn't seem to matter, clock.avi has sound.
Ah, I did the tests on a computer without sound driver... And MSDN keep advising against files with sound, but perhaps they improved the stuff, or just want to avoid people to show a full DVD show while copying files.

Quote:
The file loading thing: I think it depends on the avi's properties, mostly encoding. I tested, and bitrate doesn't seem to matter. If your avi is not too heavily encoded, it should work.
Yes, one problem is that AVI format is actually an empty shell (the
Riff format) and videos can be encoded with various codecs. I don't know if the control is depending on the installed codecs or expected a precise video encoding.
Quote:
Does anybody know how to extract and use the bitmap resources in dll's, exe's etcet. in your Gui? Icons can be accessed, but bitmaps not.
I have seen softwares, some being freewares, to extract these resources.
Hey, I even have one: Resource Hacker.
I loaded MSGina.dll with it, saved the AVI resource, and was able to use it with your script. Cool...
Goyyah wrote:
What would be the hard way? Read the file header with Binary routines?
Yes... See
AVI File Format.
Now, I have found an open source utility (which give info on the format as well):
YAAI - Yet Another Avi Info.
Alas, it chokes on the AVI extracted from the DLL and those generated from Gif files, probably because they have no sound. Works OK with clock.avi.
[EDIT] Found another interesting utility:
abcAVI Tag Editor, I will see if it is interesting.