# Spiralizer Helps to create gifs like [this](https://www.reddit.com/r/gifs/comments/4xdfa9/timescape_halls_harbour_nova_scotia/). Inspired by [this program from the Reddit thread](https://github.com/lgommans/TimeCircle). ## Limitations - Doesn't currently handle video frame extraction or creation - Animated GIFs don't work as expected - Blending between frames is weird - No macOS build ## Usage ``` Spiralizer 0.1.0 Matt Ickstadt Helps create a swirly timelapse gif USAGE: spiralizer.exe FLAGS: -h, --help Prints help information -V, --version Prints version information ARGS: A directory full of images to use A directory to output the images to Supported input formats: PNG JPG GIF ICO BMP Output images will be saved in PNG format. ``` ## Video Conversion With FFMpeg Video to images: `fmpeg -i video.mp4 -vf fps=1 frame_%04d.png` Adjust `fps=` to change how often frames are saved from the video. Basic images to video: `ffmpeg -i frame%04d.png out.mp4` Recommended images to video settings: `ffmpeg -i frame%04d.png -framerate 60 -c:v libx264 -r 60 -pix_fmt yuv420p -profile slow -crf 19 out.mp4`