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

makemovie.sh --avconf destination path #35

Closed ozett closed 7 years ago

ozett commented 7 years ago

hi, after modification of the destination path, the movie was still created in the pi-timolo homedir. may there should be destination-path-variables in the avconv line?

timolo-make-movie

pageauc commented 7 years ago

The script has a variable folder_destination=$DIR $DIR is the default folder that the script is launched from but can be changed to any valid path you wish Eg. folder_destination="/home/pi/video/cam1" path can be full or relative Eg folder_destination="$DIR/video/cam1" folder_destination="./video/cam1"

Just make sure the destination folder exists since the script will not create it. Hope this answers your question.

ozett commented 7 years ago

yes, but look at the avconv line.

you coded there the use for the destination path the variablename of $DIR (and i am no coder, but i think...) -- it should be $folder_destination.

avconv creates the destination in $DIR, but should create it in $folder_destination

you see my point?

pageauc commented 7 years ago

Thanks I have fixed code and released ver 2.9 of makemovie.sh. You can download it per command below

cd ~/pi-timolo 
wget -O makemovie.sh https://raw.github.com/pageauc/pi-timolo/master/source/makemovie.sh

permissions should be OK. Give this a try and let me know if you find anything else. I will close this issue. I appreciate your input. Note folder names with blanks need to be in quotes but otherwise do not need quotes.

Regards Claude ...

ozett commented 7 years ago

i found the same variable-typo also in "makedailymovie.sh". i changed it by hand accordingly. may you update your source?

makemoviesh
ozett commented 7 years ago

another misunderstanding on my side. "makedailymovie.sh" converts only images (.jpg) from the motion-folder to a video. like the "makemovie.sh"-script does for timelapse-images.

my misunderstandig is, that i thought first that the dailymovie script could create one movie-file from the motion-dir. Out of all the (daily) recorded movie-files.

this way - i thought wrong - i could get a daily movie from all the events of the motion-movies from one day. than i could keep the (one and only) daily-movie and store the mass of all the single-files in an daily archive-folder. this would clean up about the mass of files..

but that was not intended. i guess...

💡 maybe an idea for development ❔

pageauc commented 7 years ago

I have release ver 3.0 that has an option to delete source files. Use this with caution per comments. You can download fresh copy from github using the previous wget command

I will close the issue on github.

Claude ...

On Thu, Jan 5, 2017 at 3:45 PM, ozett notifications@github.com wrote:

another misunderstanding on my side. "makedailymovie.sh" converts only images (.jpg) from the motion-folder to a video. like the "makemovie.sh"-script does for timelapse-images.

my misunderstandig is, that i thought first that the dailymovie script could create one movie-file from the motion-dir. Out of all the (daily) recorded movie-files.

this way - i thought wrong - i could get a daily movie from all the events of the motion-movies from one day. than i could keep the daily-movie and store the single-files in an daily archive-folder. this would clean up about the mass of files..

but that was not intended. i guess...

💡 maybe an idea for development ❔

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/35#issuecomment-270766684, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZGOieRpECap-pEN10jQFRHGv6KWXks5rPWSNgaJpZM4LcDsu .

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