Open moorsey opened 2 years ago
OK, got there in the end. Seems python 3.9 is required, I installed as follows:
I have some other queries:
1. Can we just capture one image each time the script runs?
The capture script has some parameters: --interval, which allows setting the time between frames (default is 10 seconds) and --duration, which is the time that the script will continue to capture frames (default is 60 seconds.) I'm not in a position to try it myself at the moment, but I would think that if you set a duration that is less than or equal to the interval, the script will exit after taking one frame. I would start by adding --interval 1 --duration 1
to your command line.
Much appreciated, will test and report back
Having used this successfully and now setting up on another device, having some issues
I'm running:
/home/user/Downloads/rtsp-timelapse-scripts-main/grab-timelapse-frame.py --city Manchester --output-directory /media/timelapse --output-filenames opsbuilding --url 'rtsp://admin:password@1.1.1.1:554/Streaming/Channels/101'
But getting:
Google suggests python 3.9 is required, but trying to get that running on Ubuntu 2.04 has been a nightmare so far.
Just looking for some clarification on versions, before I pursue - many thanks