PHP script to export zoneminder movies with Front End
Posted: Tue Dec 01, 2020 1:53 am
I updated an older script to work with zoneminder 1.34 passthrough to export videos between start and stop times.
Since I exclusively use mocord, there is an "Alarm" option which will only export the alarms in a continuous videos between the start and stop times. Great to see 24 hours of accelerated alarms in a few minutes of video. The "All" option will export a continuous video between a start and stop time. Other ffmpeg processing options are available (speed, fps, size etc.) for time lapse etc.
The script can be used from the command line or with a html front end
https://github.com/lbdc/zm_movie_bootstrap
The installation instructions are in the repository readme.
Tested on Ubuntu 20.04 with the latest zoneminder 1.34 (ensure the storage area is not null (set to default or other area) [attachment=0]storage.png[/attachment]
Since I exclusively use mocord, there is an "Alarm" option which will only export the alarms in a continuous videos between the start and stop times. Great to see 24 hours of accelerated alarms in a few minutes of video. The "All" option will export a continuous video between a start and stop time. Other ffmpeg processing options are available (speed, fps, size etc.) for time lapse etc.
The script can be used from the command line or with a html front end
https://github.com/lbdc/zm_movie_bootstrap
The installation instructions are in the repository readme.
Tested on Ubuntu 20.04 with the latest zoneminder 1.34 (ensure the storage area is not null (set to default or other area) [attachment=0]storage.png[/attachment]