Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
HLS media segmenter.
branch: master

This branch is 2 commits behind iliya-gr:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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 
Something went wrong with that request. Please try again.