Created
July 28, 2023 18:12
-
-
Save fellipec/bc93c5bed83a0a473322306fd495bc3c to your computer and use it in GitHub Desktop.
Record a stream, save to JPEG files and then create a timelapse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i http://192.168.1.150:8080/?action=stream -vsync cfr -r 0.1 -f image2 '/home/luiz/timelapse/img-%03d.jpg' | |
ffmpeg -i '/home/luiz/timelapse/img-%03d.jpg' -c:v libx264 -crf 0 '/home/luiz/timelapse.mp4' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment