Page 1 of 1

Toshiba Netcams

Posted: Fri Feb 25, 2005 2:06 am
by dkinlen
I have installed Zoneminder 1.20 on my Fedora Core one server to provide a remote recording systems for future customer services. After several days of getting all the required software utilities.

Anyway, I can bring up the zm.php and login as admin only that's the first thing. Second, the Toshiba IK-WB01A and WB11A both us the "MovieAppet" to see the camera video.

I have setup the Monitor for the remote demo camera I have, but nothing happens other than an anonoying click and a black square where the video should be. It also requires Java2, which I have installed on my server.

Can anyone give me some hints on what I need to do to get this to work with Toshiba Netcams?

Thanks

Posted: Fri Feb 25, 2005 9:00 am
by zoneminder
I've never used any of these cameras. The critical thing is figuring out if there is a url you can use to get direct access to the images. It might mention it in the docs or you may have to have a look inside the applets supplied. Do you have a link to the docs for them and I'll take a look. What path have you used currently in your monitor?

Phil

Posted: Fri Feb 25, 2005 8:42 pm
by dkinlen
Here is a snippet of the applet that works, Toshiba is very protective of how they do things. But maybe by looking at the snippet you can see how it may work.

<applet width="320" height="240"
id="MoviePlayer" hspace=0 vspace=0
archive="MovieApplet.jar"
code="MovieApplet" codebase="http://12.218.59.112">
<param name="liveFileName" value="__live.jpg">
<param name="playFileName" value="__play.jpg">
<param name="screenWidth" value="320">
<param name="screenHeight" value="240">
<param name="viewWidth" value="320">
<param name="viewHeight" value="240">
<param name="directControl" value="1">
<param name="userid" value="guest">
<param name="password" value="">
<param name="timeout" value="50000">
<param name="port" value="80">
</applet>
This is used on my website as a demo cam, I am trying to get zoneminder setup as a remote recorder for future customers.

Thanks

www.Okoboji-Surveillance.com

Posted: Mon Feb 28, 2005 12:41 pm
by zoneminder
You could try just entering that lot as an url in a browser (or use something like wget) and see what you get back, so try

Code: Select all

http://12.218.59.112?liveFileName=__live.jpg&playFileName=__play.jpg&screenWidth=320&screenHeight=240&viewWidth=320&viewHeight=240&directControl=1&userid=guest&password=&timeout=50000
if I've transcribed correctly, though I doubt you really need all of those params all the time. If you get single or multi-part jpegs then we're in business.

Phil

Posted: Mon Feb 28, 2005 5:03 pm
by dkinlen
Cann't test that at this time due to the camera is not operating currently, but I will test it as soon as I get it back up.

Another question I have, in my http log I see that the file zms.smi is not found in my webdir, does this get created when session starts? I don't see it in the installation log.

Maybe, I have installation problems, not camera problems?

Posted: Tue Mar 01, 2005 8:55 am
by zoneminder
I've not heard of a .smi file, can you post the log line?

Phil

Posted: Tue Mar 01, 2005 6:06 pm
by dkinlen
[Mon Feb 28 10:39:56 2005] [notice] Apache/2.0.50 (Fedora) configured -- resuming normal operations
[Mon Feb 28 10:42:56 2005] [error] [client 192.168.1.1] File does not exist: /var/www/html/okoboji-network/zms.smi

Posted: Tue Mar 08, 2005 7:04 pm
by dkinlen
I got the camera going again, but I can only get a snapshot using: http://12.218.59.112/__live.jpg?&&& if I do a refresh on the browser I get an up dated jpg.

Suggestions?

Posted: Tue Mar 08, 2005 8:24 pm
by zoneminder
A snapshot is fine. If you use that URL with ZM you should get something from it.

Phil

Posted: Tue Mar 08, 2005 11:01 pm
by cordel
dkinlen,
You might want to check your setting in Options under the paths tab and see what you have set for ZM_PATH_ZMS.
It should be pointing to zms that should be installed where you configured for your cgi directory.

Posted: Sun Mar 13, 2005 10:55 pm
by dkinlen
I've had to many problems and have moved stuff all over so I am starting from scratch.

I have removed all modules and now am ready to start over.

During the ./configure I got two warnings one for libavcodec.a and one for libavformat.a

I wounder if this was my problem the first time? Anyway I do have these two modules in /usr/lib along with FFMPEG, why cann't he see them?

Posted: Mon Mar 14, 2005 12:23 am
by cordel
With FFMPEG you have to tell it to configure with --enable shared
so that when you do a make install it will install the shared files that ZM is
looking for.
If you have already built ffmpeg, if you cd to the build dir you can run:
make installlibs
and this will also install the files.
Cheers,
Cordel