开发者

How to record Audio and Video at the same time into flv in Adobe air 2.0?

开发者 https://www.devze.com 2022-12-18 09:03 出处:网络
How to record Audio and Video at the same time into flv in Adobe air 2.0 ? So that Video and 开发者_运维问答Audio will be sinchronised?

How to record Audio and Video at the same time into flv in Adobe air 2.0 ? So that Video and 开发者_运维问答Audio will be sinchronised?

Open Source libs and Blog aricales are wellcomed!)


All I can help with are a few links, but I haven't tried this to know how feasible it actually is:

  1. Audio - Recording record microphone to wav devnet article or devnet cookbook article.
  2. Audio - Compression - MP3 Compression with Lame and AIR 2.0 or MP3 encoder in Flash with Alchemy
  3. Video - SimpleFlvWriter.as is a bit outdated and only writes images, not audio, but might be handy to get started. Also have a look at the FLV Specs.

At this point it looks like trouble waiting to happen: Where do you store the images/sound until you write encode them ? in RAM ? If you want to cache uncompressed files, will there be audio delays ?

It might be worth trying something different, like C++. Or at least, write some command line tools for recording/encoding for performance reasons and use AIR/native process just for the looks/interaction ?

HTH

0

精彩评论

暂无评论...
验证码 换一张
取 消