diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2017-02-11 12:32:31 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2017-02-11 12:32:31 +0800 |
commit | d96ebc5ef88024869de06bcf92b2ad99b01d47e3 (patch) | |
tree | 94d9fb9ea850a7ff2a0e58ebf27ac4a9a7d76386 /doc | |
parent | 96ee6da4010637aa7ce7023fd6ad29b67a0d9c4c (diff) | |
download | ffmpeg-streaming-d96ebc5ef88024869de06bcf92b2ad99b01d47e3.zip ffmpeg-streaming-d96ebc5ef88024869de06bcf92b2ad99b01d47e3.tar.gz |
avformat/hlsenc: deprecate hls_wrap option
When user use the hls_wrap, there have many problem:
1. some platform refersh the old but usefull segment
2. CDN(Content Delivery Network) Deliver HLS not friendly
The hls_wrap is used to wrap segments for use little space,
now user can use hls_list_size and hls_flags delete_segments
instead it.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/muxers.texi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 6a9505e..4b4dcb2 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -442,9 +442,8 @@ parameters. Values containing @code{:} special characters must be escaped. @item hls_wrap @var{wrap} -Set the number after which the segment filename number (the number -specified in each segment file) wraps. If set to 0 the number will be -never wrapped. Default value is 0. +This is a deprecated option, you can use @code {hls_list_size} +and @code{hls_flags delete_segments} instead it This option is useful to avoid to fill the disk with many segment files, and limits the maximum number of segment files written to disk |