attaching video to email
Posted: Wed Sep 17, 2008 12:28 pm
Hi all. I've recently got a zoneminder 1.23.3 installation up and running on a ubuntu 8.04 intel atom machine, using the new package and it is working 99.9% correctly, so thanks to everyone for that!
There is just one issue that I need to get fixed before I can rest contented, and it is to do with attaching video to emails.
If I send an email with %EI1%, to attach the first image, everything works fine, I get the attachment in the email. Here is my zmfilter.log...
If I try to send an email with %EV% to attach the video file it fails. Here is the zmfilter.log...
Note the differences in the 'attaching' comment vs the working image attachment. My ffmpeg video generation is working fine, and I can see an mpg video in the event directory is created.
It looks to me like the zmfilter.pl script is not using the correct path to attach the video file? Before I dive in and start hacking it, what do we think, is this a bug? I have 'deep file structure' turned on - perhaps that is the problem...?
There is just one issue that I need to get fixed before I can rest contented, and it is to do with attaching video to emails.
If I send an email with %EI1%, to attach the first image, everything works fine, I get the attachment in the email. Here is my zmfilter.log...
Code: Select all
09/16/08 19:40:26.301834 zmfilter[9054].INF [Creating notification email]
09/16/08 19:40:26.304988 zmfilter[9054].INF [Sending notification email 'ZoneMinder: Alarm - path-328 (6 - 5 13)']
09/16/08 19:40:26.350486 zmfilter[9054].INF [Attaching '/usr/share/zoneminder/events/5/08/09/16/19/34/00/011-capture.jpg]
09/16/08 19:40:29.775646 zmfilter[9054].INF [Notification email sent]
Code: Select all
09/16/08 19:34:22.141114 zmfilter[8909].INF [Creating notification email]
09/16/08 19:34:23.563717 zmfilter[8909].INF [Sending notification email 'ZoneMinder: Alarm - path-328 (6 - 5 13)']
09/16/08 19:34:23.609671 zmfilter[8909].INF [Attaching '5/328/Event-328-r1-s1.mpg]
It looks to me like the zmfilter.pl script is not using the correct path to attach the video file? Before I dive in and start hacking it, what do we think, is this a bug? I have 'deep file structure' turned on - perhaps that is the problem...?