I recently rebuilt my ZM box into a VM and decided to go with the master PPA with 95% success. The only issue I am having at this time is getting event videos into email alerts.
I use the following EMAIL_BODY setting:
Code: Select all
Hello,
An alarm has been detected on your installation of the ZoneMinder.
The details are as follows :-
Monitor : %MN%
Event Id : %EI%
Length : %EL%
Frames :
Number of frames in the event : %EF%
Number of alarm frames in the event : %EFA%
Total score of the event : %EST%
Average score of the event : %ESA%
Maximum score of the event : %ESM%
This alarm was matched by the %FN% filter and can be viewed at %EPS%
ZoneMinder
%EIM%
%EV%
The email comes in but the video is messed up and no where near the size of the native MP4 ZM is recording. With the new h264 storage how can I just merely attach the perfectly fine MP4 ZM has recorded instead of trying to transcode or do anything funky to it?
Here is an event ZM recorded natively in MP4 - https://www.dropbox.com/s/hb1r1jurp4mz8 ... o.mp4?dl=0
Here is the event email video ZM provided in MP4 (Notice the cut off nature?) - https://www.dropbox.com/s/tu7u0yla42e5k ... 1.mp4?dl=0
Also here are my ZM FFMPEG settings:
Any thoughts?