Re: C# webcam

From: smith (rcsTAKEOUT_at_smithvoiceTAKEOUT.com)
Date: 11/13/04


Date: Sat, 13 Nov 2004 07:59:57 GMT

You want to preview and capture video and audio from a webcam (or any other
WDM capture hardware)?

The managed code languages (C#/VB.Net) aren't the right tools if you want to
do that directly because of the lowlevel processing required.. It is
normally done using DirectShow which as I see it is Never Ever Ever going to
be fully available as a managed technology.

If you like C++ then get the free WMFormat SDK and DirectX SDK downloads
from MSDN, there are plenty of VC++ samples there. (The only managed
DirectShow sample, because it's the only thing you can do with Managed code,
is the sample for reading and modifying tags in Media9 audio/video and MP3
files).

If you want to tough it out from a non-.Net non-VC++ viewpoint, look to
www.shrinkwrapvb.com. This site has a number of samples showng how to do
video and audio capture with VBClassic and without any C++ support
libraries.

If you want to just get a good job done, then look to the many ActiveX
DirectShow/WMFormat wrapper components on the market and use them in .Net
via interop.

If it helps you at all... I worked for a media-oriented development company
and did extensive research on the various offerings about a year ago and
went with VidCapX from Fathsoft.com. My CEO thought I was picking it
because of its' low price, but the price wasn't the reason. I chose it
because it's lightweight but has a full load of features including capture
to avi or WMV with custom profiles, frame grabbing, framelevel control of
playback, edit/merge of recorded files, etc, etc) and all of them worked
flawlessly. I no longer work for that company ... but if it means anything
I bought my own copy of the control from Fathsoft because once you start
doing video apps, you start seeing a lot of great reasons to write more
video apps :).

Hope that helps.

Robert Smith
Kirkland, WA
www.smithvoice.com

"Mathieu Chavoutier" <nospam@no.spam> wrote in message
news:%239g8x7JyEHA.3808@TK2MSFTNGP15.phx.gbl...
> Hi.
>
> Is it possible to do a program that show the "film" that is currently on
> our webcam ?
>
> I do not have a Webcam for the moment, so, if you have advices to chose a
> Webcam compliant (with what I want to do), I would be thanksfull.
>



Relevant Pages

  • Re: URGENT...!!! Live stream recording quality
    ... I am using "Windows Media 9 Encoder SDK" to capture Monitor Screen. ... Where by Screen contains live video streamed from the WebCam. ...
    (microsoft.public.windowsmedia.encoder)
  • Re: Hard drive camcorder or MiniDV tape?
    ... Thanks for the advice regarding the webcam. ... see where the fingrers go and hear the audio clearly. ... a video editing program. ... if you insist on sitting there watching the capture ...
    (rec.video.desktop)
  • Re: how to do real-time video processing without showing the preview window?
    ... preview window and can access the image (video) data ... That depends on what capture method you are using. ... It doesn't matter as long as use webcam to get the image ... Otherwise, you need DirectShow. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Please help.
    ... > I did small application in vb.net, Its capture the video from webcam ... > and show in picture box. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: The Apprentice 2 - Trials of making my first DV movie
    ... with USB from a camera? ... Video captured that way is never high quality unless ... > my DV camcorder could transfer digital data to my ... > I installed the USB drivers and Imaging capture software ...
    (microsoft.public.windowsxp.moviemaker)