need an advice, how can I encode stream coming from my webcamera? any C# examples, libraries or codecs?
A:
You will need to have drivers installed, and then use something like DirectShow.NET
thomask
2010-06-16 15:46:11
I need to live stream my webcam video, directShow doesn't allows me to do it
Mike Samteladze
2010-06-17 07:37:04
A:
If you just want to 'show' it, you can use Silverlight 4's built-in support
http://www.silverlightshow.net/items/Capturing-the-Webcam-in-Silverlight-4.aspx
If you want to save it, I'd imagine you're better off using the Expression Encoder SDK and its Live Encoding support via WebcamVideoProfile, although maybe WPF already has something for this
http://blogs.msdn.com/b/expressionencoder/archive/2009/07/29/9853000.aspx
James Manning
2010-06-16 18:04:06
this helped me alot, but I want to use my webcam as datasource, how can I achieve this goal?
Mike Samteladze
2010-06-17 16:51:40
Can you be more specific about what you mean by "as datasource"? For instance, the Expression Encoder SDK supports the webcam as an encoding source as-is - for instance, see the 'Live Encoding' section ("Expression Encoder also supports encoding from live sources such as a webcam.") of this article which includes a code snippet to do so: http://msdn.microsoft.com/en-us/magazine/ff714558.aspx
James Manning
2010-06-17 20:34:38