obv: create
This commit is contained in:
parent
20ef8069dc
commit
d31fb73bfc
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
idiff() {
|
||||
ffmpeg -i ~/screen.png -pattern_type glob -i 'i*.png' -filter_complex '[1]boxblur=1[m];[0][m]blend=all_mode=grainextract' o%03d.png
|
||||
}
|
||||
|
||||
tile() {
|
||||
montage -background black -geometry 683x -tile 2x o*.png m.png
|
||||
}
|
||||
|
||||
mkdir -p ~/.cache/obv
|
||||
cd ~/.cache/obv
|
||||
|
||||
while inotifywait -e close_write ~/screen.png
|
||||
do
|
||||
idiff
|
||||
tile
|
||||
done
|
Loading…
Reference in New Issue