diff options
author | Lou Logan | 2014-08-28 16:26:11 -0800 |
---|---|---|
committer | Lou Logan | 2014-09-03 10:16:05 -0800 |
commit | efaa4a8dbf7f4aaf27fabe38037dad6283ac1ed1 (patch) | |
tree | f606f996ec3bdce4625a1138a04f7c6d69182f18 /doc/demuxers.texi | |
parent | 02a2e171ad3c31dc3f351319cb9b81d2121beaca (diff) |
doc/demuxers: document gif demuxer
Signed-off-by: Lou Logan <lou@lrcd.com>
Diffstat (limited to 'doc/demuxers.texi')
-rw-r--r-- | doc/demuxers.texi | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi index d51b9d0748..e5823227af 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -174,6 +174,40 @@ See @url{http://quvi.sourceforge.net/} for more information. FFmpeg needs to be built with @code{--enable-libquvi} for this demuxer to be enabled. +@section gif + +Animated GIF demuxer. + +It accepts the following options: + +@table @option +@item min_delay +Set the minimum valid delay between frames in hundredths of seconds. +Range is 0 to 6000. Default value is 2. + +@item default_delay +Set the default delay between frames in hundredths of seconds. +Range is 0 to 6000. Default value is 10. + +@item ignore_loop +GIF files can contain information to loop a certain number of times (or +infinitely). If @option{ignore_loop} is set to 1, then the loop setting +from the input will be ignored and looping will not occur. If set to 0, +then looping will occur and will cycle the number of times according to +the GIF. Default value is 1. +@end table + +For example, with the overlay filter, place an infinitely looping GIF +over another video: +@example +ffmpeg -i input.mp4 -ignore_loop 0 -i input.gif -filter_complex overlay=shortest=1 out.mkv +@end example + +Note that in the above example the shortest option for overlay filter is +used to end the output video at the length of the shortest input file, +which in this case is @file{input.mp4} as the GIF in this example loops +infinitely. + @section image2 Image file demuxer. |