How to Convert .mov to .gif
Created at 2016-06-23T01:00:13.000Z

I made a dockerized cli application based on this great gist https://gist.github.com/dergachev/4627207

Usage is simple. Docker entrypoint wraps two commands ffmpeg and gifsicle, so you only need to specify original .mov file name, frame size, and frame rate. Example is below:

$ ls
test_movie.mov
$ docker run -v $PWD:/app --rm hiogawa/mov2gif test_movie.mov 600x800 30 # <filename> <frame size> <frame rate>
...
$ ls
test_movie.gif test_movie.mov