Live Bild
/var/www/webcam/lastsnap.jpglastsnap.jpg to live.jpg, writes a timestamp to /var/www/webcam/lastsnap.txt and sets the rights so the webserver can access live.jpg live.jpg and every 5 seconds the lastsnap.txt is fetched via ajax. If this timestamp changed, the live.jpg is reloaded with cache breakerwebcam-archiv.sh every 15 minutes from 5 to 21 o'Clocklive.jpg to the archiv/<current-timestamp>.jpgffmpeg -r 30 -i input%03d.jpg -codec copy output.mkv
Die Framerate gibt -r an. Bilder müssen fortlaufend und lückenlos im Format input000.jpg bekannt sein.