tags:

views:

55

answers:

2

Hello,

I'm capturing microphone (speech) input and publishing it on a flash server. I want this content to eventually be able to be streamed on iPhones as well as in the browser, so I'm wondering if I should pick the FLV or mp4 format (which encodes audio as AAC). Any thoughts, or tradeoffs I should take into account regarding file sizes and quality?

Thanks!

A: 

Neither. Use MP3. I'm not sure if Flash server can host MP3s, but the Flash client can play MP3 files (presumably can play MP3 streams from URLs as well). So you may not need Flash server at all instead of just a plain old web server. I'm presuming the iPhone can play MP3s as well.

Or... use ffmpeg to transcode between the two formats as needed.

selbie
Well, a plain old web server can't capture audio. Not to mention the other benefits of RTMP over HTTP for media content: http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v4/12208/video-delivery-rtmp-streamingAlthough, the playback support is changing, the recording support won't be for a while.
Jasie
Also, Flash won't let me encode MP3s and send them to the server.
Jasie
+1  A: 

If your broadcasting application is Flash, you can only encode in NellyMoser and Speex. Adobe does offer the Flash Media Live Encoder for free which allows additional video codecs and AAC or MP3, but the license only allows its use with FMS. Both Nelly and Speex can be converted to MP3 or a plethora of other codecs with FFmpeg (should you need to). I suggest Speex if its voice and Nelly otherwise, both encode to fairly small size.

Mondain