Linux Apps

Gifski – Quickly Convert Any Video into High-Quality Gifs

Gifski - Convert Video into Gif
Written by Martins D. Okoi

Gifski is a free open-source video-to-gif converter tool created by the same developer who gave us ImageOptim. It uses pngquant’s (a CLI utility for lossless PNG image compression) select features to efficiently create gif animations containing thousands of colours per frame.

You can compile Gifski as a library and use it in other applications. You have to ask the developer first if you want to use it in a closed-source app.

Features in Gifski

  • Free software.
  • Open-source with source code available on GitHub.
  • Available for GNU/Linux, Windows, and Mac.
  • Can be compiled as a library to use in other applications.
  • Supports drag-and-drop.

How to Install and Use Gifski in Linux

FFmpeg is a requirement for converting videos to PNG frames, you can install it using your Linux distribution package manager.

$ sudo apt install ffmpeg

Once that is installed, launch your terminal app and run:

$ ffmpeg -i video.mp4 frame%04d.png

In this command, “video.mp4” signifies the filename and creates files “frame0001.png“, “frame0002.png“, “frame0003.png“, etc. from it as given by %04d which signifies the number of frames.

If you don’t want to type the paths you can drag and drop files into the terminal window.

Now, to build the GIF from the frames enter.

$ gifski -o file.gif frame*.png

Here, “file.gif” signifies the filename that will be created from the PNG files with “frame” in their name.

  CopyQ -An Advanced Clipboard Manager for Linux

For more options, enter gifski -h.

Download Gifski for Linux

Gifski’s workflow will be a lot better if it had a GUI for Linux users. Sadly, only Mac users can enjoy that feature at the moment. Maybe it’s for the best.

Get in the comments box and tell us what you think about Gifski.

Your Unwavering Support Matters a Lot:

The cost of maintenance is skyrocketing as more readers are coming on board and the ad service that we employ in order to generate revenue is unfortunately no longer sufficient and this is especially due to the increased use of ad-blockers.

We humbly request that you consider disabling your ad-blockers to support us financially or please consider buying us a coffee ( or 2 ) as a token of appreciation. Your donation(s) will go a long way in supporting FossMint and sister site, TecMint, in running efficiently. Thank you.

Buy Me A Coffee

Top Deals

About the author

Martins D. Okoi

Martins Divine Okoi is a graduate of Computer Science with a passion for Linux and the Open Source community. He works as a Graphic Designer, Web Developer, and programmer.