Failed to get picture attributes: Invalid argument

Forum for questions and support relating to the 1.25.x releases only.
Locked
begleysm
Posts: 11
Joined: Mon Sep 03, 2012 4:01 am

Failed to get picture attributes: Invalid argument

Post by begleysm »

I'm working on getting ZoneMinder up & running on an old netbook (EEE900HA). It has a Rosewell WebCam connected. The OS is Ubuntu Server 12.04 LTS (32-bit).

I've got it all installed and can access the webpage. I've got Camobolza installed as well.

I am, however, not getting feed when I try to view the camera. The error "Failed to get picture attributes: Invalid argument" is the most interesting thing to appear in the log as far as I can tell.

A screenshot of the system log, a screenshot of the attributes of the attached webcams (I believe /dev/video0 is the internal webcam and /dev/video1 is the external USB webcam. I am attempting to use the external USB webcam), and a screenshot of the camera settings (I've tried a few variations with no luck) are attached.

I've searched the web & wiki for my error message and have found next to nothing about it.

If anyone has any insight on how to fix this I'd appreciate it.

Thanks,
Sean
Attachments
zm_cam.png
zm_cam.png (39.92 KiB) Viewed 3992 times
zm_set.png
zm_set.png (79.07 KiB) Viewed 3992 times
zm_err.png
zm_err.png (63.36 KiB) Viewed 3992 times
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

Re: Failed to get picture attributes: Invalid argument

Post by Carrier82 »

Video for linux version 2 doesn't work either?
begleysm
Posts: 11
Joined: Mon Sep 03, 2012 4:01 am

Re: Failed to get picture attributes: Invalid argument

Post by begleysm »

I can't say it "doesn't work" but I haven't gotten it to work yet.

When I said I had tried a variety of settings that included using Video For Linux Version 2. I was unable to tell what some of the settings should be from looking at the output of zmu -q. For instance, Device Format & Device Channel. I switched over to Video For Linux Version 1 because it had AUTO as an option for Device Format.

Sean
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

Re: Failed to get picture attributes: Invalid argument

Post by Carrier82 »

As far as i know, uvc webcams require video4linux version 2. Can't help you though except if nothing else works, you could try mjpg streamer work-around? And oh, if i remember correctly uvc webcams use yuv format
begleysm
Posts: 11
Joined: Mon Sep 03, 2012 4:01 am

Re: Failed to get picture attributes: Invalid argument

Post by begleysm »

Thanks for the leads.

I'm new to all this. Can define a few terms?

"UVC" Webcams?

MJPG Streamer Work-Around? Do you have a link?

I agree with it looking like YUV422 is correct for the Palette (based on the output from zmu -q). However, I still don't know what the "Device Format" is supposed to be. This NTSC, PAL, etc.

Thanks,
Sean
Carrier82
Posts: 96
Joined: Sat Jul 28, 2012 8:30 pm

Re: Failed to get picture attributes: Invalid argument

Post by Carrier82 »

UVC = USB Video Class, some kind of generic format for communication for webcams etc.
http://en.wikipedia.org/wiki/USB_video_device_class

Link for mjpg streamer work-around:
http://www.zoneminder.com/wiki/index.php/Uvc

The program can be found here:
http://sourceforge.net/projects/mjpg-streamer/

Device format could be mentioned in the webcam documentation?
begleysm
Posts: 11
Joined: Mon Sep 03, 2012 4:01 am

Re: Failed to get picture attributes: Invalid argument

Post by begleysm »

Thanks for the links. I'll read through those.
Carrier82 wrote:Device format could be mentioned in the webcam documentation?
I checked Newegg, Amazon, the Manufacturer's Page, & the User Manual... No mention of the format in any of those places.

I'm also going to try to this webcam on a Desktop Installation of Ubuntu with Cheese before I work too much harder to get it running with Zoneminder on my Ubuntu Server machine.

Sean
Locked