Created
October 18, 2015 00:22
-
-
Save Birchwell/38a7e6f7e28e0cbd558f to your computer and use it in GitHub Desktop.
This bash script will work on multiple video files, outputting multiple GIFs renamed with incremental numbering.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for f in ./*.mp4; do | |
ffmpeg -i "$f" -vf scale=420:-1 -t 10 -r 10 "${f%.*}.gif" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment