I want to create a virtual webcam similar to ManyCam or WebcamMax but
with my own custom features. Like those apps, I need it to access my
real webcam as well as play video files and perhaps do screen capture
and then pass along the stream to Flash Media Encoder for upload to a
Flash Media Server.
I have come far enough to see that I can use Vivek's graciously
contributed source filter based on the Push Source examples in the
SDK. I understand that the filter must be registered in the video
capture devices so that Flash Media Encoder "sees" it as a video
device. I also have a foggy notion from reading Geraint's and
Alessandro's posts about needing to have an internal graph in my
filter so that my app can also "see" my real webcam and access it.
However, being completely new to Directshow, I am struggling to find
any general overview that explains data input and output in directshow
filters. I have found two books on Directshow (which I must say I
think suck) and only a couple of DS tutorials online which were
helpful but brief. March Hare's site is great, but again I just feel
like I am "missing" it.
So what I am hoping for is clarification on what methods in Vivek's
example or the Push Source, Ball, etc to modify so my app can do:
INPUT (switch between)
real webcam
video file
desktop
OUTPUT >> raw video / audio >> Flash Media Encoder
Also, looking over VCam I wonder does it handle sound well? I know you
guys that I have mentioned above have been hounded about this subject
from reading back to 2005 when Vivek first mentioned his example, but
any general advice would be greatly appreciated. I just need a general
idea of which functions I need to concentrate on as the ones that
handle the data.
I have another question.
I'm using this code ,too:
http://tmhare.mvps.org/downloads/vcam.zip
My purpose is to capture a frame from a usb cam and process the data and
broadcast the video stream over skype.
For image processing, I use opencv libraries. For capturing,
I use this command "capture = cvCreateCameraCapture(0);"
I use this comand for realeasing "cvReleaseCapture( &capture );"
but I cannot realase the cam it after I call this function. When I run the
cam once on the skype once, it works fine , but as a second time, it shows
nothing on the screen because the cam is still in used.
If anyone did this kind of application, and If the one helps me, I would be
happy a lot.
I also checked the directshow examples how to capture a frame from a cam. I
have some application in my PC. But I am not able to combine them with vcam.
Thank you ,
Enes Dayangac
enesda...@gmail.com
"Choons" wrote:
> .
>