문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top