Flash video recording and video upload to server

Everyone knows that recording video with a user's webcam is possible with a flash in the browser, but all the solutions that I have found so far include the rmtp server, which receives the stream from the flash application. Is there a way to use webcam recording without such an additional media server?

I want to implement the following procedure:


Show the user the output of your webcam on the screen. The user can press the record button, which causes the Flash application to record 5 seconds of video material. The recorded video should be sent to the server as a .flv file, where it can be processed later.


Since the video will be only a few seconds, the amount of data will not be a problem. But my actual question is: Can this be technically done in Flash somehow?

+3
source share
2 answers

You can use a jpg encoder (adobe core libs) to store a small jpg series like bytedata, zip it up (also adobe core libs) and send it to your server for uncompressed and converted to FLV. Warning, this can lead to rather large memory consumption if the length is too long or the frame rate is high!

+1
source

. . , -, Nimbb , FLV Amazon S3 .

+1

Source: https://habr.com/ru/post/1755383/


All Articles