[FFmpeg-devel] [PATCH] doc/muxers: add apng muxer

Stefano Sabatini stefasab at gmail.com
Sat Jan 6 22:16:58 EET 2024


---
 doc/muxers.texi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 75552f0d03..5608638e89 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -667,6 +667,32 @@ Ubisoft Rayman 2 APM audio muxer.
 
 It accepts a single ADPCM IMA APM audio stream.
 
+ at section apng
+Animated Portable Network Graphics muxer.
+
+It accepts a single APNG video stream.
+
+ at subsection Options
+ at table @option
+ at item final_delay @var{delay}
+Force a delay expressed in seconds after the last frame of each
+repetition. Default value is @code{0.0}.
+
+ at item plays @var{repetitions}
+specify how many times to play the content, @code{0} causes an infinte
+loop, with @code{1} there is no loop
+ at end table
+
+ at subsection Examples
+ at itemize
+ at item
+Use @command{ffmpeg} to generate an APNG output with 2 repetitions,
+and with a delay of half a second after the first repetition:
+ at example
+ffmpeg -i INPUT -final_delay 0.5 -plays 2 out.apng
+ at end example
+ at end itemize
+
 @anchor{asf}
 @section asf
 
-- 
2.34.1



More information about the ffmpeg-devel mailing list