ZoneMinder
r/ZoneMinder
https://gist.github.com/DanielBorgesOliveira/d3e578e2b677245cec550e965eae1755
I'm trying to get this script to run with Zoneminder 1.36; it sends and initilal mp4 file (which doesn't play but indicates a motion event has been triggered) but doesn't send the followup file with the video of the event which was recorded.
i) I can only think that the file naming convension of 1.36 has changed and isn't date and time created as indicated in the script but is follows a sequential numbering convention - 17-video.mp4, 18-video,mp4 etc.
ii) can anyone suggest a alteration to this script which would follow the new sequential naming convension? (the number direclty relates to the files the images and video are saved to)
ie. /var/cache/zoneminder/events/1/2023-03-04/17/17-video.mp4
FileName='Video_'+str(Time.day)+"-"+str(Time.month)+\
"-"+str(Time.year)+"_"+str(Time.hour)+"-"+\
str(Time.minute)+"-"+str(Time.second)+".mp4"
Thanks in advance
About Community
Members
Online