DirectShow VCam
This repository contains Vivek's Capture Source Filter filter, a popular DirectShow sample project, which recently celebrated its 16th anniversary (2005 posting reference).
Capture Source Filter filter (version 0.1) 86 KB zipped, includes binaries. A sample source filter that emulates a video capture device contributed by Vivek (rep movsd from the public newsgroups). Thanks Vivek! TMH has not tested this filter yet. Ask questions about this on microsoft.public.win32.programmer.directx.video.
This was hosted on The March Hare's website for quite some time, and now when the website is gone people don't know where to look for the source code. Here it goes!
See also:
- How to build and run Vivek's Virtual Camera on Windows 10?
- Errors in building Vivek's Virtual Camera on Windows 10?
Updates
Orignial source code is tagged by original tag. In this state the project needs a bit of massaging to be beuilt.
The head of the repository is updated for Virtual Studio 2019 Community builds.
- The project requires DirectShow BaseClasses, which is a part of Windows SDK moved to github. For this reason you need to pull https://github.com/roman380/Windows-classic-samples/tree/directshow/Samples/Win7Samples/multimedia/directshow (note branch "directshow") first and build the directshow.sln solution there (or at least BaseClasses project) first.
- Then, edit directshow.props and modify line with
WindowsClassicSamplesDir
to have it point to root of repository from step 1 above - Then, open vcam.sln and build this project
Differences from original version:
- output file name is Filters.dll (unlike original VCam.ax)
- the project is extended to have
x64
platform configuration
How to use
Use Widows 10 SDK GraphEdit or GraphStudioNext.
Locate "Virtual Cam" filter:
Build a pipeline and run:
See also:
- How to use the project to expose own video to external applications? - discussions and links
Licensing
See discussion in issue #4 on applicable license.
Further information
The VCam project has been discussed a lot in various forums. Most of them are archived and there are no active disussions, however there is still a lot of information online. Just a few pointers: