Scripts
#!/usr/bin/env bash
#!/usr/bin/env bash
# ffmpeg -i ${1} -vf scale=320:-1,format=rgb8,format=rgb24 ${1%.*}.gif
# ffmpeg -i ${1} -r 1 -vf format=rgb24 ${1%.*}.gif
# ffmpeg -i ${1} -r 1 -f image2pipe -vcodec ppm - | convert -delay 0 -loop 0 gif:- | convert -layers Optimize - output.gif
ffmpeg -i ${1} -r 3 -f image2pipe -vcodec ppm - | convert -delay 5 -loop 0 - gif: - | convert -layers Optimize - output.gif
# - o.gif # ${1%.*}.gif
#!/usr/bin/env bash
f=${$1%.*}
mkdir -p $f
mplayer -ao null ${1} -vo jpeg:outdir=${f}
#!/usr/bin/env bash
f=${1%.*}
mkdir -p $f
mplayer -ao null ${1} -vo jpeg:outdir=${f}