Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Video stream
Hi,
 
we have demand from customer to make asp.net 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?
 
Thanks
Posted 10-May-11 6:11am
Mikicar375
Rate this: bad
good
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.
 
Cheers.
  Permalink  
Comments
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
good
Please Sign up or sign in to vote.

Solution 2

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

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

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 210
2 BillWoodruff 205
3 Jochen Arndt 180
4 DamithSL 165
0 OriginalGriff 5,130
1 DamithSL 4,157
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 10 May 2011
Copyright © CodeProject, 1999-2014
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