Flex - Capture Microphone Audio And Save As MP3?

I've exhausted my Flexpert contacts on IM, so I ask you blogosphere: is it possible? Can someone point me to a demo?

Thanks, I owe you ;)

Comments
Hello,

Not very easy to do, but possible. You basically have to record using a media server, like FMS, Wowza or Red5, and then, to transcode the file using FFMPEG compiled with NellyMoser codec.

johann
# Posted By johann romefort | 2/20/08 2:10 PM
As far as I know Johann is correct, you can only do this with a media server. The mic has no connection to the Sound api so you can't leverage any of the Sound features to work with the mic.

This comes up a lot when people want to use ComputeSpectrum with a mic, which you currently can't do.

It's my understanding that this will change in a future version of Flash.
# Posted By Rick Mason | 2/20/08 2:33 PM
Since ColdFusion 8 ships with an FMS gateway I should be able to make this work then...

If only I can figure out how...
# Posted By todd sharp | 2/20/08 2:41 PM
@Todd: You will need more than just the FMS gateway... you will need a full copy of FMS running to capture the NellyMoser codec and convert it to something you want to use. We are hoping that the Flash team opens this up abit for us in the future... but....
# Posted By Nick Kwiatkowski | 2/21/08 8:12 AM
Yeah I figured that out pretty quickly. I'm a bit naive with all things Flex/Flash. Man - you'd think this would be easier...
# Posted By todd sharp | 2/21/08 12:06 PM
I'm quite new to flex also, I'm very surprised they don't allow you to do this, however they do have the flash media server to sell!

I just wanted to capture an audio stream in flex and send it back to my server as an MP3 (or patent free format ogg?) file.

I suppose I could use java ;)
# Posted By James | 4/8/08 1:33 PM
As a followup, I did get this to work using Red5 and FFMPEG (which now includes a nellymoser codec). Thanks for pointing me in the right direction!

It was actually pretty simple now that I look back on it. Red5 is a little tricky, but at least it works...
# Posted By todd sharp | 4/19/08 1:16 AM
What is the final intent of capturing this audio and save it?
Just curious?
# Posted By Ronak Rathod | 5/23/08 11:53 PM

Calendar

Sun Mon Tue Wed Thu Fri Sat
  12345
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31   

Subscribe

Enter your email address to subscribe to this blog.

Tags

actionscript ajax blogging cfsnippets coldfusion flash forms flex misc model-glue off topic personal project learn slidesix sql

Recent Comments

More CF+Java: Compiling Classes And Persisting Objects
Getburl said: I have been attempting to get Db4o working in my CF application and I have not succeeded. I would lo... [More]

Thoughts On Ajax Frameworks And ColdFusion/Adobe
Erast said: http://fanniecollins.10gb... emo http://gracetrevino.phree...... [More]

Extending Ext With Ext Extensions
Erast said: http://fanniecollins.10gb... emo http://gracetrevino.phree...... [More]

CF Needs An Open Source Contact List Importer
Kay Smoljak said: Heh, the fact that sites DO it doesn't mean they SHOULD. To us it's ok, but to a non-tech-savvy user... [More]

A Few Project Updates
Helena said: Now punctually what is the situation ? [More]

RSS


coldfusionbloggers

FullAsAGoog MXNA

Consumed By Feed-Squirrel.com