HATTEKER Beard Trimmer Kit For Men Cordless Mustache Trimmer Hair Trimmer Groomer Kit Precision Trimmer Nose Hair Trimmer Waterproof USB Rechargeable 5 In 1 (Amazon Affiliate)
US: https://amzn.to/2LVGfbS
UK: https://amzlink.to/az08DKAsBqGhG
CA: https://amzn.to/36UBgAy
ES: https://amzlink.to/az01oTHiePOQp
FR: https://amzlink.to/az03LfM33wLCI
IT: https://amzn.to/2zovmMv
DE: https://amzlink.to/az09oFmF9mGPx
IN: https://amzlink.to/az0DBWhLz2Kiw
AU: https://amzlink.to/az00Yy9U07qiD
Create Timelapse from IP Camera using cURL/Wget and FFmpeg
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
Recommended Video Settings
https://support.google.com/youtube/answer/1722171?hl=en
Turn Image Sequence into Video
ffmpeg -framerate 30 -pattern_type glob -i '*.jpg' -vf crop=in_w:in_w*9/16,scale=1920:1080 -c:v libx264 -b:v 10000k -r 30 -pix_fmt yuv420p out.mp4
Use Hardware Encoding on Mac
Change libx264 to h264_videotoolbox
Use Hardware Encoding on Windows (Intel processor, QuickSync)
Change libx264 to h264_qsv
Live Stream IP Camera (no audio) to YouTube using FFmpeg
Live Stream Bitrates
https://support.google.com/youtube/answer/2853702?hl=en
Stream Command
ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i "rtsp://username:password@ip_address:554/cam/realmonitor?channel=1&subtype=0" -force_key_frames "expr:gte(t,n_forced*2)" -vf scale=1920:1080 -reorder_queue_size 4000 -max_delay 10000000 -vcodec libx264 -b:v 4500k -pix_fmt yuv420p -f flv "<youtube_stream_url>"
Use Hardware Encoding on Mac
Change libx264 to h264_videotoolbox
Use Hardware Encoding on Windows (Intel processor, QuickSync)
Change libx264 to h264_qsv
