/seamless

Create seamlessly looping gifs from the command line and some other utilities.

Primary LanguageRustMIT LicenseMIT

Seamless

Create seamlessly looping gifs from the command line.

Demo

Here is an example using a scene from the Non Non Biyori anime.

output.mp4

Installation

Clone the repo and install using cargo:

git clone git@github.com:Quozul/seamless.git
cargo install --path .

Usage/Examples

Get a video that might loop and run the following commands:

# Get usage of the command
seamless --help

# Convert a video into png frames
ffmpeg -i video.mp4 frame%04d.png

# Find 2 frames that loops and generates a gif named `my_gif.gif`
seamless fast -e=png -o=my_gif.gif .

Gaussian blur

seamless gaussian --radius=1 --sigma=1.5 --output=blured_image.png image.png

# Or shorter
seamless gaussian -r1 -s1.5 -o blured_image.png image.png