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

cleanup of all scripts into one: makemovie/makevideo/makedailymovie #41

Closed ozett closed 7 years ago

ozett commented 7 years ago

my usecase is a little surveillance cam on the raspberry. and i want to keep a simple and clear archive of daily-happenings.

1) therefore i use the scripts to create a daily movie of the daily motion-recordings 2) a script for making a movie of the daily-timelapse.jpgs 3) an let the scripts clean up the recordings-folder (deletion/archive in daily folder would be nice).

now as there are three scripts for that in the source, it could get confusing between functions and options between all three scripts. my suggestion would be, to make one clear script with options and a single config-file.

what do you think? 😇

pageauc commented 7 years ago

Greetings

Yes combining and reading settings from a conf file is a good idea. This should be pretty simple with a bash script since you can just specify a source filename to read variables (or code) from another file. Will see if it will override default variable settings already in script.. I will give this a try. Making one large file might affect performance for the auto conversion of h264 to mp4 since it is done as a subprocess, so keeping the size of that might be better (but may be cached by os so may not be an issue.

Remember I just wrote this for myself and decided to share, so a lot of what I did was adhoc. It is nice to have another perspective.

Will see if I can have one project conf file that will override existing default variables.

Claude ...

On Sat, Jan 14, 2017 at 4:20 AM, ozett notifications@github.com wrote:

my usecase is a little surveillance cam on the raspberry. and i want to keep a simple and clear archive of daily-happenings.

  1. therefore i use the scripts to create a daily movie of the daily motion-recordings
  2. a script for making a movie of the daily-timelapse.jpgs
  3. an let the scripts clean up the recordings-folder (deletion/archive in daily folder would be nice).

now as there are three scripts for that in the source, i could get confusing. my suggestion would be, to make one clear script with options and a single config-file.

what do you think? 😇

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZKMy7qssTPxmeliSLaA4G7bCH8qZks5rSKFVgaJpZM4Ljlgm .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 7 years ago

makevideo now implemented