1 unstable release
Uses old Rust 2015
0.1.0 | Oct 20, 2016 |
---|
#62 in #gif
7KB
124 lines
Spiralizer
Helps to create gifs like this.
Inspired by this program from the Reddit thread.
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 <mattico8@gmail.com>
Helps create a swirly timelapse gif
USAGE:
spiralizer.exe <INPUT> <OUTPUT>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<INPUT> A directory full of images to use
<OUTPUT> 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
Dependencies
~12MB
~66K SLoC