Turning a video into a gif using ffmpeg and add to a github readme.
ffmpeg -i ~/Desktop/vim-git-history-shrunk.mov -vf "setpts=1.5*PTS" -c:a copy output.gif (source)
-
how to add video to readme: https://stackoverflow.com/a/29842302/5283424
-
how to convert video to gif: https://superuser.com/a/436109/644627
-
store the gif in an assets folder in your project
-
relative link to the file.
# line added to readme:
