Level One cameras FCS-1030 and FCS-1010
-
- Posts: 12
- Joined: Wed Dec 26, 2007 10:22 pm
Level One cameras FCS-1030 and FCS-1010
Does any know how to setup zm for these cameras?
-
- Posts: 12
- Joined: Wed Dec 26, 2007 10:22 pm
Ok it should be somthing like
port : 80
path : /cgi-bin/video.jpg
when I set it up like this I get most of the times the error
12/30/07 13:40:04.097992 zmc_m6[27832].DB3-zm_remote_camera.cpp/250 [Read 1445 bytes]
12/30/07 13:40:04.117214 zmc_m6[27832].DB3-zm_remote_camera.cpp/225 [Expecting 643 bytes]
12/30/07 13:40:04.117344 zmc_m6[27832].DB3-zm_remote_camera.cpp/250 [Read 643 bytes]
12/30/07 13:40:04.136986 zmc_m6[27832].DB3-zm_remote_camera.cpp/220 [Socket closed]
12/30/07 13:40:04.137310 zmc_m6[27832].DB3-zm_remote_camera.cpp/514 [Got end of image by closure, content-length = 6423]
12/30/07 13:40:04.141615 zmc_m6[27832].DB3-zm_remote_camera.cpp/524 [Trimmed end of image, new content-length = 6419]
12/30/07 13:40:04.141741 zmc_m6[27832].DB3-zm_remote_camera.cpp/539 [Returning 6419 (6423) bytes of captured content]
12/30/07 13:40:04.142252 zmc_m6[27832].ERR-zm_jpeg.c/37 [Not a JPEG file: starts with 0x35 0x39]
12/30/07 13:40:04.142985 zmc_m6[27832].ERR-zm_remote_camera.cpp/1101 [Unable to decode jpeg]
12/30/07 13:40:04.143447 zmc_m6[27832].ERR-zmc.cpp/253 [Failed to post-capture monitor 0]
Some times, very rearly I get picture!!!!!
Any ideas?
port : 80
path : /cgi-bin/video.jpg
when I set it up like this I get most of the times the error
12/30/07 13:40:04.097992 zmc_m6[27832].DB3-zm_remote_camera.cpp/250 [Read 1445 bytes]
12/30/07 13:40:04.117214 zmc_m6[27832].DB3-zm_remote_camera.cpp/225 [Expecting 643 bytes]
12/30/07 13:40:04.117344 zmc_m6[27832].DB3-zm_remote_camera.cpp/250 [Read 643 bytes]
12/30/07 13:40:04.136986 zmc_m6[27832].DB3-zm_remote_camera.cpp/220 [Socket closed]
12/30/07 13:40:04.137310 zmc_m6[27832].DB3-zm_remote_camera.cpp/514 [Got end of image by closure, content-length = 6423]
12/30/07 13:40:04.141615 zmc_m6[27832].DB3-zm_remote_camera.cpp/524 [Trimmed end of image, new content-length = 6419]
12/30/07 13:40:04.141741 zmc_m6[27832].DB3-zm_remote_camera.cpp/539 [Returning 6419 (6423) bytes of captured content]
12/30/07 13:40:04.142252 zmc_m6[27832].ERR-zm_jpeg.c/37 [Not a JPEG file: starts with 0x35 0x39]
12/30/07 13:40:04.142985 zmc_m6[27832].ERR-zm_remote_camera.cpp/1101 [Unable to decode jpeg]
12/30/07 13:40:04.143447 zmc_m6[27832].ERR-zmc.cpp/253 [Failed to post-capture monitor 0]
Some times, very rearly I get picture!!!!!
Any ideas?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
it looks like its outputting none standard jpeg and thus zm cant read it properly
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
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
-
- Posts: 12
- Joined: Wed Dec 26, 2007 10:22 pm
-
- Posts: 12
- Joined: Wed Dec 26, 2007 10:22 pm
I have tryed the following. Wget to get an image in tmp dir.
jpeginfo says it is a good file. and then I created a monitor and set it
up to look to that file not the remote camera. Still the zm can't display the
image. it fails with the following errors.
12/31/07 08:55:24.400145 zms[6227].DB2-zm_monitor.cpp/2957 [Assigning temporary buffer]
12/31/07 08:55:24.707471 zms[6227].DB2-zm_monitor.cpp/2960 [Assigned temporary buffer]
12/31/07 08:55:24.708245 zms[6227].ERR-zm_signal.cpp/77 [Got signal (Floating point exception), crashing]
12/31/07 08:55:24.709190 zms[6227].ERR-zm_signal.cpp/89 [Signal address is (nil), from 0x8067ff4
]
12/31/07 08:55:24.745367 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms [0x8067ff4]]
12/31/07 08:55:24.745958 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms [0x8067ff4]]
12/31/07 08:55:24.746686 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms [0x804b276]]
12/31/07 08:55:24.747239 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7afbea8]]
12/31/07 08:55:24.747922 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms(__gxx_personality_v0+0xa9) [0x804a731]]
12/31/07 08:55:24.748451 zms[6227].INF-zm_signal.cpp/117 [Backtrace complete]
jpeginfo says it is a good file. and then I created a monitor and set it
up to look to that file not the remote camera. Still the zm can't display the
image. it fails with the following errors.
12/31/07 08:55:24.400145 zms[6227].DB2-zm_monitor.cpp/2957 [Assigning temporary buffer]
12/31/07 08:55:24.707471 zms[6227].DB2-zm_monitor.cpp/2960 [Assigned temporary buffer]
12/31/07 08:55:24.708245 zms[6227].ERR-zm_signal.cpp/77 [Got signal (Floating point exception), crashing]
12/31/07 08:55:24.709190 zms[6227].ERR-zm_signal.cpp/89 [Signal address is (nil), from 0x8067ff4
]
12/31/07 08:55:24.745367 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms [0x8067ff4]]
12/31/07 08:55:24.745958 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms [0x8067ff4]]
12/31/07 08:55:24.746686 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms [0x804b276]]
12/31/07 08:55:24.747239 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7afbea8]]
12/31/07 08:55:24.747922 zms[6227].ERR-zm_signal.cpp/116 [Backtrace: /usr/lib/cgi-bin/nph-zms(__gxx_personality_v0+0xa9) [0x804a731]]
12/31/07 08:55:24.748451 zms[6227].INF-zm_signal.cpp/117 [Backtrace complete]
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
as above its cos its not a proper jpeg.
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
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
-
- Posts: 12
- Joined: Wed Dec 26, 2007 10:22 pm
Ok found a work around.
using the following script I managed to get a picture
>#!/bin/bash
>while (true) ; do
> for i in 1 2 3 4 5; do
> wget http://192.168.16.20$i/cgi-bin/video.jpg -q -O /tmp/20$i.jpg ;
> jpegoptim -q /tmp/20$i.jpg > /dev/null
> done
> sleep 5
>done
I get every 5 minutes a new image suitable for zm
jpegoptim is the key to the problems.
Then I setup zm not to use remote camera but a local file to get the
pictures. It is quite dirty but it works.
Now in the specs it says that the camera FCS-1030 uses PORT 5003
to stream mpeg does any one now if I can use that somehow?
using the following script I managed to get a picture
>#!/bin/bash
>while (true) ; do
> for i in 1 2 3 4 5; do
> wget http://192.168.16.20$i/cgi-bin/video.jpg -q -O /tmp/20$i.jpg ;
> jpegoptim -q /tmp/20$i.jpg > /dev/null
> done
> sleep 5
>done
I get every 5 minutes a new image suitable for zm
jpegoptim is the key to the problems.
Then I setup zm not to use remote camera but a local file to get the
pictures. It is quite dirty but it works.
Now in the specs it says that the camera FCS-1030 uses PORT 5003
to stream mpeg does any one now if I can use that somehow?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
no zm needs jpeg streams
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
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