Video recording in bitmapdata format

is there any sample for using a bitmap to record webcam video and create a flash movie clip file? I also want to record audio without using a red5 / flash streaming server

+2


source to share


3 answers


The video part may be possible at very low frame rates, but you will need to transfer the FLV encoder to AS3, which is not a trivial task. It will also be very intense.



In terms of audio, there is simply no programmatic access to the raw microphone data from the Flash player. If you want to record audio, you must have a server like FMS or Red5.

+1


source


For the video part, there is a SimpleFlvWriter (for AIR).



For the audio part, Flash does not allow direct recording of the microphone input, BUT there are some alternatives that are discussed in getMicrophone () .

+2


source


I have not seen any library able to generate SWF files from Flash at runtime. What you can do is pass all the bitmaps to the backend like PHP. Then use PHP to create a swf file with MING library or something similar.

For security reasons, you cannot record sound from the microphone.

0


source







All Articles