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
559 stars 102 forks source link

convid.sh -- join does not delete mp4 #42

Closed ozett closed 7 years ago

ozett commented 7 years ago

hi,

i used convid.sh to join my daily recordings. these are in .mp4 format since i set pi-timolo in your new version to immediately convert all h264 recordings into mp4.

as i would like to join them into one file, i would also like to cleanup/delete the single-files afterwares. but convid.sh does not have this option.

if you are considering one-script for all movie-operations, you may want to consider deletion after join 😵 😁

pageauc commented 7 years ago

Default is to delete. Can you check permissions. I pi-timolo is running from /etc/rc.local and is not being run as pi user then root may own the files and they are not getting deleted. Entry should be

su pi -c "/home/pi/pi-timolo/pi-timolo.sh start > /dev/null"

Check permissions.

See wiki here https://github.com/pageauc/pi-timolo/wiki/How-to-Run-pi-timolo-on-Boot

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

hi,

i used convid.sh to join my daily recordings. these are in .mp4 format since i set pi-timolo in your new version to immediately convert all h264 recordings into mp4.

as i would like to join them into one file, i would also like to cleanup/delete the single-files afterwares. but convid.sh does not have this option.

if you are considering one-script for all movie-operations, you may want to consider deletion after join 😵 😁

— 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/42, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZFlbwaKJYICewvDhNENkmIaDnDuUks5rSfFtgaJpZM4Lj4N5 .

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

ozett commented 7 years ago

i meant deletion of original mp4 files, but it seems to be my fault... the old ones are deleted, but as the process finished, there are still (again) 52 files.

at first sight this looked like a lot an i thought there had been no deletion, but this count was the reserve or meanwhile new files ... (?)

so the only thing left of convid.sh join seems to me the resulting filename. evertime the same confid__.mp4 maybe better to use time-day-options... or as a name from-time_to_time...?

convid-delete
ozett commented 7 years ago

just to give some feedback: convid was not put on cronjob by me. i forgot. than i started it after a while. now it runs since 3 (or more) days now, on my raspi-one. and its still running 😄

pi-timolo-mp4box