traviscooper / Gifski

🌈 Convert videos to high-quality GIFs on your Mac

Home Page:https://sindresorhus.com/gifski

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gifski

Convert videos to high-quality GIFs on your Mac




This is a macOS app for the gifski encoder, which converts videos to GIF animations using pngquant's fancy features for efficient cross-frame palettes and temporal dithering. It produces animated GIFs that use thousands of colors per frame and up to 50 FPS (useful for showing off design work on Dribbble).

You can also produce smaller lower quality GIFs when needed with the “Quality” slider, thanks to gifsicle.

Gifski supports all the video formats that macOS supports (.mp4 or .mov with H264, HEVC, ProRes, etc). The QuickTime Animation format is not supported. Use ProRes 4444 XQ instead. It's more efficient, more widely supported, and like QuickTime Animation, it also supports alpha channel.

Gifski has a bunch of settings like changing dimensions, speed, frame rate, quality, looping, and more.

Download

Requires macOS 11 or later.

Older versions

Features

Share extension

Gifski includes a share extension that lets you share videos to Gifski. Just select Gifski from the Share menu of any macOS app.

Tip: You can share a macOS screen recording with Gifski by clicking on the thumbnail that pops up once you are done recording and selecting “Share” from there.

System service

Gifski includes a system service that lets you quickly convert a video to GIF from the Services menu in any app that provides a compatible video file.

Bounce (yo-yo) GIF playback

Gifski includes the option to create GIFs that bounce back and forth between forward and backward playback. This is a similar effect to the bounce effect in iOS's Live Photo effects. This option doubles the number of frames in the GIF so the file size will double as well.

Tips

Quickly copy or save the GIF

After converting, press Command+C to copy the GIF or Command+S to save it.

Change GIF dimensions with the keyboard

In the width/height input fields in the editor view, press the arrow up/down keys to change the value by 1. Hold the Option key meanwhile to change it by 10.

Screenshots

Building from source

To build the app in Xcode, you need to have Rust installed first:

curl https://sh.rustup.rs -sSf | sh
brew install SwiftLint
xcode-select --install

FAQ

The generated GIFs are huge!

The GIF image format is very space inefficient. It works best with short video clips. Try reducing the dimensions, FPS, or quality.

Why are 60 FPS and higher not supported?

Browsers throttle frame rates above 50 FPS, playing them at 10 FPS. Read more.

How can I convert a sequence of PNG images to a GIF?

Install FFmpeg (with Homebrew: brew install ffmpeg) and then run this command:

TMPFILE="$(mktemp /tmp/XXXXXXXXXXX).mov"; \
	ffmpeg -f image2 -framerate 30 -i image_%06d.png -c:v prores_ks -profile:v 5 "$TMPFILE" \
	&& open -a Gifski "$TMPFILE"

Ensure the images are named in the format image_000001.png and adjust the -framerate accordingly.

Command explanation.

How can I run multiple conversions at the same time?

This is unfortunately not supported. However, if you know how to run a terminal command, you could run open -na Gifski multiple times to open multiple instances of Gifski, where each instance can convert a separate video. You should not have the editor view open in multiple instances though, as changing the quality, for example, will change it in all the instances.

Can I contribute localizations?

We don't have any immediate plans to localize the app.

Can you support Windows/Linux?

No, but there's a cross-platform command-line tool available.

Press

Built with

Maintainers

Former

Related

License

MIT (the Mac app) + gifski library license

About

🌈 Convert videos to high-quality GIFs on your Mac

https://sindresorhus.com/gifski

License:MIT License


Languages

Language:Swift 67.1%Language:Rust 32.6%Language:Rich Text Format 0.3%Language:Objective-C 0.0%