Questions tagged [vfw]

Video for Windows (VFW) is a legacy API in Microsoft Windows to provide functions that enable an application to process video data.

Video for Windows (VFW) provides functions that enable an application to process video data. VFW was introduced in 16-bit Windows. Many of its features have been superseded by features in DirectX. For more information, see the DirectX documentation.

58 questions
0
votes
1 answer

Beginner level code required to display a frame using vfw?

I want to be able to display a captured frame from my webcam using the vfw.h library. I have code which captures a single frame and saves it to a Bitmap file. However, I do not know how to then display this Bitmap file within a window. I only know…
user_name
  • 173
  • 1
  • 2
  • 8
0
votes
1 answer

AVISaveOptions without AVIStream

I am coding a program which exports AVI files into directories, is it possible to get an AVISaveOptions dialog without having access to an avistream? The AVICOMPRESSOPTIONS already has all the data, doesn't it? I am not able to create a stream using…
hl3mukkel
  • 5,369
  • 3
  • 21
  • 21
0
votes
2 answers

AviSaveOptions() dialog window is distorted!

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…
Roey
  • 391
  • 1
  • 8
  • 14
0
votes
1 answer

Webcam Capture Resolution issues

I'm making my own webcam timelapsing application, but having issues with some webcams. The one in particular advertises that it can take 5MP photos, but it runs a native 320x240 (or something horrible) which is the feed that I'm getting. I'm using…
user173914
0
votes
1 answer

Saving AVI files in C++ after creating

I'm using Wischik's example code for creating AVI files, however after I run the code and it exits successfully no AVI file is created. I looked through the code and cannot find where it writes/saves/creates an AVI file on your computer. Does…
rails_developer
  • 149
  • 1
  • 17
0
votes
0 answers

HAVI undefined error when creating AVI files

I'm trying to create an AVI file from a series of BMP images and am using Lucian Wischik's source code from http://www.wischik.com/lu/programmer/avi_utils.html however when I #include "avi_utils.h" I get a bunch of errors when compiling that…
rails_developer
  • 149
  • 1
  • 17
0
votes
1 answer

How to get multiple cams connected

I am trying to connect multiple webcams at the same time but it produces the Video source dialog to select the webcam. IS there any way to bypass it? Can I pass the webcamm info explicitly? Here is the code that is producing the problem Dim…
Angad
  • 82
  • 4
0
votes
1 answer

Bitmap to avi exception

I am using the Simple C# Wrapper for the AviFile Library, and the code snippet I found here in order create an avi file from Kinect's color frames. And I get this exception: "Exception in AVIFileOpen: -2147205009" aviManager = new…
Uri Goren
  • 13,386
  • 6
  • 58
  • 110
0
votes
1 answer

VfW : Changing video resolution

I'm trying to change video capture resolution in VfW (Video for Windows), but I couldn't find any useful structure or method. It seems the only way to change video setting is using CAPTUREPARMS structure. But It doesn't have any field to set video…
Saber Amani
  • 6,409
  • 12
  • 53
  • 88
0
votes
3 answers

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. AviFileInit AviFileOpen(OF_READWRITE) pavi1 = AviFileGetStream avi_info = AviStreamInfo avi_info.dwrate =…
user138226
0
votes
1 answer

XVID codec via vfw: creating greyscale 8 bit video fails

I have written an application that records XVID movies from a live camera image using Video for Windows (VFW). This works fine if the camera is set to colour. When I switch it to a b&w mode (ie 8 bit greyscale) the function AVIStreamSetFormat…
Hendrik
  • 569
  • 3
  • 12
0
votes
1 answer

Why does AVIStreamRead read nothing?

I'm writing a simple AVI loader to get each frame from an AVI file and save it to an OpenGL texture. I'm using VFW, and AVIStreamRead isn't returning anything. This is my code that grabs each frame: void CVideoControl::SetFrame(long frame) { …
smoth190
  • 438
  • 7
  • 26
-1
votes
1 answer

How capture continuos frames from camera?

I'm using the following code to capture the camera: unit Webcam; interface uses Windows, Messages, SysUtils, Graphics, ExtCtrls, Classes, VFW {https://drkb.ru/multimedia/audio/extract_track/ed7dcb6994c641e4}; type TCamera = class(TObject) …
FLASHCODER
  • 1
  • 7
  • 24
1 2 3
4