Alex Rivera | Logout

HTTP Live Streaming : The Linux nightmare

Asked 2012-06-10T18:03:54.050
24

I'm working on a music VOD app on iPhone, and thanks to Apple guidelines, I have to run a HTTP Live Streaming in order to be accepted on the AppStore. But, since Apple doesn't care about 98% of servers on earth, they don't provide their so magical HTTP Live Streaming Tools for Linux-based systems. And from this point, the nightmare starts.

My goal is simple : Take an MP3, segmentate it and generate a simple .m3u8 index file. I googled "HTTP Live Streaming Linux" and "Oh great ! lots of people have already done that"!

First, I visited the (so famous) post by Carson McDonald. Result : the svn segmentate.c was old, buggy and a nightmare to compile (Nobody in this world can precise what version of ffmpeg they are using !). Then I came across the Carson's git repo, but too bad, there is a lot of annoying ruby stuff and live_segmenter.c can't take mp3 files.

Then I searched more deeply. I found this stackoverflow topic, and it's exactly what I want to do. So I have followed the advice from juuni to use this script (httpsegmenter). Result: Impossible to compile anything, 2 days of works and finally I managed to compile it (ffmpeg 8.1 w/ httpsegmenter rev17). And no, this is not a good script, it does take mp3 files, but the ts files generated and the index file can't be read by a player.

Then the author of the post krisbulman, came with a solution, and even gave a patched version of m3u8-segmenter by his own (git repo). I test it : doesn't c

Edit
Report

1 Answer

0

You could try to use our media services on Windows Azure platform: http://mingfeiy.com/how-to-generate-http-live-streaming-hls-content-using-windows-azure-media-services/

You could encode and stream your video in HLS format by using our portal with no configuration and coding required.

answered 2013-01-18T22:47:09.487

Your Answer