Okay, we're partially solved.
After browsing back into November, someone reported a non-functioning
camera plugged into their USB hub and someone else suggested they don't
plug it into the hub. I tried this myself, and I got a photo uploaded to
my web server - yay. Except the image is a solid gray color, no actual
snapshot was taken. Then, it started printing this line over and over:
compare: max=0,avg=0
compare: max=0,avg=0
compare: max=0,avg=0
compare: max=0,avg=0
So I stopped the process with CTRL-C and ran it again and got this:
$ webcam
reading config file: /home/id/.webcamrc
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=4): Invalid
argument
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Invalid
argument
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=13): Invalid
argument
ftp: lost connection
ftp: connected to www.w98.us
video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
grabber config:
size 640x480 [12 bit YUV 4:2:0 (planar)]
input Webcam, norm pal, jpeg quality 75
rotate=0, top=0, left=0, bottom=480, right=640
ftp config [ftp]:
(snipped)
uploading.jpg => webcam.jpg
ftp: connected to www.w98.us
ftp: read error: Input/output error
It seems that the input/output error doesn't stop it from actually
uploading the photo, but every image it uploads is just solid gray.
Any ideas? I've tried NTSC mode in the .webcamrc file too but that
didn't help.
Thanks,
Ian
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|