HLS media segmenter.
Shell C Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile.am
Makefile.in
README.md
aclocal.m4
config.h.in
configure
configure.in
depcomp
install-sh
log.c
log.h
mediasegmenter.c
missing
segmenter.c
segmenter.h
util.c
util.h

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