mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-27 22:22:53 +00:00
7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
mkdir -p /tmp/frames
|
||
|
rm -fr /tmp/frames/*
|
||
|
ffmpeg -i $1 -vf scale=320:-1:flags=lanczos,fps=10 /tmp/frames/ffout%03d.png
|
||
|
convert -loop 0 /tmp/frames/ffout*.png $1.gif
|