What is the best (and simplest!) way to record video from a webcam to the local filesystem--all from a browser? Ideally the video would be recorded in HD and then we could use ffmpeg later to convert it into the formats and sizes needed.
Here are some things we've looked into:
- Use Flash to stream to a local Red5 server. But we've had issues with video quality here.
- A Java applet using JMF (can we even write to the filesystem from an applet?). We've heard this might not be very efficient though. Can it handle HD?
- Write a custom Firefox plugin. Would this be very difficult?
Basically the hardest thing here is that the controls need to be embeddable into a browser. All we need is a box where the webcam frame is displayed to the user, and then some Javascript hooks so we can code start/stop buttons within the HTML page.
The computer is fully controlled (it's a kiosk) and we can do just about anything to it. We just need a solution that runs in the browser. Our current app is run in Firefox in kiosk mode and the webcam recording is just a part.