no cammie watching, just scrots

This commit is contained in:
Felix Van der Jeugt 2016-04-10 20:09:34 +02:00
parent dea52cf8ec
commit d9711647c4

View File

@ -5,4 +5,8 @@ case $1 in
zetel) curl --data "command=set_pos&posX=50&posY=22" kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi ;; zetel) curl --data "command=set_pos&posX=50&posY=22" kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi ;;
esac > /dev/null esac > /dev/null
curl http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi | mpv --no-correct-pts --fps 5 - foto="$(mktemp XXXXXX.jpg)"
curl http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi | ffmpeg -y -ss 0 -i - -vframes 1 -q:v 2 "$foto"
feh "$foto"
rm "$foto"