diff options
author | gnattu <gnattuoc@me.com> | 2022-10-20 20:11:38 +0800 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2023-02-09 14:37:23 +0530 |
commit | d09254a658365b89fc4430e88e18fef04de432be (patch) | |
tree | eaf37036288b97d5b4f32f96d2f6015f2c2b7e7c /doc/demuxers.texi | |
parent | 7e1d474021898251dd4b3e56c0d153eafd440f7c (diff) | |
download | ffmpeg-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.texi | 4 |
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 |