PDA

View Full Version : Trouble using VFW


ciler
11th February 2002, 17:41
Hello

I'm on trying to understand how VFW works, so I've found out the M$ doc about the topic. But...

There are several functions I can't get to work...
AVIFileRelease
AVISave

So, I wonder if someone here know something about this (or a good site) and can be kind enough to tell me about that.

Thanks anyway,
Ciler.

jonny
25th June 2002, 09:13
I'm writing a perl extension and the AVIFileRelease crash the perl interpreter (without this function everything work fine)

Have someone found a solution?

Nic
25th June 2002, 09:20
AVIFileRelease has some real problems if trying to close 1st pass files. Talking to Marty of Vidomi about it, he states that using the AVI Api is a bad idea, he suggested to me to look at the avi writing/reading source of Vidomi.

Ive had AVISave working before, but it generally isnt a good solution :(

Cheers,
-Nic

jonny
25th June 2002, 09:29
ATM i need this only for reading n. of frames and fps... i use this sequence:

AVIFileInit
AVIFileOpen
AVIFileInfo
AVIFileRelease
AVIFileExit

It's very simple but still crash... is there another method to get those infos (and that work with .avs files)?

[Toff]
25th June 2002, 23:00
Hi,

Perhaps it's a Delphi problem.

Some time ago, I've made in C++ Builder, a simple application that show the struct used by vfw in a treeview.

Here is the code I use (exe included)
http://christophe.paris.free.fr/sample/avistats.zip
or (direct code access) :
http://christophe.paris.free.fr/sample/main.cpp

AVIFileRelease work here.
But I've never used AVISave.

TheWEF
30th June 2002, 23:54
please read my post in this thread (http://forum.doom9.org/showthread.php?s=&threadid=25588).

wef.