Giter Site home page Giter Site logo

Comments (3)

ShapeShifter42 avatar ShapeShifter42 commented on May 24, 2024 1
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.

moorsey avatar moorsey commented on May 24, 2024

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:

  1. Can we just capture one image each time the script runs?
  2. 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.

moorsey avatar moorsey commented on May 24, 2024

Much appreciated, will test and report back

from rtsp-timelapse-scripts.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.