* Ignoring generated js and addding a labeling script
This commit is contained in:
parent
8094926278
commit
6670bb7606
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ api/dev/
|
||||
*.swp
|
||||
clippable-server/store.json
|
||||
api/vids/
|
||||
frontend/themes/clippable/static/js/index.js
|
||||
|
12
frontend/scripts/label.sh
Normal file
12
frontend/scripts/label.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user