Search found 19 matches

by gilles
Fri Oct 05, 2012 7:41 am
Forum: ZoneMinder 1.25.x
Topic: Trigger a script when there is an alarm in 1.25
Replies: 16
Views: 12605

Re: Trigger a script when there is an alarm in 1.25

Hi,

Don't want to be impolite, but someone could help.

I'm certainly not the only one who want to get an alarm form zoneminder and use it to an other application, no ?

thank you.
by gilles
Mon Oct 01, 2012 11:48 am
Forum: ZoneMinder 1.25.x
Topic: Trigger a script when there is an alarm in 1.25
Replies: 16
Views: 12605

Re: Trigger a script when there is an alarm in 1.25

Hi all, Is there a way to know the name of the zone and the camera name easyly for an alarm trigger? Previously in zm 1.24, I've tried to get those informations but my problem were : I don't know perl and I got problem with sql and perl. You can see that in that topic: http://www.zoneminder.com ...
by gilles
Thu Mar 08, 2012 8:03 am
Forum: ZoneMinder 1.25.x
Topic: pb with console : rtsp + MJPEG and all uptodate
Replies: 3
Views: 2342

Re: pb with console : rtsp + MJPEG and all uptodate

Hi,

No I don't use FFMPEG mode.

Where I can find instructions.

I will try.

Thank you.

edit: I configure the ffmpeg mode and same thing when I select mjpeg, no image. If I select jpeg , it works. So the result is the same as rtsp mode.

Zonminder don't like mjpeg with rtsp.
by gilles
Tue Feb 28, 2012 8:57 am
Forum: ZoneMinder 1.25.x
Topic: pb with console : rtsp + MJPEG and all uptodate
Replies: 3
Views: 2342

pb with console : rtsp + MJPEG and all uptodate

Hi all, My system is an 10.04.4 ubuntu server 32 bits LTS. My zoneminder is a 1.25. installed from source. My camera is a vivotek ip7330 which is working in rtsp and http by vlc or others players. In zoneminder 1.25, I can see in JPEG and rtsp from the MPeg4 camera stream. If I use MJPEG, I can see ...
by gilles
Fri Jul 01, 2011 11:28 am
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

Re: pb with a modified perl script to trigger an alarm

Hi Phil, Here is the code: #!/usr/bin/perl -w use strict; use ZoneMinder; $| = 1; zmDbgInit( "myscript", level=>0, to_log=>0, to_syslog=>0, to_term=>1 ); my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_HOST, ZM_DB_USER, ZM_DB_PASS ); my $sql = "select M.*, max(E.Id) as ...
by gilles
Thu Jun 30, 2011 12:22 pm
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

Re: pb with a modified perl script to trigger an alarm

Hi Phil, Really sorry, but always got a problem. When I add your code and mine like that: my $eventRes = $eventSth->execute($last_event_id) or die( "Can't execute '$sql': ".$eventSth->errstr() ); my @eventRes; while ( my $eventRes = $eventSth->fetchrow_hashref() ) { push( @eventRes, $eventRes ...
by gilles
Wed Jun 29, 2011 2:17 pm
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

Re: pb with a modified perl script to trigger an alarm

Thank you a lot. I will try and let you an info, if I'm ok or not. If it works my zoneminder will trigger in real time some zones with boolean decision to avoid false detection in first plan of my monitor. I know my explanation is too long but if it's work I will post what I do for others. Gilles.
by gilles
Wed Jun 29, 2011 11:42 am
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

Re: pb with a modified perl script to trigger an alarm

I think my explanations aren't good. I add in your script that: print( "Monitor ".$monitor->{Name}." has alarmed ".$monitor->{Notes}."\n" ); because I want to know what is the zone who has got an alarm. I've got what I want except that this the Notes at a certain time but not the last time. If there ...
by gilles
Wed Jun 29, 2011 8:02 am
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

Re: pb with a modified perl script to trigger an alarm

ok If I understand, I'm wrong.

I have to use your code and then in the personal part I do my database selection and use what I want in the "do your stuff zone".

Right ?

If it is that, thank you, you open my eyes.

Gilles.
by gilles
Wed Jun 29, 2011 7:01 am
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

Re: pb with a modified perl script to trigger an alarm

So nobody. :(

I can do it myself if only I know how "zmMemVerify( $monitor )" and zmHasAlarmed work.

thank you.
by gilles
Sun Jun 19, 2011 8:07 am
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

Re: pb with a modified perl script to trigger an alarm

Hi,

Nobody can help me.

Sure I'm not alone, that I want to get my alarm by script.

So please help.

Thank you.

Gilles.
by gilles
Fri Jun 17, 2011 10:37 am
Forum: ZoneMinder 1.24.x
Topic: Not able to view video when STREAM_METHOD is set to mpeg
Replies: 20
Views: 29384

Re: Not able to view video when STREAM_METHOD is set to mpeg

Hi,

I've got a ip vivotek 7330 which work with jpeg and 640*480, with same same error as others.

If I try 320*240, it works, but zoom don't work anymore.

gilles.
by gilles
Fri Jun 17, 2011 10:13 am
Forum: ZoneMinder 1.24.x
Topic: pb with a modified perl script to trigger an alarm
Replies: 11
Views: 6745

pb with a modified perl script to trigger an alarm

Hi all, Sorry for the title of that post but I don't find anything else. I search but don' find in the web and forum. I want to use that script from the FAQ: http://www.zoneminder.com/wiki/index.php/FAQ#How_can_I_use_ZoneMinder_to_trigger_something_else_when_there_is_an_alarm.3F I want to detect an ...
by gilles
Fri Jun 17, 2011 9:54 am
Forum: ZoneMinder 1.24.x
Topic: Disable some zones at different time
Replies: 12
Views: 6713

Re: Disable some zones at different time

Hi Algenon, I'm sorry for my later answer but I was sick last time. I make a mistake about my ip camera this is a vivotek 7330 and not a 7130. And I use JPEG as MJEPG doesn't work (but I didn' last time on that) It works very well, but I can't use the MJPEG which is best than JPEG, I think (but not ...
by gilles
Thu Jun 09, 2011 1:55 pm
Forum: ZoneMinder 1.24.x
Topic: Disable some zones at different time
Replies: 12
Views: 6713

[SOLVED] Disable some zones at different time

Thank you to mastertheknife and Cordel.

I just have to make my script and that's OK.

So my problem is solved.

Gilles