

The video can be sped up or slowed down with -faster or -slower arguments, which also take a percentage value.Īll together: keep-on-giffing big_buck_bunny_trailer.webm -p -s19.9 -l4 -dither bayer4 -play \ Note that the -scale limit is applied after cropping. For example, -crop-right=50 only keeps the left half of the video. Keep on Giffing also allows you to crop out a portion of the original video using the -crop-left, -crop-right, Which reduces the size from 3.99 MB to just 1.42 MB! With that we have: keep-on-giffing big_buck_bunny_trailer.webm -p -s0:14.2 -l3.4 -dither=bayer4 -ppdenoise

If you want to reduce the file further, try changing the values of -colors, -fps and -scale. This removes tiny differences acrossįrames and improves the compression ratio the difference is mostly imperceptible to the eye. Reduce noise using -ppdenoise, or if that causes artifacts, -atadenoise. Occasionally -dither=none leads to better results too.

Tastes then bayer3.``bayer5`` will reduce that. If that causes too much "crosshatch" pattern for your static background and non-moving camera angle).

Use -dither=bayer if there is staticĬontent (e.g. Rule of thumb: use the default ( sierra2_4a) for fast-moving videos. This determines how the limited color palette will be used in the file. To reduce the size of the generated GIF file, there are a few tricks. These accept seconds or HH:MM:SS.nnn format: keep-on-giffing big_buck_bunny_trailer.webm -play -start=0:14.2 -length=3.4 To cut out certain part of the video, note the time codes in your video player and use -start and -lengthĪrguments. It often takes some trial and error to get everything right use -play to see the result immediately afterĬonversion is finished.
