summaryrefslogtreecommitdiff
path: root/doc/demuxers.texi
diff options
context:
space:
mode:
authorgnattu <gnattuoc@me.com>2022-10-20 20:11:38 +0800
committerGyan Doshi <ffmpeg@gyani.pro>2023-02-09 14:37:23 +0530
commitd09254a658365b89fc4430e88e18fef04de432be (patch)
treeeaf37036288b97d5b4f32f96d2f6015f2c2b7e7c /doc/demuxers.texi
parent7e1d474021898251dd4b3e56c0d153eafd440f7c (diff)
downloadffmpeg-d09254a658365b89fc4430e88e18fef04de432be.tar.gz
avformat/hls: Add option to retry failed segments for hls
Current HLS implementation simply skip a failed segment to catch up the stream, but this is not optimal for some use cases like livestream recording. Add an option to retry a failed segment to ensure the output file is a complete stream. Signed-off-by: gnattu <gnattuoc@me.com> Reviewed-by: Steven Liu <liuqi05@kuaishou.com>
Diffstat (limited to 'doc/demuxers.texi')
-rw-r--r--doc/demuxers.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index f07f3f5318..3c81024f03 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -419,6 +419,10 @@ Use HTTP partial requests for downloading HTTP segments.
@item seg_format_options
Set options for the demuxer of media segments using a list of key=value pairs separated by @code{:}.
+
+@item seg_max_retry
+Maximum number of times to reload a segment on error, useful when segment skip on network error is not desired.
+Default value is 0.
@end table
@section image2