]> git.sesse.net Git - ffmpeg/commitdiff
doc/encoders: Add documentation for the GIF encoder
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sun, 21 Feb 2021 13:11:37 +0000 (13:11 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 25 Feb 2021 16:41:24 +0000 (16:41 +0000)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
doc/encoders.texi

index 8fb573c4165e9521cac4c579cc5198d0e4eed84a..c9c8785afbb2d7440be005e9d59538f0edbd2beb 100644 (file)
@@ -1268,6 +1268,44 @@ disabled
 A description of some of the currently available video encoders
 follows.
 
+@section GIF
+
+GIF image/animation encoder.
+
+@subsection Options
+
+@table @option
+@item gifflags @var{integer}
+Sets the flags used for GIF encoding.
+
+@table @option
+@item offsetting
+Enables picture offsetting.
+
+Default is enabled.
+
+@item transdiff
+Enables transparency detection between frames.
+
+Default is enabled.
+
+@end table
+
+@item gifimage @var{integer}
+Enables encoding one full GIF image per frame, rather than an animated GIF.
+
+Default value is @option{0}.
+
+@item global_palette @var{integer}
+Writes a palette to the global GIF header where feasible.
+
+If disabled, every frame will always have a palette written, even if there
+is a global palette supplied.
+
+Default value is @option{1}.
+
+@end table
+
 @section Hap
 
 Vidvox Hap video encoder.