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