Farish
Farish

Reputation: 618

Implementing Apple's HTTP Live Streaming - problem with mediafilesegmenter tool

I have MAC OS 10.6 (Snow Leopard) and according to Apple's guide on HTTP Live Streaming, the mediafilesegmenter tool should be there in /usr/bin/ directory but it isnt. There is only the mediastreamsegmenter there. I need the mediafilesegmenter tool to segment MPEG2 Transport streams.

How can I get/install the mediafilesegmenter tool?

Thanks and regards, Farish

Upvotes: 3

Views: 6810

Answers (2)

Ric8ard
Ric8ard

Reputation: 136

The mediastreamsegmenter tool will also segment a file - for example:

mediastreamsegmenter -b http://some_playback_host -B stream -f \ /Library/WebServer/Documents/my_stream -p < input_file.ts

(make sure you have created the output directory "my_stream" first).

The above should segment the file into the default of 10 second chunks prefixed with the name 'stream' and also create a .m3u8 file you can point clients at.

man mediastreamsegmenter for more info.

HTH.

Upvotes: 3

Eduardo
Eduardo

Reputation: 31

You can Download the current version of the HTTP Live Streaming Tools from the Apple Developer website. You can access them if you are a member of either the iPhone or Mac Developer Program. One way to navigate to the tools is to log onto connect.apple.com, then click either iPhone or QuickTime under the Downloads heading.

Upvotes: 3

Related Questions