mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
8 lines
225 B
Bash
Executable File
8 lines
225 B
Bash
Executable File
#!/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
|
|
|