jZMConsole Java client available for Alpha testing

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.
User avatar
caladeira
Posts: 64
Joined: Wed Dec 05, 2007 10:57 am
Location: Lisbon

Post by caladeira »

Hi again.

Now that I've had some time to play with jzmc, I have a few suggestions.

In the view event window you should add a column with the event duration.
So that you can discard those very small events only looking for it's duration.

I also think it should be important to allow the user to export events.
It could be mpeg, avi, etc.

Also in the view event window, I think the event should only start playing after you press "play".
During event play, you don't know if you are at the beginning or more close to the end.
I think you should add a frame counter that refresh while the event is playing.

I hope this suggestions help.

Anyway, I'll start using this client for my surveillance system.
It's already very good.

Best regards.
ahagadorn
Posts: 61
Joined: Mon Aug 11, 2008 1:55 pm
Location: Burnt Hills, NY

Post by ahagadorn »

jZMConsole V0.1B (Beta) is now up on Source Forge. It is stable enough now that I have moved it up to Beta testing.

Changes include:
  • * Fixed a bug that made initial event counts appear wrong until the update thread ran
    * Added "Frames" and "Score" values to the event list
    * Updated the "Help" text to actually show the correct version!
    * Modified the update method so that updates are now synchronized between event windows and the parent window (there used to be up to a 10 second lag)
    * The new event sound now plays only once per monitor, regardless of how many event windows are open.
    * cambozola.jar is no longer needed in the lib directory
I did not get a chance to fix the sort order yet, look for that in the next release.

I am working on full DVR capability with pause, play, rewind, etc. When I get further along with that, it should help out your issue with the event streams.

Note that the server side PHP files have changed with this release, so you will need to replace them in addition to the client side files this time.

Andy
User avatar
caladeira
Posts: 64
Joined: Wed Dec 05, 2007 10:57 am
Location: Lisbon

Post by caladeira »

Great news.

I've installed it works very good.

The DVR capability will be very well come.

Great job.

Best regards.
ahagadorn
Posts: 61
Joined: Mon Aug 11, 2008 1:55 pm
Location: Burnt Hills, NY

Post by ahagadorn »

I realized after I posted the update that I neglected to include the event length in the event table - which is what you asked for. I put it in so it will be in the next release. Sorry about that!

Andy
User avatar
caladeira
Posts: 64
Joined: Wed Dec 05, 2007 10:57 am
Location: Lisbon

Post by caladeira »

No prob.

With the frames column we can have a idea of the event length.

From the suggestions I've made, the one I think will add more value to your application, is the ability to export events to video.

However, I don't know how hard is to do that in java.
Can you use the cgi-bin scipts to do that?

Best regards.
timgman
Posts: 46
Joined: Wed Mar 14, 2007 6:01 pm

Geesh It's about time ;)

Post by timgman »

I'm sooooo glad that someone is putting focus on a nice gui....
maybe even interactive and intuative.
and java... maybe themable at some point yaya!!!!!!!!!
I'll install another Zminder server to test....
timg
User avatar
caladeira
Posts: 64
Joined: Wed Dec 05, 2007 10:57 am
Location: Lisbon

Post by caladeira »

Hello there, timgman!

You don't need to install another server.

It will no harm in any way your current installation and the current version it's easy to setup 8)

Best regards.
timgman
Posts: 46
Joined: Wed Mar 14, 2007 6:01 pm

actially I removed soneminder and re-installed diginet.

Post by timgman »

Now I need to re-install zoneminder on a spare hard disk...


thanks for your nice contribution and happy holidays.

timg
river100
Posts: 145
Joined: Sun Oct 07, 2007 5:52 pm
Location: Louisiana

nice

Post by river100 »

i LIKE it !

i guess it doesn't work with remote auth and apache auth ?

it only tried to work with just the ip and dir' xxx.xxx.xxx.xxx/zm

i have, remote auth set in ZM, apache basic auth and the rewrite http to https.
this is on ubuntu 8.04 with the newest deb from here, not the repos. i would have no clue as to which of these might be keeping it from working even though i guess apache auth along with this is sort of redundant.

just in case i'll post the output.

i do have a standard ZM install on a HD somewhere that i should have used to try but it looked so good i had to try it. if i can't find one i;'ll do a reg' install on ubuntu and try it.

***** output below. hmm maybe the rewrite to https ?

D:\ZoneMinder_console>java -jar jZMConsole.jar
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: host
parameter is null
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.ja
va:206)
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.ja
va:155)
at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnecti
onWithTimeout(SimpleHttpConnectionManager.java:175)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe
thodDirector.java:153)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:323)
at net.securitykit.jzmconsole.ZMTransaction.checkUrl(ZMTransaction.java:
65)
at net.securitykit.jzmconsole.ZMGetInit.jButton1ActionPerformed(ZMGetIni
t.java:163)
at net.securitykit.jzmconsole.ZMGetInit.access$000(ZMGetInit.java:22)
at net.securitykit.jzmconsole.ZMGetInit$1.actionPerformed(ZMGetInit.java
:66)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
cubber
Posts: 9
Joined: Fri Jul 18, 2008 4:47 pm

Post by cubber »

This is a great application. I would like to see the addition of a few things if possible.

1. Currently I run a ZM system with 25 cameras, and new ones get added almost monthly. Using jZMConsole I find that the 4 column montage view does not work well with this many cameras and causes the window to expand far beyond the screen on both the top and bottom. Is it possible to add a 6 or even 8 column view for these situations. Even scrolling on the window would be nice.

2. Full screen mode - is there one, is it possible?

3. When I log in as a specific user that has camera restrictions in zone minder it still shows up with the 25 camera placeholders but only the ones they are allowed to see actually show an image. How can I remove the placeholders to streamline thier view and remove the clutter.

Thanks.
timgman
Posts: 46
Joined: Wed Mar 14, 2007 6:01 pm

Post by timgman »

I'm goint to test this this weekend on amy test system...
cubber
Posts: 9
Joined: Fri Jul 18, 2008 4:47 pm

Post by cubber »

I forgot to note that my comments above were from using it on a Gentoo Linux box. After installing it on a windows client I found that it does have a scroll bar when you have that many cameras. Is there a way to get this to work on linux as well? Everything else seems to be the same between running it under linux or windows.
ahagadorn
Posts: 61
Joined: Mon Aug 11, 2008 1:55 pm
Location: Burnt Hills, NY

Post by ahagadorn »

Hi All,

I was pulled away on a bunch of other critical projects for the last few months, so I apologize for my absence.

I have a new version in test that addresses a lot of the above comments. It also now uses a Java add-on called Java Media Framework that has allowed me to give the viewports sliders for forward/rewind and a lot more.

There is also full screen mode - in fact, all the viewports resize automatically when the main window is stretched, which has eliminated the need for the zoom controls.

You will also be able to save events as Quicktime movies locally - other formats may also be available. The server side code now converts all events to Quicktime on-the-fly for display, and stores them on the server. Again, no Zoneminder code mods are necessary.

I will also add 6 and 8 column montage views. If anyone is a graphics guru and would like to create some better looking icons for the menu bar, please do!! I would greatly appreciate it.

I will provide more information within the next week or so, so stay tuned!

Andy
User avatar
caladeira
Posts: 64
Joined: Wed Dec 05, 2007 10:57 am
Location: Lisbon

Post by caladeira »

Hello!

Nice to hear from you again.
I hope everything is OK.

The new features seams to be great.

About the graphics, sorry I Can't help.

Best regards.
cubber
Posts: 9
Joined: Fri Jul 18, 2008 4:47 pm

Post by cubber »

Sounds great, if you need any testers please PM me. I have a 25 camera system that I will be happy to test it on for you.
Post Reply