[FFmpeg-devel] [PATCH 02/10] doc/muxers: Add documentation for segment_write_temp option
softworkz
ffmpegagent at gmail.com
Fri Jun 13 08:54:18 EEST 2025
From: softworkz <softworkz at hotmail.com>
Signed-off-by: softworkz <softworkz at hotmail.com>
---
doc/muxers.texi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 30c95c3d34..6d5c17b4cc 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -3505,6 +3505,11 @@ argument must be a time duration specification, and defaults to 0.
If enabled, write an empty segment if there are no packets during the period a
segment would usually span. Otherwise, the segment will be filled with the next
packet written. Defaults to @code{0}.
+
+ at item segment_write_temp @var{1|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}).
@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