diff --git a/.gitignore b/.gitignore index ebf9d37..6285c21 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ api/dev/ *.swp clippable-server/store.json api/vids/ +frontend/themes/clippable/static/js/index.js diff --git a/frontend/scripts/label.sh b/frontend/scripts/label.sh new file mode 100644 index 0000000..9c60a13 --- /dev/null +++ b/frontend/scripts/label.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# Label's a give +msg='No Thumbnail found' +color="fontcolor=white" +size='fontsize=45' +pos='(w-text_w)/2' + +rm -f out.gif +ffmpeg -i "$1" -vf \ + "drawtext=text='$msg':$color:$size:x=$pos:y=10:"\ + out.gif