开发者

http live streaming for mp3 files

开发者 https://www.devze.com 2023-01-11 02:43 出处:网络
I need help in converting mp3 files to Apples Http Live Streaming protocol files. I am working on a music application and wants to use Live streaming in this app.

I need help in converting mp3 files to Apples Http Live Streaming protocol files. I am working on a music application and wants to use Live streaming in this app.

I got this link http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/ from google but it contains how to live stream video files.

Can anybody help me with mp开发者_运维百科3 files.

Thanks


With ffmpeg you're also able to convert mp3-files only (no video). Just use:

ffmpeg -i yourmp3.mp3 ...your arguments... output.mp3


To add to Tim's answer, HLS supports mp3 codec. So if your audio is already in mp3, all you would need is the segmenter

0

精彩评论

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

关注公众号