working with webcam asp.net c# [duplicate] - c#

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to capture image from client webcam in asp.net
Hi i want to capture a video using asp.net c# webapplication. How can i do it?
(Just like recording video in facebook)
Can you have any examples plz help me.
I've gone through google but nothing is suitable for me

Not really much to go on is there...
I am assuming you want a user to be able to record video in your app. This is not possible without a plugin on the user's machine, like Flash, because it means accessing hardware on the client machine. Flash has this built in and will ask for it to be allowed to access the user's webcam.
You might want to bwe a bit more clear with your question though...

Use Microsoft Expression Encoder for broadcast, and simple Silverlight of Flash control for presentation on a client side.

Related

How to grab data off a website [duplicate]

This question already has answers here:
How do you Screen Scrape? [closed]
(6 answers)
Closed 5 years ago.
I am building a database of images and would like to automate the process. I am somewhat familiar with HTML, and my core program is built in C#. What would be a good library to use that could help me download a page as HTML, and grab the URL links on the page to the desired image? I am familiar with how to download images from URL already, so that does not need to be addressed.
(Library or other language. The database building and the program do not need to be combined.)
You wanted to build a crawler or website spider which will grab the stuff from websites. There is a parsing library called HtmlAgilityPack which will help you to do that very easily. This post will tell you how to use this library.
Hope it helps!

Can Silverlight access USB port [duplicate]

This question already has answers here:
ASP.NET/Silverlight Control USB Device
(3 answers)
Closed 10 years ago.
I'm developing web application using MVC3 and the requirement is to access USB port. if not possible is there other way or workaround for accessing port using web browser. Please send me a sample link.
Thanks
You might find more answers if you provided detail on why your App required access to a USB port. If this Intranet, then you are talking Corporate and you have more control over the Client side. If this is Internet, it's hopeless (or should be).
Yes - it is possible. Silverlight 5 can access the Win32 API using PInvoke (platform invocation). The Silverlight application must be a trusted application.
Here's an example (there are lots of others, Google it):
http://blogs.msdn.com/b/silverlight_sdk/archive/2011/09/27/pinvoke-in-silverlight5-and-net-framework.aspx

Is it possible to use a camera mode in Windows Forms? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Webcam usage in C#
and if it is possible to create a camera with Windows Form using C#.
It is Crucial in Forms because it is for my school project..
If there isnt something like that is it possible to create such an effect?
AForge is a very easy to use library that can easily make use of a webcam in WinForms. I designed a small app for taking pictures with medical tablets last year and the whole executable weighed less than 1Mb, with the AForge library being the bulk of that.
http://www.aforgenet.com/
Check the sample applications that it comes with, there is one premade that has all the code you'll need. It's also a cool library to play with by itself.

How to access web camera settings (like Skype) C# [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
How to access web camera settings (like in Skype) using DotNet
I found another question "How to access web camera settings (like in Skype) using DotNet" but it is very old with no answer. I have pretty much the same question.
I am developing a app using SkypeKit and to make it more complete to the user I would like to be able to tap into the webcam/audio/mic settings.
Is there an easy way using C# or skypekit ? & any advice.
Thanks.
You can use DirectShow or a .Net wrapper for it such as DirectShow.Net.
Here are some projects that can help you going:
http://www.codeproject.com/Articles/18511/Webcam-using-DirectShow-NET
http://www.barebonescoder.com/2012/01/finding-your-web-cam-with-c-directshow-net/

Get connected Webcams in C# [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How do I connect to a USB webcam in .NET?
I'm developing .Net solution with C#.
In my application, I need to know whole connected Webcams or cams. And getting Inputs from these webcams. But main problem is connected webcam devices are unknown.
For example, if someone use my application on their computer, my application must scan all connected webcams and also should be ask to user which webcam user wants to use.it likes Skype does. Skype enables users to select webcam to use. And Skype get inputs from selected webcam.
How can scan webcams and get streams from that web cam?
I would seggest to you to use AForge framework for this, it has all you need in very clean way: http://www.aforgenet.com/framework/samples/video.html

Categories