[FFmpeg-cvslog] doc/muxers/gif: apply consistency fixes
Stefano Sabatini
git at videolan.org
Tue Mar 19 18:29:28 EET 2024
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Mar 12 22:23:59 2024 +0100| [0cd13ad674dc9f04f7c6cfdc2b2cf7e8c2b32140] | committer: Stefano Sabatini
doc/muxers/gif: apply consistency fixes
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0cd13ad674dc9f04f7c6cfdc2b2cf7e8c2b32140
---
doc/muxers.texi | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/doc/muxers.texi b/doc/muxers.texi
index c46933b47d..d9dd72e613 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1745,24 +1745,26 @@ See also the @ref{framehash} and @ref{md5} muxers.
@anchor{gif}
@section gif
-
Animated GIF muxer.
-It accepts the following options:
+Note that the GIF format has a very large time base: the delay between two frames can
+therefore not be smaller than one centi second.
+ at subsection Options
@table @option
- at item loop
+ at item loop @var{bool}
Set the number of times to loop the output. Use @code{-1} for no loop, @code{0}
for looping indefinitely (default).
- at item final_delay
+ at item final_delay @var{delay}
Force the delay (expressed in centiseconds) after the last frame. Each frame
ends with a delay until the next frame. The default is @code{-1}, which is a
special value to tell the muxer to re-use the previous delay. In case of a
loop, you might want to customize this value to mark a pause for instance.
@end table
-For example, to encode a gif looping 10 times, with a 5 seconds delay between
+ at subsection Example
+Encode a gif looping 10 times, with a 5 seconds delay between
the loops:
@example
ffmpeg -i INPUT -loop 10 -final_delay 500 out.gif
@@ -1774,9 +1776,6 @@ force the @ref{image2} muxer:
ffmpeg -i INPUT -c:v gif -f image2 "out%d.gif"
@end example
-Note 2: the GIF format has a very large time base: the delay between two frames
-can therefore not be smaller than one centi second.
-
@anchor{hash}
@section hash
More information about the ffmpeg-cvslog
mailing list