Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So, I'm trying to build a segmenter for Linux.

There are a few linked in this thread: HTTP Live Streaming, FFMPEG & FFSERVER, and iPhone OS 3

However, the only functional one seems to be for Windows. I've tried following this guide and the svn link: http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/ with no success either. I can't get that segmenter to work either.

Does any know of a good, stable, opensource segmenter. We're hoping to feed our rtmp(via Red5) stream into ffmpeg and crank it out over http, if that matters to anyone. Thanks!

share|improve this question

closed as off topic by John Gardeniers, SvW, rnxrx, Ward, mailq Sep 29 '12 at 22:33

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

This is not tested

ffmpeg -i video.mp4 -c copy -map 0 -vbsf h264_mp4toannexb -f segment -segment_time 10 -segment_list test.m3u8 -segment_list_type m3u8 -segment_format mpegts segment%d.ts

This is from: http://superuser.com/questions/438887/hls-video-segmenting-complications-how-to-create-a-transport-stream-with-ffmpeg

share|improve this answer
Thanks for the link/snippet. I imagine that will do rtmp conversions on the fly? For some reason I'm having major issues compiling that segmenter. – Publiccert Sep 28 '12 at 21:01
This is for vod streaming. Not for live streaming. FFmpeg can support rtmp input but if you need live try real streaming server: wowza or maybe earlyvideo. – RJS Sep 28 '12 at 21:08
Ya, it has to be live. Commercial isn't an option unfortunately. – Publiccert Sep 28 '12 at 21:14

Not the answer you're looking for? Browse other questions tagged or ask your own question.