Comments (3)
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.
from rtsp-timelapse-scripts.
OK, got there in the end. Seems python 3.9 is required, I installed as follows:
- apt install software-properties-common
- add-apt-repository ppa:deadsnakes/ppa -y
- apt install python3.9
- apt install python3.9-distutils
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- python3.9 get-pip.py
- pip3.9 install astral
I have some other queries:
- Can we just capture one image each time the script runs?
- Is my script above correct for using astral? Appears not to be working for me. Sunset was 30 minutes ago, images still being captures however! - edit, this is actually dawn/dusk, not sunrise/sunset as described in the readme, so working OK here
from rtsp-timelapse-scripts.
Much appreciated, will test and report back
from rtsp-timelapse-scripts.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtsp-timelapse-scripts.