Skip to content
HLS media segmenter.
Shell C C++
Find file
Latest commit f67a966 @iliya-gr Add stdarg.h


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


Video on demand

To create VOD playlist with default parameters:

mediasegmenter -f /output_path source.mp4


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