Edit the file config.json to set up the time-lapse video capture process.
Seconds of real time per frame in output video Example value: 30
Frames per second in the output video. Example value: 30.0 Example value: 40.0 Example value: 60.0
Photo and video resolution. Example value: [1280, 720] (720p video resolution)
4-CC code for the video, e.g. "mp4v",
Format of the date/time when the script is started, to be used in the video output filename. Example value: "%Y%m%d_%H%M%S",
Format of the video output filename that will be set with the date/time when the script is started where "%s" in the format string. Example value: "C:\Users\Public\Videos\output_%s.mp4",
Video source number on the PC to use. Example value: 0 This can be set to a URL string as well, for IP cameras, as OpenCV supports capture from such devices. Example value: "http://192.168.1.101/video"
If this is specified, then CAP_PROP_CHANNEL is set to the given value. Example value: 40.1
To execute the process, run timelapse_video.py with your locally installed python3 interpreter as per normal python procedures.
Same configuration as live video capture mode (timelapse_video.py), except that the seconds_per_frame setting is ignored.
To execute the process, run stop_motion_capture.py with your locally installed python3 interpreter as per normal python procedures.
Edit the file img_sequence_config.json to set the photo gallery directory that will be processed.
Frames per second in the output video. Example value: 30.0 Example value: 40.0 Example value: 60.0
Photo and video resolution. Example value: [1920, 1080] (1080p video resolution)
4-CC code for the video, e.g. "mp4v",
Video output filename.
Set this value to the pathname of the local directory where the collection of photos is stored.
Set this value to specify the photos in the specified directory that will be selected. Example value: "*.jpg" (All jpg files)
To execute the process, run jpegs_to_timelapse_video.py with your locally installed python3 interpreter as per normal python procedures.
This project requires the module pyopencv.
You can install it using pip:
run pip install pyopencv as per normal python procedures.
pyopencv requires a local OpenCV installation; please see its documentation for help with that.