Answer the question
In order to leave comments, you need to log in
Is it possible to record video using JavaScript?
Interested in recording, not playback on the browser page. Ideally, you need to record and save as a file of any possible video format.
Answer the question
In order to leave comments, you need to log in
Or flash or html5 or silverlight or activex controls for windows.
Choose. Everything depends on the needs. Check browser compatibility at the link given above and if it satisfies you, use html5, otherwise flash.
Flash implementation example jQuery webcam plugin .
Or here's another red5-recorder .
Example on activex X360 Video Capture ActiveX Control .
Documentation from microsoft for javascript implementation. Silverlight
examples .
On html5 already given above or full documentation .
A couple of years ago, there were attempts to implement HTML5/JS video chat using WebSockets. I think we can go in that direction. Although I do not think that at this stage it will be usable.
It is possible to do so. Using getUserMedia()
and canvas
catch frames, save using FileSystem API
and assemble into video using ffmpeg
.
Code for capturing and saving frames.
Not sure if this is possible with JavaScript alone. You can look here - JavaScript, by and large, is a wrapper for flash here.
Video from camera or screen?
You can look in the direction of WebRTC
But the technology is completely new and incompatible, I don’t know how browsers have advanced in this direction over the past couple of years.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question