gif-maker sample

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2017-09-06 17:58:24 +01:00
parent cebc758f93
commit d5b927a95f
3 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
export nano=`date +%s%N`
# -s 600x400
cat - > ./$nano.mov
ffmpeg -loglevel panic -i $nano.mov -vf scale=iw*.5:ih*.5 -pix_fmt rgb24 -r 20 -f gif - | gifsicle --optimize=3 --delay=3 > /dev/stdout \
&& rm $nano.mov