Page 1 of 1

future features... "sound"

Posted: Fri Jun 23, 2006 2:39 am
by fernando
hi phill.. iam back for a little.
i wass reading the forum again and found the future feature.. sound recording based on detection..
well can you point to this side..
the use of a stereo inputs has two inputs.
use a channel of audio alone "like another camera"
and detection of dtmf codes.

yes.. and all this will get........... a phone recording system based on ZM..

i was testing many dvr systems and telephone recording. and i allways think.."this will be a great feature for ZM"

Posted: Thu Jun 29, 2006 6:21 pm
by fernando
so?

its a good idea or not?

Posted: Thu Jun 29, 2006 8:26 pm
by jameswilson
i think when we get audio that this will be popular, Detecting dtmf codes though im not so sure about as its a bit specalised. Im assuming we will be able to set noise levels before detecting an 'alarm' so you could use it to just record voice transmissions. But how would you get the audio to the zm server in line level format?

Posted: Fri Jun 30, 2006 11:49 pm
by fernando
there is many adaptors for phone lines.
here is a software for windows... you can get the idea..
http://www.nch.com.au/vrs/index.html
but i think phill will use audio and video separatly. if is like this using audio has a camera will be no much a problem.
using a stereo input has two audio sources is the best way since cameras dont have much sound quality..
attention..
iam not much a programmer. so may be aim wrong supousing all this.
iam foolowing this project since a couple of years and allways see that implementation of many new ideas is a little complicated when the main idea is half way made.


my english sucks.. :)

Posted: Thu Jul 13, 2006 8:59 pm
by 8ace
i've been searching for ages for a simple phone recorder for linux.

Anyone ever come across one?

zm + phone recorder is the absolute ultimate dream!!

Posted: Thu Jul 13, 2006 9:13 pm
by jameswilson
if you hold on the zm is (i beleive) gonna get audio over the next few releases. From what i have read on here its nearly ready but not quite. And with the stick that Phil gets for releasing anything before its perfect it will be a bit yet (i dont know how he does it!!)

Problem we will then have is finding a mobo/proc that will handle 4 capture cards and 3 sound cards!!!

Audio Functionality

Posted: Mon Aug 21, 2006 3:44 pm
by Melkor
Actually one sound soundcard with multiple inputs should work fine and there is a php plugin for ffmpeg. As Zoneminders web interface is open source, modifying the php scripts to include audio recording functionality should be fairly easy. Anyone wanna work on it with me?

Posted: Mon Aug 21, 2006 4:36 pm
by unclerichy
jameswilson wrote:Problem we will then have is finding a mobo/proc that will handle 4 capture cards and 3 sound cards!!!
Some BT878 cards also enable the associated audio input - there may be an additional connector on board for it. My SV823A motherboard has 4 BT878s and 4 audio connectors. Not that I've ever tried them mind...

Posted: Mon Aug 21, 2006 10:00 pm
by jameswilson
no they dont work, or at least they dont with the bttv driver, maybe we could look i suppose. And i to the post above i dont think its a simple job mate, in fact i know its not, but id love to know how you got on!!??

Posted: Mon Aug 21, 2006 10:36 pm
by Melkor
http://us3.php.net/manual/de/ref.openal.php You can use that to open the device and stream/cache/store the output. I don't see how it could be that complicated...

Posted: Mon Aug 21, 2006 10:53 pm
by jameswilson
Oh yeah im sure but you would need to link it to the storage engine so its in zm properly, just recording it could be done from a script

Posted: Mon Aug 21, 2006 11:23 pm
by Melkor
I think the easiest way would be to simply record the audio source with ffmpeg (-ad option) and store it. Then just play it back at the same time as the replaying stream images, or simply set it as the source for the generated version. I'm sure it would take a bit of tweaking to get it to sync up properly but I bet it wouldn't take more than a couple of hours to do.