DirectMedia 6 Vidcap
Video Capture Help ] AVIFile Tutorial ] Licensing and Distribution ] Resources ] Awards ] Latest News ] Source Code ] Free Controls ]

 

DXVidCap Displays Full-Screen Live Video From ANY VFW-Compatible Source
Download (6.5k) VB Source here!

*IMPORTANT*: This project requires the DirectX 6.0 Media runtime from Microsoft.
You can download the necessary runtime from here. You can also download the entire SDK from here. Also, if you do not have a video capture card or other VFW-type device (like a QuickCam) then this sample will not be very exciting. <g>

This sample app shows how to connect to any VFW or WDM video capture device using DirectShow 6.0 from VB. Microsoft has said that DirectShow will eventually replace VFW as the preferred method of capturing video/audio on WIndows.  This sample is much better than any of the 4 sample VB projects in the DirectShow SDK and it should help you understand the concepts of "Filters" and "Pins".  You should not, however, expect to create a full-featured VidCap app using DirectShow and VB yet. At this point MS only offers a VERY VB-unfriendly SDK and a VERY limited VB interface. I'm hoping that this will change dramatically in DX 7.0.

Techniques demonstrated in this project
---------------------------------------
-Using the quartz.dll (ActiveMovie control typelibrary)
-Using the DirectShow FilterGraph Manager from VB
-Connecting "Pins" on DirectShow Filters from VB
-Enumerating DirectShow Filters


You may freely use and modify this code in your
own programs. However, you may not redistribute
this archive without permission from Ray Mercer
<raymer@shrinkwrapvb.com>

Copyright (c) 1998-2000, Ray Mercer - All Rights Reserved