English 中文(简体)
Audio format for stream recording: FLV or mp4?
原标题:
  • 时间:2010-07-04 06:44:00
  •  标签:
  • flv
  • mp4
  • aac

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!

最佳回答

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.

问题回答

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.





相关问题
Audio format for stream recording: FLV or mp4?

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 ...

AAC header and other info in iPhone

I m building an iPhone Application that records sound. I make use of Audio Queue Services, and everything works great for the recording. The thing is, I m using AudioFileWritePackets for file ...

Can t correctly stream x264 video to mobile via RTSP

I m creating mobile version of YouTube-like website. And i m going to use Darwin Streaming Server for streaming low-res clips compressed with x264 and NeroAAC and hinted with MP4Box. When i m playing ...

How to develop an AAC converter for Linux?

I am a beginner developer want to develop a MP3 to AAC converter for Linux. But I don t know how to start as I havn t done any development in Linux before. I am using Ubuntu 10.04. Can anyone tell me ...

Flash/Flex: play embedded AAC audio?

Is it possible to play an embedded AAC file in Flash/Flex somehow? I know you can playback embedded MP3 files, but I hear that you can t do that with AAC. Anyone know any sneaky ways to get around ...

Encode audio to aac with libavcodec

I m using libavcodec (latest git as of 3/3/10) to encode raw pcm to aac (libfaac support enabled). I do this by calling avcodec_encode_audio repeatedly with codec_context->frame_size samples each ...

read or write ratings from AAC file

I m trying to figure out how to read the "ratings" from an AAC file on Windows 7. This data is somehow persisted in the file as the Windows 7 shell and WMP can read / write the ratings. In MP3 the ...

热门标签