VCam SDK Help


INTRODUCTION

VCam SDK is a SDK of e2eSoft VCam software, which allows you to add virtual camera feature to your application.

Files list:

Distribution files

GETTING STARTED

  1. Install VCam driver and register filter - run install.bat as administrator;
  2. Run VCamDemo.exe and play a video file in it, then use other applications (for example AMCap.exe) to see the video of webcam named "Virtual Camera";
  3. Run VCamDemoCS.exe and play a video file in it, then use other applications (for example AMCap.exe) to see the video of webcam named "Virtual Camera";
  4. Extract VCamDemos.zip file and open the VC++, C# demo projects to see how to use it.

NOTE: You should install some video codecs if the video files can't be played, for example LAVFilters.

HOW IT WORKS

Using DirectShow

1. Play a video file in graphedit with the default Video Renderer:

2: Play a video file with VCam Renderer filter in graphedit - just like using the default one:

3. The video was sent to Virtual Camera:

From this we can see that it's very easy to play a video file to VCam using directshow, and you can also play a video capture device, a video stream, an image file or any other video sources to VCam with directshow easily.

Using IVCamRenderer COM interface

Besides directshow, you can also use the IVCamRenderer COM interface to send video frames directly to VCam driver and do more. Please check the demo applications for details.

USAGE

Driver install/uninstall/enable/disable/restart

VCam SDK uses devcon.exe to install/uninstall the driver, it can be easily integrated with your applications.

NOTE: You need to run these commands as administrator.
Please use x64\devcon.exe for 64bits OS, x86\devcon.exe for 32bits OS.

Install multiple instances of VCam

Calling install command multiple times to install multiple VCam instances, and they will have the same name at first (you can change their names later).
The SDK will use the first VCam instance by default, and you can call SetCurrentDevice to choose which one to be used.

Uninstall: calling unistall command once will remove all VCam instances.

VCam Renderer filter

You can use it as a normal directshow video renderer, or change VCam settings using its COM interface: IVCamRenderer.
Please use x64\VCamRenderer.ax if your applications is 64bits, or .NET applications running on 64bits OS, and use x86\VCamRenderer.ax for 32bits applications.
An easy way to make things right is to register x86\VCamRenderer.ax on 32bits OS, and both x86\VCamRenderer.ax and x64\VCamRenderer.ax on 64bits OS.

IVCamRenderer COM interface

For C++ developers, add the following line to your projects:
#import "VCamRenderer.tlb" no_namespace, raw_interfaces_only exclude("UINT_PTR")
and add the "VCamRenderer_i.c" file in VCamDemo project for the CLSIDs.

For C# developers, add the wrapper class "VCamRenderer.cs" file in VCamDemoCS project to your projects.

For other programming languages, please refer the C++/C# demo projects.

It's highly recommended to study the demo projects to learn how to use it.

FUNCTIONS:

LICENSE AGREEMENT

We own all the intellectual property rights of the VCam SDK and ensure that it does not contain any viruses or spyware.
Products that use the licensed VCam SDK are free to distribute without any restrictions.
The license code can only be used in your or your company's products.
It is forbidden to spread or resell the license code.
You will get the maximum punishment within the bounds of the law if you violate this rule.

Please contact us if you want to buy it or have any questions.

Our website: www.e2esoft.com

© e2eSoft, all rights reserved.