Click here to Skip to main content
11,803,861 members (78,245 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Video stream

we have demand from customer to make live video stream from web cam and at the same time that stream to be saved as a video file for later usage.

Can someone suggest approach to solve this?

Posted 10-May-11 5:11am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It's not going to happen, at least, not as ASP.NET alone.

ASP.NET is primarily a server side technology. You will need something on the client side to do capture the video frames and upload them, with a server side component to save the video in a coherent fashion.

My suggestion would be to find a pre-existing solution, probably incorporating Flash/JavaScript/something on the server.

NuttingCDEF at 10-May-11 12:53pm
Agree - my 5.

ASP.NET is a web technology for IIS web servers - video capture has to happen on the client - and then be transmitted to the server. Video capture is probably the tough bit - my guess would be that (much as I dislike it for many things) Flash might well be a good starting point.

C# / VB / .NET are Windows based technologies so even if you did write something to download and run on clients, you are limiting yourself to Windows users - which isn't great for a web app.

But if you actually mean just writing a standalone application to run on a (Windows) PC to capture video and save it in a file, then C# / VB using .NET framework is an option - though you might need to tap into other Windows technologies (using COM or native APIs) to get something reaonable working.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

you can use IIS Media Services with Silverlight smooth streaming and Expression Encoder

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 450
1 CPallini 320
2 F-ES Sitecore 240
3 Sergey Alexandrovich Kryukov 234
4 CHill60 220
0 OriginalGriff 3,000
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,755
4 Richard MacCutchan 1,187

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 10 May 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100