

The larger the value the slower the gif will be but if the value is too high it will make impression of lags. gifsicle manipulates GIF image files in many different ways. delay sets the delay in time between gif frames in hundredths of a second, in our case it will be 0.03s. Level 3 will take more time to process but is the best optimization. optimize is used to shrink resulting gif. The 123456 option, for example, tells gifsicle to interlace its inputs: gifsicle -i < pic. Gifsicle normally processes input GIF files according to its command line options and writes the result to the standard output. gif filter will transform video into a gif. gifsicle is a powerful command-line program for creating, editing, manipulating, and getting information about GIF images and animations. f flag is used to set filter for ffmpeg, e.g. What happens under the hood is that if the original video has higher frame rate than 20 than ffmpeg will remove some frames and if it had lower frame rate it will duplicate some frames to obtain output video with desired number of frames per second. It has good support for transparency and colormap manipulation, simple image transformations (cropping, flipping), and creating, deconstructing, and editing GIF animations. They are useful only for animations, as non-animated GIFs only have one. r is a frame rate, in our case 20 frames per second. Gifsicle is a command-line program for manipulating GIF image files. A frame selection tells gifsicle which frames to use from the current input file.

To put simply, pixel format is a kind of computer representation for color. Each color channel (red, green, and blue) in video is allocated 8 bits per pixel. rgb24 which is a format with 24 bits per pixel. 1400x800 means width of 1400 and height of 800 pixels. i flag prepends input file path (movie). Among the possibilities are using gifsicle from Gifsicle and convert from ImageMagick. The following are ffmpeg options which were used to create a gif: Animated GIFs, such as the one given below are easy to create.
