PDA

View Full Version : Trouble with AVISaveV


ciler
9th February 2002, 10:52
Hi there !

I actually experiment some difficulties with the API from Video for Windows named AVISaveV. I've got some audio and video streams stored in memory (with the correct headers) and I would like to make a file of those streams, but the only thing that AVISaveV sends me back is and error.

Here is a basic exemple of the call I make (It's in Delphi)

Res := AVIsaveV(PChar('C:\Test.avi),nil,CallBackFunction,1,Video_Stream,CompressOption);

where all the parameters are (supposedly) of the correct type.

Does someone know if there is a trap I'm falling into or the problem just comes from my parameters.

Thanks for any help :)