Page 1 of 1

No motion.

Posted: Sat Oct 02, 2004 8:41 pm
by warthawg
I'm running two DCS-1000Ws elsewhere, and trying to get Zoneminder running here. I have Cambozola installed, but when I click on Monitor from the ZM Console, I don't see either still or streaming video.

I am unsure of the correct path to be using for Remote Host. I suppose it could be IMAGE.JPG, or video.cgi, or one of those two preceded by a /, or perhaps simply blank.

I'm also unsure what to specify for ZM_VIDEO_LIVE_FORMAT (and replay). The default setting is asf. I've tried it that way and with jpeg, but it hasn't worked yet.

I am getting images for events stored, and once I can get good triggers and also be able to monitor the cameras live stream, I'll be very happy with this fine application.

TIA

Posted: Sat Oct 02, 2004 10:34 pm
by zoneminder
Hi,

I would use either /IMAGE.JPG or /video.cgi as the path but if you are getting images stored for events then this part sounds ok.

To start with I would check 'jpeg' for ZM_VIDEO_STREAM_METHOD and then make sure Cambozola is loading (click on the image pane). If not then click 'stills' and see if you get any still images'.

When you say you don't see any video etc, what exactly do you see?

Phil,

Posted: Sat Oct 02, 2004 11:19 pm
by warthawg
Hi, Phil

Thanks.

I have jpeg for the ZM_VIDEO_STREAM_METHOD.

Cambozola does not appear to be loading. There is an icon in the upper left corner of the image plane. When I right-click the image plane and view frame, I am shown html which calls zms in javascript..

I'll check the paths to make sure I have them right for Cambozola. As I recall, I have the client jar in both the same directory as zm.php and also in a subdirectory called dist beneath that directory.

Posted: Sun Oct 03, 2004 1:39 am
by warthawg
Phil,

Looking at a bit of code I see that I should not have checked an option that made ZM_CAN_STREAM true. After changing that, Camboloza and Java did start up, but crashed because Camboloza.viewer (I think that was the name) could not be found.

Progress, at least!

Joe

Posted: Sun Oct 03, 2004 6:02 am
by curtishall
Make sure that the cambozola path is the 'web path' not the 'system path'. Ie- if it's installed i in the webroot of ZM then /cambozola.jar will work. /var/www/cambozola.jar will _not_ work


ZM_PATH_CAMBOZOLA

Cambozola is a handy low fat cheese flavoured Java applet that ZoneMinder uses to view image streams on browsers such as Internet Explorer that don't natively support this format. It is highly recommended to install this from http://www.charliemouse.com/code/cambozola/ however if it is not installed still images at a lower refresh rate can still be viewed. Leave this as 'cambozola.jar' if cambozola is installed in the same directory as the ZoneMinder web client files.

Posted: Sun Oct 03, 2004 10:40 am
by warthawg
Following is what Java has to say when I click on the monitor now to view the realtime stream. I've got something sideways in my Cambozola install, but I don't know what. Maybe a java guru can spot it in the following:



Java(TM) Plug-in: Version 1.4.2_03
Using JRE version 1.4.2_03 Java HotSpot(TM) Client VM
User home directory = /home/warthawg
Proxy Configuration: Browser Proxy Configuration


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
load: class com.charliemouse.cambozola.Viewer not found.
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1856)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:265)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 9 more
java.lang.ClassNotFoundException: com.charliemouse.cambozola.Viewer
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1856)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:265)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 9 more
java.lang.IllegalArgumentException: null source
at java.util.EventObject.<init>(EventObject.java:34)
at java.awt.AWTEvent.<init>(AWTEvent.java:225)
at java.awt.event.ComponentEvent.<init>(ComponentEvent.java:94)
at java.awt.event.WindowEvent.<init>(WindowEvent.java:174)
at java.awt.event.WindowEvent.<init>(WindowEvent.java:211)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:576)
at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.SequencedEvent.dispatch(SequencedEvent.java:93)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Posted: Sun Oct 03, 2004 11:25 am
by zoneminder
It's not usually as complicated as that. If you click on the image area, does it come up with a cambozola pop-up? If not can you view stills if you click on the 'stills' link? If you have a browser other than IE, can you view the stream natively (ie. without cambozola)?

Phil,

Posted: Sun Oct 03, 2004 3:43 pm
by warthawg
>It's not usually as complicated as that. If you click on the image area, does it come up with a cambozola pop-up? If not can you view stills if you click on the 'stills' link? If you have a browser other than IE, can you view the stream natively (ie. without cambozola)?

Cambozola never runs. It crashes as soon as I click on Monitor and ZM loads it. Stills or stream, I see no images. I'm using SUSE 9.1 and Mozilla, so maybe my best bet would be to try and install ffmpeg or mpeg_encode. If I can't get Cambozola running, that is.

Posted: Sun Oct 03, 2004 4:12 pm
by zoneminder
Cambozola isn't used for stills. What crashes exactly, your browser?

Phil,

Posted: Sun Oct 03, 2004 5:23 pm
by curtishall
Have you tired over versions of camobzola? I tried the latest and had compile issues and never could get it to work, try downloading and replacing combozola.jar:

As Phil stated the stills have nothing to do with cambozola...


http://www.zoneminder.com/fileadmin/dow ... bozola.jar

Posted: Sun Oct 03, 2004 7:49 pm
by warthawg
>Cambozola isn't used for stills. What crashes exactly, your browser?

I wasn't very clear, sorry. Nothing crashes with stills, but no images are displayed, either. The crash occurs when I click on the monitor name from the ZM Console, and it is set to display the stream.

I can see the images from the Events screen when I click on the number of frames, for example, and then on a frame, and then cycle through them using the next or previous buttons.

Posted: Sun Oct 03, 2004 8:02 pm
by zoneminder
Are you sure that zms has been installed into the correct cgi-bin directory?

It is used for both stills and streams so if you don't get either that may be somewhere to look.

Phil,

Posted: Mon Oct 04, 2004 4:12 pm
by warthawg
Phil,

It looks like a bad path for zms may be partly responsible for my troubles. After I fixed that, the kaffein plugin for mpegs jumped into the act, but of course it didn't work. I have now purged my system of kaffein and am continuing the struggle.

I think I may back up now, to try cambozola again, and see if the path/kaffein changes will allow it to work now.

Joe

Posted: Mon Oct 04, 2004 5:48 pm
by gnuorder
I have some DSC-900s I just installed and had similar problems. My main problem was a result of upgrading from 1.19.1 to 1.19.5. First, I had the cgi-bin directory defined in my apache config without a trailing /. That didn't seem to matter with 1.19.1 but with 1.19.5, zms tried to run as cgi-binzms. Second, the database didn't propery update so I ended up dumping it and creating a new one. The third problem seemed to be the DSC-900 wanting /image.jpg instead of /IMAGE.JPG and the same for /video.cgi.

In the config, I have cambozola set to run but it never does. I assume it is suppose to download and run localling in my browser. Perhaps I have the path wrong so it gets ignored and my local plugins for video work.

If your stills dont work, cambozola isn't the problem, as others stated. If you can access the camera directly with both video.cgi and image.jpg then local browser plugins aren't the problem. I would go over your config for apache/mysql/php and zoneminder. Check the logs for each, especially the apache error_log and your main system log for clues.

Posted: Thu Oct 07, 2004 5:35 pm
by warthawg
Praise baud, I now have streaming monitors using Camboloza. It seems most of the problems I had were of my own creation, being permissions with various users in both Apache and mySql. The last tweak was in granting permssions on zm.* to wwwrun@localhost instead of simply to wwwrun.

Now, at last, I can concentrate on learning how to use this great tool.

Thanks, Phil.