diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2018-04-13 15:39:49 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2018-04-13 15:39:49 +0800 |
commit | 987026adda79be4bbc541e12c5c6796b43f84bc1 (patch) | |
tree | a72ed8b6d14b17fe33d977f4520a7598fb784d36 /doc | |
parent | 9e857aa00e1035f25b220f51f46e06148b9ae4f9 (diff) | |
download | ffmpeg-987026adda79be4bbc541e12c5c6796b43f84bc1.tar.gz |
avformat/hlsenc: add option hls_delete_threshold
When using hls_list_size with hls_flags delete_segments, currently
hls_list_size * 2 +- segments remain on disk. With this new option,
the amount of disk space used can be controlled by the user.
fix ticket: #7131
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/muxers.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index cb75c261c5..f288764a23 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -513,6 +513,12 @@ Segment will be cut on the next key frame after this time has passed. Set the maximum number of playlist entries. If set to 0 the list file will contain all the segments. Default value is 5. +@item hls_delete_threshold @var{size} +Set the number of unreferenced segments to keep on disk before @code{hls_flags delete_segments} +deletes them. Increase this to allow continue clients to download segments which +were recently referenced in the playlist. Default value is 1, meaning segments older than +@code{hls_list_size+1} will be deleted. + @item hls_ts_options @var{options_list} Set output format options using a :-separated list of key=value parameters. Values containing @code{:} special characters must be |