How to Configure ZoneMinder for Logitech Quickcam Orbit MP?

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
RoundSparrow
Posts: 23
Joined: Thu Oct 18, 2007 2:11 pm

Post by RoundSparrow »

We are using version download from SVN yesterday, we are using version 2. The startup says "MJPG Streamer Version.: 2.0"

Starting with:

/usr/local/mjpg-streamer/mjpg_streamer -i "/usr/local/mjpg-streamer/input_uvc.so -f 8 -d /dev/video1" -o "/usr/local/mjpg-streamer
/output_http.so -p 8091" &

But on ours "/file.jpg" returns the 501 error. Only way we found things to work is to use the /?action=snapshot or /?action=stream and Zoneminder v1.22.3 seems to not like action=stream (but Firefox seems to work with it).

The blanks we see are only about 1 in 8 frames. It is not every frame. The camera works, but seems to choke on the data rate. Need to play around with different rates (trying to do 640x480) to see the issue. If I refresh very fast in Firefox, I see similar problems.
dedmeet
Posts: 21
Joined: Sat Sep 08, 2007 9:38 pm
Location: Australia

Post by dedmeet »

RoundSparrow wrote:We are using version download from SVN yesterday, we are using version 2. The startup says "MJPG Streamer Version.: 2.0"

Starting with:

/usr/local/mjpg-streamer/mjpg_streamer -i "/usr/local/mjpg-streamer/input_uvc.so -f 8 -d /dev/video1" -o "/usr/local/mjpg-streamer
/output_http.so -p 8091" &

But on ours "/file.jpg" returns the 501 error. Only way we found things to work is to use the /?action=snapshot or /?action=stream and Zoneminder v1.22.3 seems to not like action=stream (but Firefox seems to work with it).

The blanks we see are only about 1 in 8 frames. It is not every frame. The camera works, but seems to choke on the data rate. Need to play around with different rates (trying to do 640x480) to see the issue. If I refresh very fast in Firefox, I see similar problems.
I updated the wiki with your host config findings, as it was just showing how to do version 1.x config.

Thanks
only4john
Posts: 5
Joined: Wed Jan 23, 2008 9:42 pm

can zoneminder works with the V4L2 now?

Post by only4john »

I brought a Logitech Orbit AF, which is driven by UVC driver. Up to now I haven't see a success case that the cam works under zoneminder as a local usb Cam. I don't know if I'm right, could anyone give me a clue? Thank you in advance!
dedmeet
Posts: 21
Joined: Sat Sep 08, 2007 9:38 pm
Location: Australia

Re: can zoneminder works with the V4L2 now?

Post by dedmeet »

only4john wrote:I brought a Logitech Orbit AF, which is driven by UVC driver. Up to now I haven't see a success case that the cam works under zoneminder as a local usb Cam. I don't know if I'm right, could anyone give me a clue? Thank you in advance!
Hi,

You could try the streaming route, as described here:

http://www.zoneminder.com/wiki/index.php/Uvc

Even though you 'stream' your stream server and zoneminder can be on the same machine, thus making it look 'local'. Thus far zoneminder does not support v4l2 directly, thus it also does not support the uvc drivers direct, which is v4l2.

Some more info/help may be found on my site here:

http://www.dedmeet.com/index.php?option ... &Itemid=16

I have been in communication with someone via my site who did get the Orbit AF working with the mjpg_streamer (known as uvc_stream in version 1), but he could not get the camera motor control working.

Let me know how you get along.
devsforev
Posts: 3
Joined: Tue Jan 29, 2008 3:46 pm

Post by devsforev »

Good morning everyone. I have the Orbit AF and have successfuly set it up using the mjpg_streamer as described on this page.

This morning I was doing a little bit more googling to see if I can get the pan/tilt/zoom features working with the camera. I got pretty lucky on one of my search strings, and found an interesting site

http://wiki.w0wdx.com/Zoneminder_Setup_ ... _Orbit_PTZ

It covers the PTZ information as described in prior posts, but also explains how to use the vloopback device for the camera instead of using mjpg_streamer. I haven't tested it yet, but I am sure that this would provide better quality and framerate than using mjpg_streamer. When I get back home I'm going to test it out and see what I can come up with.

Just thought I would post my findings, as I have been watching this thread closely the last few weeks. Let me know if anyone makes progress with vloopback. I'll post my results later.

Take it easy,
-- Devsforev
dedmeet
Posts: 21
Joined: Sat Sep 08, 2007 9:38 pm
Location: Australia

Post by dedmeet »

devsforev wrote:
It covers the PTZ information as described in prior posts, but also explains how to use the vloopback device for the camera instead of using mjpg_streamer.
-- Devsforev
Hi, very interesting, and well worth playing with.

Question: would this still need the actual v4l driver for the cam to be loaded? which means it will not work (might not work) with the uvc drivers, which is v4l2.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Actualy that is exactly the reason he used the loopback was to make the v4l2 device available to v4l.
dedmeet
Posts: 21
Joined: Sat Sep 08, 2007 9:38 pm
Location: Australia

Post by dedmeet »

devsforev wrote:Good morning everyone. I have the Orbit AF and have successfuly set it up using the mjpg_streamer as described on this page.

This morning I was doing a little bit more googling to see if I can get the pan/tilt/zoom features working with the camera. I got pretty lucky on one of my search strings, and found an interesting site

http://wiki.w0wdx.com/Zoneminder_Setup_ ... _Orbit_PTZ

It covers the PTZ information as described in prior posts, but also explains how to use the vloopback device for the camera instead of using mjpg_streamer. I haven't tested it yet, but I am sure that this would provide better quality and framerate than using mjpg_streamer. When I get back home I'm going to test it out and see what I can come up with.

Just thought I would post my findings, as I have been watching this thread closely the last few weeks. Let me know if anyone makes progress with vloopback. I'll post my results later.

Take it easy,
-- Devsforev
Excuse me for being nosy....

I have not had any free time to play with this myself, so was just wondering if you had any success ?
Post Reply