vfw

Does the VFW (Video For Windows) API support Alpha Channel Transparency?

Does the VFW (Video For Windows) API support Alpha Channel Transparency? I want to be able to export video with Alpha channel information. How can I do this in VC6? ...

Edit the frame rate of an avi file

Is it possible to change the frame rate of an avi file using the Video for windows library? I tried the following steps but did not succeed. 1) AviFileInit 2) AviFileOpen(OF_READWRITE) 3) pavi1 = AviFileGetStream 4) avi_info = AviStreamInfo 5) avi_info.dwrate = 15 6) EditStreamSetInfo(dwrate) returns -2147467262. ...

CODEC C# question

Hi, I'm converting working Borland C++ Builder code to C# - interesting, but not always easy... void listCodecs(int Width, int Height) { int iSelected = 0; ICINFO ci; BITMAPINFOHEADER bih; AnsiString asDesc; bih.biSize = sizeof(BITMAPINFOHEADER); bih.biWidth =...

AviSaveOptions() dialog window is distorted!

Hi All. I'm using windows XP , hebrew version. I am trying to save an AVI file using the Video For Windows API in C++, when I run the AviSaveOptions() function, the dialog opens as a thin unclickable strip at the corner of the screen. Would it have anything to do with the language (Hebrew)? maybe with the vfw driver itself? what might ca...

Where to find documentation for vfw.h?

I'm a Linux programmer adventuring on Microsoft territories, and I'm completely lost on where to find documentation for Windows APIs like VFW (Video for Windows). I'm trying to get a video stream from a webcam (OpenCV is not suitable for me). I'm looking for a description of functions, data structures, examples, howto's, etc. Searching...

Video For Windows disable FILE_FLAG_NO_BUFFERING

I am using Video For Window's AVIFile functions. When I use AVIFileOpen I notice that it uses the flag FILE_FLAG_NO_BUFFERING when creating the .avi file. ProcessMonitor shows the that file was created with "no buffering". This flag is causing performance issues and I was wondering if there is a way to use this function without that flag...

How to copy compressed streams within and AVI file with VfW

Hi, I'm using VfW for opening an AVI file with multiple (2) internal streams. One of the streams is a compressed video stream. I want to copy a short segment of the stream as-is without re-compressing. I managed to use CreateEditableStream() and EditStreamPaste() to extract and copy the relevant part of the stream, but when I use AVI...

Getting a snapshot from a webcam with Delphi

I need to get a regular snapshot from a webcam in Delphi. Speed is not a problem (once a second is fine). I have tried demo code from based on stuff from http://delphi.pjh2.de but I can't get it to work. It compiles and runs OK but the callback function never fires. I don't have a real webcam but am running instead a simulator. The ...

Multiple Streams in Video File

I'm looking for a cross-platform C/C++ library for creating and reading video files with multiple internal streams. My current implementation uses the WIN32 VfW interface for creating an AVI video file with an additional TEXT stream. This TEXT stream can store any binary data. However, VfW is an old API, not supported by newer codec, and...