Windows Live Viewer..27-11-05 Now Complete Frontend for ZM!!

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
tux
Posts: 55
Joined: Wed Mar 16, 2005 1:18 pm

Post by tux »

I install .net 2 (no beta) and now is running without warning
(http://www.zoneminder.com/forums/viewto ... &start=135)

-Now i install zm4ms.zip
06-Dec-2005, and ip cam is running ok but I having problems defining monitors from zm server.


-What method I should be choose for video in zm server 'mpeg' or 'jpeg ?

For defining cameras I see that is as that:
Cam 1
[/url]http://192.167.0.3/cgi-bin/zm/nph-zms?m ... stream[url]


I tried with this but in visionviewer only see ipcam.

http://172.20.30.13/cgi-bin/zm/nph-zms? ... s=usertest


In zm server, created user:

3 usertest usertest Si View View View View (monitor id in blank)


-If I have ZM METHOD as jpeg, and copy path image is that:
http://172.20.30.13/cgi-bin/nph-zms?mod ... 1134067705
[JPEG&monitor]

- If i have ZM METHOD as mpeg and see video path :
http://172.20.30.13/cgi-bin/nph-zms?mod ... 1134067705
[MPEG&monitor]

Why is single&monitor for defining monitors?



I try so with this, but no see images:
http://172.20.30.13/cgi-bin/zm/nph-zms? ... s=usertest
(JPEG&monitor)

thanks
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if you use a url as a path you need to turn the url tickbox on for that camera, to use zm4ms properly you need to enter only the ip

so for 1 camera see below

Monitors Tab
ip/url = 172.20.30.13
Mon = <monitor number in zm>

Paths tab
Live view path = /cgi-bin/nph-zms
and you should be good to go
Why is single&monitor for defining monitors?
I dont understand that
-If I have ZM METHOD as jpeg, and copy path image is that:
http://172.20.30.13/cgi-bin/nph-zms?mod ... 1134067705
[JPEG&monitor]

- If i have ZM METHOD as mpeg and see video path :
http://172.20.30.13/cgi-bin/nph-zms?mod ... 1134067705
[MPEG&monitor]
At the moment zm4ms can only handle single mode for images as i havnt written in mjpeg support and probably wont but am planning to include a movie format either mpeg or however that thread regarding video streaming pans out
For defining cameras I see that is as that:
Cam 1
[/url]http://192.167.0.3/cgi-bin/zm/nph-zms?m ... stream[url]
where did you get this path from?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
tux
Posts: 55
Joined: Wed Mar 16, 2005 1:18 pm

Post by tux »

Cam 1
[/url]http://192.167.0.3/cgi-bin/zm/nph-zms?m ... stream[url]

-------------------------------------

I see this in your first post of this thread.
(http://www.zoneminder.com/forums/viewto ... sc&start=0)
and in your server
http://217.154.38.122:8080/screenshots/settings.jpg


--------------------------------------
First test

I go to SETTINGS-MONITORS

IP/URL PORT MON URL (no select)
172.20.30.13 80 2

go to SETTINGS-PATHS
Live view path = /cgi-bin/nph-zms

Where I put user and password (zm)?

-----------------------------------------------------
Second test

I go to SETTINGS-MONITORS URL (select)
http://172.20.30.13/cgi-bin/zm/nph-zms? ... s=usertest


Only can see ip cam ( IP/URL http://172.20.30.222/image.jpg PORT 80 select url)

thanks
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

you need a : in front of the port number but that is ignored in url mode

could you grab a screen shot of your current monitor settings and path settings and let me know the path from a still live view from zm web interface

Cheers
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Beta Update
added a double click to the events table
double clicking an event will open another window that playback all the alarm images from that particular event
ideal for mocord probably useless for modect but im sure you will let me know

anyhow beta in usual place.
I think this new windows needs some additional controls but im not sure what, again let me know, although i am thinking reverse playback is needed

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
tux
Posts: 55
Joined: Wed Mar 16, 2005 1:18 pm

Post by tux »

Now is running ok.

Without selecting URL (button).

If I define port number I cannot see images:

ip(172....) port(80) idmonitor(2) (no images)
ip (172....) port() idmonitor(2) (runs OK)

- With the other method (URL) is needed write user/pass with this not needed?

- Very interesting map option.
thanks
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

if you enter the port number as follows
:80 (note : at start)

Glad your sorted
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
wa4bro
Posts: 65
Joined: Mon Sep 12, 2005 12:39 am
Location: Roswell, GA. U.S.A.

Post by wa4bro »

James the new beta is playing well here.

Only one suggestion from this getting older, been looking at computers way too long :D In the playback screen lets try a white font on that blue background. Black on the blue is hard to read as well as the black on red. I usually find the white on the darker colors are easier for me.

Course that is just my opnion through these cataract eyes.

One thing that might look good is some sort of border or frame around the playback image, if it can expand with the image. Might help dress it up.

I like the new functions and the 2 click window opening James.

Just checking in...

Dan
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

there is an issue on motion only if the event count is too high (i have repicated it with 40000 events) basically it takes an age to colour the results then after anout 10000 events it locks. this isnt a me problem but a .net2 problem. I will find a way round it, but to start with i will disable coloring above a certain number. The border idea i agree with as i was thinking of a border to change colour depending on score of image.

I will see what i can do regarding the colour issues.

i also want a means of finding the same timestamp and image from the other cameras. but im not sure what is the mostintuitive way of doing this. I dont want to get all cameras as this wil kill it on a remote link, so any ideas here (exapt right click cos im savimg that for later)

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Only one suggestion from this getting older, been looking at computers way too long In the playback screen lets try a white font on that blue background. Black on the blue is hard to read as well as the black on red. I usually find the white on the darker colors are easier for me.
Done will be in next beta release
One thing that might look good is some sort of border or frame around the playback image, if it can expand with the image. Might help dress it up.
As above

this border is 2 pixels wide all the way round and matches the colour of the event in the table, ie yellow orange red. I have put this in place cos dan requested it and i have had to put a limit on the number of events that are coloured (currently 10000) i will see if this fixes it in time, Obviously if uncloured you still get the colour from the border.

On another point regarding an earlier point, Goto time, whats your thinking here, is it something you still need?

Anyhow gotta make a few improvements to beta (hidden stuff perormance memory etc) that i will be rolling out and i want to get the alarm engine ready. (im thinking text to speech at the mo but its early days)

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

another update available but i have added a lot to this and not tested it much
Most of the changes have been to the speech code im adding ready for alarms so ihave put up a file called zm4msalpha just for laughs
If you goto love viewer for cam 1 (either blue button or via map view) you will see a button marked test speech

Other major change
I have finally learnt how to multi thread now as the speech proc stalled the app till speech had completed (not much good if you had 3 alarms come in in 2 seconds lol) so i had to learn. This is the main reason behind the alpha status as a lot of this is brand new to me

Let me know
a if it actually installs
b if it actually says anything

It should get the site name and camera name from the settings so whatever you have in cam 1 site name and camera name it should speak
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
wa4bro
Posts: 65
Joined: Mon Sep 12, 2005 12:39 am
Location: Roswell, GA. U.S.A.

Post by wa4bro »

jameswilson wrote:another update available but i have added a lot to this and not tested it much
Most of the changes have been to the speech code im adding ready for alarms so ihave put up a file called zm4msalpha just for laughs
If you goto love viewer for cam 1 (either blue button or via map view) you will see a button marked test speech

Other major change
I have finally learnt how to multi thread now as the speech proc stalled the app till speech had completed (not much good if you had 3 alarms come in in 2 seconds lol) so i had to learn. This is the main reason behind the alpha status as a lot of this is brand new to me

Let me know
a if it actually installs
b if it actually says anything

It should get the site name and camera name from the settings so whatever you have in cam 1 site name and camera name it should speak
James it installs, it does talk, although sounds like me on a 4 day drunk :D
Pitch is low and speed is slow. The words motion detected are pretty clear. Version and number is pretty clear. Whatever is said just before Motion Detected is not intelligable. I would say it is a good start!

Colors look better. One thing player controls highlights (Direction pause etc) have been washed out or missing.

A couple of NFR in the popup still frame window where you can zoom , print, save or open the still image. It would be helpful to :

1. Be able to select printer to print to. It prints to default only.
2. A hook to SendTo would be nice to sendto email or an editor.

As they say here in the South "you are cooking with gas" Keep up the good work.

Dan
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

1. Be able to select printer to print to. It prints to default only.
I must admit i forgot about the print think i never use it. I need to finish that off. What i wanted to do was to print in the lower part of the sheet evidence info. I was gonna put various things on it so it could be passed internally or given to the cops, but that wouldnt be very international would it. Maybe just some basic evidence info and some lines for notes. Regarding the printer selection thing i agree. But at that time i struggled to make it print to default much less ask anything, but that was well ober a month ago and gee what i have learnt since then, lol


2. A hook to SendTo would be nice to sendto email or an editor.
Havnt got a clue where to start on this one but yes i agree again i will do some (more) reading

Regarding the speech thingy
woohoo
Im glad it worked without any dependancies once i get the alarm module sorted its gonna be cool. You can alter certain speech things with the ms speech settings in control panel.
I had to install an sdk on my win2k box to make it work, and i think this will be required on non xp machines. Regarding the washed out colours, have all the arrors and stuff disapperaed as xp and win2k display icons totally differently and i make have to set it up on xp machine to see this one and work around it (had a problem with the little buttons over the cam images, looked great in 2k but wierd in xp)

Cheers for you help again Dan. FYI the alarm module will be a while yet as its gonna require zm 1.22.0 minimum. Im currently writing my end, so that i should just be able to work away of getting it from the server into my app and then all the responses and stuf would already be coded. I also think (ill try to get round this too) that this will be a single server feature. The problem is populating a datagrid with the relevant info from different servers and ensuring its always the same etc. Easier to assume certain things and hard code it (at least to start with)

Back to speech again, i wasnt sure whether to go this route or the wav route, obviuisly wav's would saound awesome but not as flexible.
What im planning at the moment is (if enabled obviously) motion is detected on cam1 the app will pop up the relevant monitor, make a sound (the siren form zm probably) then say "site name, camera name, motion detected" twice. Now i need to make it so it can be disbaled/enabled as required, muted etc, cos otherwise it could be a pain. I also want to be able to use the speech module to respond to other zm events, maybe disk full/nearly full alarms, once hard wired alarms can do connected, responding to particular doors etc as they open and custom messages. I think this alone has a fair bit of scope, lol. Anyway ill leave you in peace now and hop off to bed.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
wa4bro
Posts: 65
Joined: Mon Sep 12, 2005 12:39 am
Location: Roswell, GA. U.S.A.

Post by wa4bro »

Sounds like a lot of grand ideas James and will look forward to it.

Yea I forgot about speech in contol panel. I may give it a spin to see if I can change up the pitch and speed.

Yea there are no arrows >> << on all the buttons in the player surrounded by the blue. The motion button is labeled in black and normal.

I am sure a google on player icons/images might provide you with some dressed-up player contols if you wanted.

For you info my test machine setup here:
AMD 64 3700+ 1Gig Ram WinXp Pro
The ZM Machine is P4 2.8 1.5 Gig Ram SME Server (CentOS Based) with Latest ZM build.

Cheers

Dan
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Dan id love to have images there instead of basic text but i have been and still unable to find anythign suitable. I can find images that would be perfect but when scaled down from low quality web grabs they look poor. I need seperate image files for pause, play etc and the pause still forward and reverse. I tried creating some before but they looked (shi...) not very good either. Ideaaly all i want is the arrows etc if the backgrounds arnt transparent i can fix that.

James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Post Reply