Search code examples
iphoneiosxcode4video-streaminghttp-live-streaming

How to use Media Segmenter for split video?


I have read many documents still very confused about HTTP Live Streaming.
But i am still trying for solution.. and i have convert my video in .ts format with ffmpeg.

Now i know that i have to split my video and have to create playlist with the use of mediasegmenter.
But i don't know where is mediasegmenter and how to use it to split video.
I am very new to this so sorry for this silly Question..

Any help would be appreciated..!!
Thanks in advance..!!


Solution

  • Here: 35703_streamingtools_beta.dmg or go to http://connect.apple.com/ and search for "HTTP Live Streaming", or download from https://developer.apple.com/streaming/. Usage:

    mediafilesegmenter -t 10 myvideo-iphone.ts
    

    This will generate one .ts file for each 10 seconds of the video plus a .m3u8 file pointing to all of them.