A
A
alexclimoff2014-08-16 09:47:24
Video processing
alexclimoff, 2014-08-16 09:47:24

How to record a video from a webcam on a website (scripts or technologies) and save it to the database?

Task : We press a button on the site and record a video in 30 seconds, then it is stored in the database and, if necessary, displayed on the screen.
What can be used to implement?
Links, technologies and services, programming languages ​​and just hints are welcome!
Thank you very much!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2014-08-16
@Taraflex

https://github.com/arut/nginx-rtmp-module
+ the client on the flash
is too lazy to tear out the code now, but if we briefly create
connection = NetConnection()
Connect to the server connection .connect(<address of the recording application on the server>)
stream = NetStream(connection );
Attach a camera with a microphone to the stream stream.attachCamera(); stream.attachAudio()
Publishing stream .publish(<video file name on server>, "record");
After 30 seconds, close the connection stream.close() connection.close()

S
Sergey Sokolov, 2014-12-24
@sergiks

Check out <cameratag> - a ready-made service to make your task easier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question