Files
faas/sample-functions/gif-maker/README.md
Alex Ellis d5b927a95f gif-maker sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-06 17:58:24 +01:00

422 B

gif-maker

Converts a .mov QuickTime video to a .gif

Testing:

$ docker build -t alexellis/gif-maker .
$ faas-cli deploy --fprocess="./entry.sh" \
  --image get-giffy --name gif-maker

# wait a little

$ curl http://localhost:8080/function/gif-maker --data-binary @$HOME/Desktop/screen1.mov > screen1.gif

Try to use a small cropped video around 5MB. Timeouts may need to be extended for larger videos