[FFmpeg-devel] [PATCH 05/10] doc/muxers: Add documentation for segment_limit option
softworkz
ffmpegagent at gmail.com
Fri Jun 13 08:54:21 EEST 2025
From: softworkz <softworkz at hotmail.com>
Signed-off-by: softworkz <softworkz at hotmail.com>
---
doc/muxers.texi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 6d5c17b4cc..1cca8da1fb 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -3510,6 +3510,13 @@ packet written. Defaults to @code{0}.
Write segments to files with a .tmp extension. Each file is renamed to its
actual name on completion. This can help to prevent segment files from
being accessed before they are complete. Disabled by default (@code{0}).
+
+ at item segment_limit @var{number}
+Stops after the specified number of segments has been generated.
+This can be helpful to fill gaps in a range of already generated segments,
+which is difficult to achieve otherwise as it would either cause the last
+segment to be incomplete or to overwrite an existing segment with a partial
+data. Default is @code{0} - no limit.
@end table
Make sure to require a closed GOP when encoding and to set the GOP
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list