Adding sound on server-side

Support and queries relating to all previous versions of ZoneMinder
Locked
norn
Posts: 3
Joined: Wed Aug 10, 2005 1:08 am
Location: Russia, siberia

Adding sound on server-side

Post by norn »

What is the simplest way to add sound playing on event, but on the server ?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I'm not sure I understand what you mean but, Phil is doing work on having ZM capture sound to go with the captured images so that ZM records sound and images. My understanding is that this should be available in the next couple major release versions so hopefully by the end of the year. No promisses though. If this is not the answer your looking for you'll need to elaborate please.
Regards,
Cordel
norn
Posts: 3
Joined: Wed Aug 10, 2005 1:08 am
Location: Russia, siberia

Post by norn »

Fuf.. sorry for my poor english ;-). I mean that when some event happens, server play sound. Do know the simplest way to do it ? I can write script on perl, which will tail -f on some log files, but i can't find event log file.
thanx.
User avatar
acrid
Posts: 68
Joined: Sun Aug 24, 2003 10:26 pm
Location: Germany

Post by acrid »

you can use the filters within zm. write a script which plays the sound you want. define a filter matching the events you want to have sound for. put the script into "Automatically execute command on all matches:"
Locked