N
N
Nazar Mokrinsky2012-09-26 00:08:16
JavaScript
Nazar Mokrinsky, 2012-09-26 00:08:16

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

8 answer(s)
P
pletinsky, 2012-09-26
@pletinsky

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 .

S
Sergey, 2012-09-26
Protko @Fesor

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.

1
123 123, 2012-09-29
@roman01la

It is possible to do so. Using getUserMedia()and canvascatch frames, save using FileSystem APIand assemble into video using ffmpeg.
Code for capturing and saving frames.

V
Ver1ck, 2012-09-26
@Ver1ck

Not sure if this is possible with JavaScript alone. You can look here - JavaScript, by and large, is a wrapper for flash here.

A
AndreyChizh, 2012-09-26
@AndreyChizh

Alternatively, look towards getUserMedia() HTML5

K
Kane, 2012-09-26
@Kane

What if the page is wrapped in canvas? Then you can get individual frames

B
betal, 2012-09-27
@betal

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.

M
Mikhil Inozemtsev, 2012-10-29
@Keler

www.scriptcam.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question