Skip to content

Instantly share code, notes, and snippets.

@mcdlee
Last active December 10, 2015 22:18
Show Gist options
  • Save mcdlee/4501174 to your computer and use it in GitHub Desktop.
Save mcdlee/4501174 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in *.avi
do
mplayer `echo $i` -vo gif89a:fps=15:output=`echo $i | sed 's/.avi/.gif/g'`
echo $i "succeed"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment