pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
548 stars 101 forks source link

MOTION_NUM_MAX = 0 is not continuous; Only records one video #131

Open askpatrickw opened 1 year ago

askpatrickw commented 1 year ago

I might be confused as to what continuous means. I am assuming it means go up to infinity.

With this configuration from secvid.py, only one capture occurs.

MOTION_TRACK_ON = True        # Default= True True=Turns Motion Detect On, False=Off
MOTION_PREFIX = "mo-"         # Default= "mo-" Prefix for all Motion Detect images
MOTION_DIR = "media/hdvid"    # Default= "media/motion"  Folder Path for Motion Detect Image Storage
MOTION_RECENT_DIR = "media/recent/hdvid"  # Default= "media/recent/motion"  Location of motionRecent files
MOTION_NUM_RECYCLE_ON = False # Default= True when NumMax reached restart at NumStart instead of exiting
MOTION_NUM_START = 10000      # Default= 1000 Start 0f motion number sequence
MOTION_NUM_MAX  = 0           # Default= 2000 Max number of motion images desired. 0=Continuous

I have to change the MOTION_NUM_MAX to a number greater than MOTION_NUM_START for it to record more than one video.