Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

virtual webcam / video capture / broadcast console

35 views
Skip to first unread message

Choons

unread,
Oct 20, 2009, 12:06:59 PM10/20/09
to
Hi group - this is my 1st post and I hope I can get a push in the
right direction. I have been broadcasting on Ustream for some time and
would like to code an app that will do what I am currently using
several apps to accomplish. After a couple of weeks of researching, I
think I am on the right path but could use some expert advice.

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.

vcam + opencv ,I cannot realease the cam

unread,
Dec 8, 2009, 2:06:02 PM12/8/09
to
Hi to everyone,

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:

> .
>

0 new messages