Record h.264 video in Flash without streaming server?

无人久伴 提交于 2020-01-02 06:44:19

问题


Is it at all possible to save h.264 video from the Flash/Actionscript Camera (i.e. webcam) without needing a streaming server (like fms/wowza/red5)?

Where I'm also going with this is, I'd like to take the sampleData from Microphone, and transcode it client-side so that a user can record h.264/aac (or mp3) and store it locally or remotely for easy viewing in a mp4 container....

Any tips before I re-invent the wheel or run into a roadblock?


回答1:


Adobe made sure that you need a streaming server for the recording.

At least Red5 server is free, and can be installed as part of your Air application.

Web applications will definitely need a streaming server.

Came across something interesting, which you might want to try also: http://www.zeropointnine.com/blog/updated-flv-encoder-alchem/

It uses an external library.




回答2:


I would suggest a more free codec that h.264 or mp3 (about licensing with h.264: ZDnet article).

That being said, MicRecording (code) is an audio recording class that has been developed to save audio to a file.

It uses Adobe's Microphone class, which has a wealth of examples and ideas.




回答3:


Flash 11 supports recording video in H.264 but not AAC. So you can record a video with H.264 and Speex.



来源:https://stackoverflow.com/questions/8709629/record-h-264-video-in-flash-without-streaming-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!