Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
HLS media segmenter.
Shell C C++
branch: master

README.md

Mediasegmenter

An attempt to create replacement for mediafilesegmenter and mediastreamsegmenter for Linux operation system.

Usage

Video on demand

To create VOD playlist with default parameters:

mediasegmenter -f /output_path source.mp4

Live

Create html page with video tag:

<video src="path_to_video_directory/prog_index.m3u8" controls="controls" autoplay="autoplay"></video>
mkfifo stream
ffmpeg -re -y -i big_buck_bunny_1080p_h264.mov -c copy -bsf h264_mp4toannexb -f mpegts stream
mediasegmenter -f /var/www/path_to_video_directory --live -w 5 --delete-files stream 
Something went wrong with that request. Please try again.