diff options
author | Vishwanath Dixit <vdixit@akamai.com> | 2017-11-20 10:04:34 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2017-11-20 10:04:34 +0800 |
commit | 77ab1d7baed9b266aca1c656db1b4f1e32bee0aa (patch) | |
tree | dcd1d283886d04689aeb23882f0e950344fda5e6 /doc | |
parent | 92a32d0747b089d46ae9bfea9ff79c74fdc4416f (diff) |
avformat/hlsenc: creation of hls master playlist file
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/muxers.texi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 7fa2a2381d..067a40289b 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -828,6 +828,26 @@ out_1.m3u8, out_2.m3u8 and out_3.m3u8 will be created. By default, a single hls variant containing all the encoded streams is created. +@item master_pl_name +Create HLS master playlist with the given name. + +@example +ffmpeg -re -i in.ts -f hls -master_pl_name master.m3u8 http://example.com/live/out.m3u8 +@end example +This example creates HLS master playlist with name master.m3u8 and it is +published at http://example.com/live/ + +@item master_pl_publish_rate +Publish master play list repeatedly every after specified number of segment intervals. + +@example +ffmpeg -re -i in.ts -f hls -master_pl_name master.m3u8 \ +-hls_time 2 -master_pl_publish_rate 30 http://example.com/live/out.m3u8 +@end example + +This example creates HLS master playlist with name master.m3u8 and keep +publishing it repeatedly every after 30 segments i.e. every after 60s. + @end table @anchor{ico} |