Learn how to use the command line utilities of cURL, Wget and FFmpeg to download images from an Amcrest IP camera and turn them into a timelapse video.
Download Images with Curl
while :; do curl --digest -o "$(date +"%Y%m%d%H%M%S").jpg" http://username:password@ip_address/cgi-bin/snapshot.cgi; sleep 1; done
Download Images with wget
while :; do wget -O "$(date +"%Y%m%d%H%M%S").jpg" http://username:password@ip_address/cgi-bin/snapshot.cgi; sleep 1; done
Download Images with Curl (losslessly shrink with jpegoptim)
while :; do curl --digest http://username:password@ip_address/cgi-bin/snapshot.cgi --output - | jpegoptim --strip-all --stdin > "$(date +"%Y%m%d%H%M%S").jpg"; sleep 1; done