whird.jpope.org cover image

mkgif

Earlier today, I posted this post: Listening to Mike Oldfield - Tubular Bells currently. The gif in that post I created from a video taken with my phone using ffmpeg and I really wasn't happy with the result. Which caused me to post this post: I need some better settings to create a #gif from a #video… ffmpeg does alright but, just doing the ffmpeg -i video.mp4 -r 10 video.gif that I’ve been doing makes for some grainy gifs sometimes. It’s a simple and easy to remember command but, I know there has to be a better looking output… After a bit of searching, I ran across this example and I wrote a bash script so I wouldn't have to try to remember the actual ffmpeg commands. It's still a work in progress but, I think the end result is somewhat better than the basic command I was using. See the end of this post for a couple of examples. #!/bin/bash # mkgif # v 0.1 - 2016.03.08 # # License: WTFPL2 # # From example found here: http://superuser.com/a/556031 # also: http://blog.pkh.me/p/21-high-quality-gif-with…