diff mbox series

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

Message ID 20240106201658.289376-1-stefasab@gmail.com
State Accepted
Commit e2b1988c194beaa3b67f337f5a93699d6c78d2df
Headers show
Series [FFmpeg-devel] doc/muxers: add apng muxer | expand

Checks

Context Check Description
andriy/configure_x86 warning Failed to apply patch
yinshiyou/configure_loongarch64 warning Failed to apply patch

Commit Message

Stefano Sabatini Jan. 6, 2024, 8:16 p.m. UTC
---
 doc/muxers.texi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series

Patch

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.
 
+@section apng
+Animated Portable Network Graphics muxer.
+
+It accepts a single APNG video stream.
+
+@subsection Options
+@table @option
+@item final_delay @var{delay}
+Force a delay expressed in seconds after the last frame of each
+repetition. Default value is @code{0.0}.
+
+@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
+@end table
+
+@subsection Examples
+@itemize
+@item
+Use @command{ffmpeg} to generate an APNG output with 2 repetitions,
+and with a delay of half a second after the first repetition:
+@example
+ffmpeg -i INPUT -final_delay 0.5 -plays 2 out.apng
+@end example
+@end itemize
+
 @anchor{asf}
 @section asf