Camera Issues on Debian Stretch (armel)

Forum for questions and support relating to the 1.24.x releases only.
Locked
bobbarker
Posts: 4
Joined: Mon Oct 25, 2010 10:24 pm

Camera Issues on Debian Stretch (armel)

Post by bobbarker »

I'm having an issue with setting up monitors on a ZM (1.24.2) install on my Seagate Dockstar using Debian Stretch. The camera I'm using is a Logitech C120, it's UVC and plays nice right out of the box with debian. I've used it with mjpg-streamer without any problems.

When I go to setup a monitor and go to probe I get an error:
Unable to probe local cameras, status is '137'
Which I've searched for and can't find *any* mentioning of it.

So I try to manually call zmu with

Code: Select all

zmu -d /dev/video0 -V1 --query
Which just returns "Killed". I'm using the root account over ssh. Trying sudo I get nothing returned.

I cannot change to the source tab under the monitor settings. I also cannot delete the test monitor I created (it's setup looking for a /dev/video which doesn't exist so I get an error in the logs because of it).

When I run/restart zoneminder it always reports starting up fine, same with apache, mysql and php5...so...I dunno.

I'm guessing it's all just a permissions issue but I'm not savvy enough with linux to intuitively know how to fix it. Any thoughts?
bobbarker
Posts: 4
Joined: Mon Oct 25, 2010 10:24 pm

Post by bobbarker »

Anyone?
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

I'm not sure entirely what you do, so this is quite woolly. The mention of /dev/video says it's a local camera mounted by linux, but mjpeg-streamer confuses it.

I don't use probe so can't advise there.

If it is local, find out where it is mounted in /dev/ (may be /dev/video1 video0 etc) and change that in the source.

If you're using mjpeg-streamer, is that accessible via http? Or are you saving as jpgs locally?

If former, you'll need to setup the camera as 'remote' and http://localhost/filename for the source.

If latter, use file (but ime, this way ends up with tears and half pictures as zm tries to read a file still being written)
bobbarker
Posts: 4
Joined: Mon Oct 25, 2010 10:24 pm

Post by bobbarker »

The camera is at /dev/video0. It's a Logitech C120 and it uses the standard UVC driver (bought it for just that reason).

My use of mjpg-streamer was just to test the local camera (it's a headless system, no video card what-so-ever). Didn't mean to be confusing there. I don't have mjpg-streamer running at all tying up the camera when I try and access it from ZoneMinder. Zoneminder just seems unable to check for cameras.

The only error codes I found online were '255' and '137' which typically involve network cameras-- not local ones (like mine is). Error 127 just doesn't seem to exist in any documentation/forum posts.
User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

Post by jdhar »

I've run a C120 on a head-less armel as well. You are sure you can view the feed? To test mine, I used VLC to pipe /dev/video0 to a feed I could view from another machine.

I had issues accessing the device directly with ZM as well (diff. than yours), so I setup VLC to stream /dev/video0 locally, and used ZM with the FFMPEG option to connect to it, and it worked fine. Not much diff. in load either. Maybe try a roundabout-ish way like that.
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
bobbarker
Posts: 4
Joined: Mon Oct 25, 2010 10:24 pm

Post by bobbarker »

Hmm. I'll try that. I can view an MJPG stream remotely using mjpg-streamer so I know the camera is setup fine as far as kmods go. Maybe I'll pipe that in to zoneminder.
Locked