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 mediafilesegment开发者_运维百科er tool to segment MPEG2 Transport streams.
How can I get/install the mediafilesegmenter tool?
Thanks and regards, Farish
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.
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.
精彩评论