Save video from a webcam to a user's computer through the website

This is a static web page, and I want the user to be able to record video while viewing the page. therefore, there is no need to send video to the server or stream to anyone else.

The rest of the page is in html, so I hope to find a simple API or piece of code to do the job.

This is what I could find, but it is more than I need. He needs a server ...

Note. This needs to be run on only a few computer stations to collect data. Thus, it should not work on different systems / without storage restrictions / etc.

+4
source share
1 answer

Capture video.

I would suggest checking out the WebRTC API, which allows you to access video and audio streams in Chrome and Firefox browsers: https://github.com/addyosmani/getUserMedia.js

Saving large files on the client side

The file system API allows you to store a large file according to the size of the client, limited only by the amount of available disk space. Check out http://www.html5rocks.com/en/tutorials/file/filesystem/

+6
source

All Articles