0

I'm planning on making a MVC5 application that has the functionality to record a 2 second video from a user's webcam and store it in a separate storage.

I have done some searching but cannot find a clear way on how to collect a video from a webcam. Some options that I found are via Flash (e.g, Red5 recorder), SilverLight or jQuery webcam plugin. The latter only seems to record images, SilverLight seems a bit of a hassle and Red5 seems to fill my needs.

I also found some C# frameworks with might be best since it will be a MVC5 application. Maybe Expression Encoded or AForge.NET are good choices?

My goal it to collect two seconds video's of users where the user can control when it starts recording and when it finishes. If good means that it is easy to use, customizable and that it has a fast performance, then what is according to you a good way to accomplish this?

user2609980
  • 10,264
  • 15
  • 74
  • 143
  • Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise – Oscar Mar 18 '14 at 20:59
  • @Oscar I expect people to answer with their favourite choice and provide some arguments based on facts. – user2609980 Mar 18 '14 at 21:00
  • How do you define "good/best?" – Robert Harvey Mar 18 '14 at 21:00
  • Related: http://stackoverflow.com/q/16319470 – Robert Harvey Mar 18 '14 at 21:02
  • @RobertHarvey With good and best in extra-moral sense I mean that it is easy to use, customizable and that it has fast performance. And I found the getUserMedia but that only works in Chrome. It should work cross-browser. I updated the question. – user2609980 Mar 18 '14 at 21:04
  • 1
    [This one uses Flash](http://www.fotofriend.com/video-booth). – Robert Harvey Mar 18 '14 at 21:11
  • Ultimately, I don't know that we can make this decision for you. You seem to know what the available options are; explore each one and pick the one that best meets your specific requirements. – Robert Harvey Mar 18 '14 at 21:13
  • @RobertHarvey I do not know all the available options since I only did a quick Google search. I might be missing something. :-) That is why I hope someone with experience will provide some insights. We'll see what happens. :-) Thanks for your help! – user2609980 Mar 18 '14 at 21:27
  • 1
    i used [AForge](http://www.aforgenet.com/aforge/framework/) and it's easy to use and you can save the videos as mp4 and i think then it should work as you wish – Yaser Jaradeh Mar 18 '14 at 21:40
  • @YaserJaradeh Can you tell me wnere you use it for and what you like about it? – user2609980 Mar 18 '14 at 22:04
  • @YaserJaradeh I'm going for AForge since you can integrate it is a .NET framework. Thanks a lot! – user2609980 Mar 20 '14 at 18:16
  • @YaserJaradeh It seems AForge cannot be used in a MVC5 Web Application. It is only Windows Forms I believe. Did you use it on the client side? – user2609980 Mar 20 '14 at 23:05
  • i actually used it on the sever side :( sorry if it didn't help you – Yaser Jaradeh Mar 21 '14 at 20:48

1 Answers1

0

Ended up using ScriptCam with S3 bucket. Works well, but is not free (50 EUR license) if you have a lot of visitors (50+ per day) or a commercial website. It is not customizable apart from the defined JavaScript parameters since it is written in flash. But like I said it does work and I am happy that it is available.

From my search I have concluded there is not yet a way to access webcam via HTML/JavaScript without Flash or SilverLight which works in all modern browsers without using a third-party plugin.

user2609980
  • 10,264
  • 15
  • 74
  • 143