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
1
vote
0 answers

How can I fix reverse left and right images when using VFW in MFC?

i making video program for MFC but there is 1 condition that is can't use openCV library so i try to using VFW but for now images are reverse left and right how can i fix this problem? i try to fix this problem using capture_dc.BitBlt function ..…
1
vote
0 answers

Writing a buffer of Bitmaps to an AVI file with the Windows API results in a corrupted AVI file

I have a buffer which contains 30 seconds of bitmaps of the user's screen. Since I am making a clipping software which clips the last 30 seconds of the user's screen, I am writing the buffer to an AVI file using the Vfw.h header. Here is my…
joeymalvinni
  • 343
  • 9
1
vote
1 answer

Video for Windows - Adding Audio Stream to AVI

I have really simple program add the add an audio stream into an avi file with a pre-existing video stream. The issue is that the resulting file contains a video stream but there does not appear to be any data in the stream. The audio file is read…
1
vote
1 answer

Where can I find Video for Windows (VFW)

I am working on a project that uses VFW. I have done Google searches for it, but not exactly sure what I am looking for. I have a few questions about it. Is it a dll? If so, where could I find it? Is it still supported?
user489041
  • 27,916
  • 55
  • 135
  • 204
1
vote
2 answers

My 32-bit Video For Windows based app doesn't work under Win7/64 or Vista/64?

I wrote a program that relies on Video For Windows. It worked fine under XP & Vista 32-bit OSes, but now I am trying to run it on the newer 64-bit OSes it isn't able to open any AVI files. The actual program starts up fine, the GUI appears, the File…
Ersonpay
  • 11
  • 1
1
vote
2 answers

Getting rid of Codec log from VFW(Video for Windows)

Whenever I'm trying to record a video from a game, using x264vfw codec, I get this log message, which makes my game minimize and which inevitably makes my tool record black screen, for a few seconds until I resume the game.How can I get rid of it?
J.Doe
  • 21
  • 2
  • 6
1
vote
1 answer

Checking the AVI File Size while creating it and stop adding frames to it if certain size limit exceeds

I am using the AVIFile Reference API(https://msdn.microsoft.com/en-us/library/windows/desktop/dd756808(v=vs.85).aspx) to, create an AVI video output file. While, adding the frames to the video file, I would like to check the size of the file, that…
1
vote
1 answer

Default Image format, returning by VFW (C#), has some undocumented values

I'm trying to conquer VFW from my C# App. Most of the things were quite misty before, and after all I've reached the last point before it will be done. When I initiate camera driver with group of messages like WM_CAP_GET_VIDEOFORMAT…
user834850
1
vote
1 answer

How to convert VIDEOHDR data to video stream using C++

I have VIDEOHDR data (detail for VIDEOHDR) which is got from camera by using capSetCallbackOnVideoStream and capCaptureSequenceNoFile function with C++ Now, I want to take VIDEOHDR data display as video on screen. How can I do it?
Akajit Saelim
  • 91
  • 1
  • 1
  • 9
1
vote
0 answers

Media Foundation: How to Decode Compressed AVI?

folks! I'm trying to transcode a compressed .avi file to .wmv using Media Foundation. While I've succeeded in using MSDN's sample for transcoding to handle an uncompressed .avi, I've had no luck with several different types of compressed .avi…
1
vote
3 answers

CODEC C# question

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; …
Niels
  • 11
  • 1
  • 3
1
vote
3 answers

How to compile CFugue library on linux?

I found a great library: CFugue. That's exactly what I need, but I cannot use it on linux. They wrote that it works on ubuntu, but I did not succeed: g++ said that "vfw.h" doesn't exist. As far as I understand it stands for "video for windows". Is…
varan
  • 795
  • 2
  • 10
  • 29
0
votes
1 answer

AVI created with AVIStreamWrite has incorrect length and playback speed

I'm trying to write to an AVI file using AVIStreamWrite but the resulting avi file is a bit messed up. The images in the avi contain the proper image and colors but the duration and speed of the video is off. I recorded a video that should have been…
mash
  • 467
  • 7
  • 14
0
votes
0 answers

Capture Image in WPF using avicap32

I am trying to capture image in WPF using ["aviCap32.dll"] but I didn't find any method for that. Does anyone have any idea whether such method exists or not. I found this program but it only displays an image from the webcam and not through a…
murmansk
  • 845
  • 2
  • 11
  • 28
0
votes
1 answer

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?
ANdrew Gibson