Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (56 sloc) 2.02 KB
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH M3U8\-SEGMENTER 1 "November 13, 2010"
.\" Please adjust this date whenever revising the manpage.
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
m3u8\-segmenter \- Performs Apple HTTP Live Streaming segmentation
.B m3u8\-segmenter
\-i <input MPEG-TS file> -d <segment duration in seconds> -p <output MPEG-TS file prefix> -m <output m3u8 index file> -u <http prefix>
Takes in an MPEG-TS stream from a tool like ffmpeg and breaks it up into
multiple ts-segments suitable for http live streaming. The M3U8 stream
descriptor is also generated.
\fBm3u8\-segmenter\fP is used to create file segments and an M3U8 index for Apple HTTP Live Streaming
\-h, \-\-help
display a short help text
\-i, \-\-input FILE
the input file. Use \- to read from standard input.
\-d, \--duration SECONDS
the length of each segment in seconds.
\-p, \-\-output\-prefix PREFIX
the prefix for the TS segments. It will be appended with -1.ts, -2.ts etc
\-m, \-\-m3u8\-file FILE
the M3U8 output filename
\-u, \-\-url\-prefix PREFIX
the prefix for web address of segments, e.g.
\-n, \-\-num\-segment NUMBER
the number of segments to keep on disk
ffmpeg \-loglevel quiet \-i big\_buck\_bunny.ogv \-f mpegts \- | ../m3u8-segmenter \-i \- \-d 10 \-p tmp/big\_buck\_bunny \-m tmp/big_buck.m3u8 \-u
m3u8\-segmenter was written by Chase Douglas and is now maintained by John Ferlito.