Dmitri wrote:
It means that you don't need to use v4l-conf or overlay in general with
USB webcams. USB does not support overlay (because of technical reasons).
This is not an error anyway. If you use xawtv with USB camera then specify
option '-remote' to bypass overlay:
$ xawtv -remote
[...]
Thanks for this suggestion - it changes things, but doesn't solve them.
I also rmmod uhci and modprobed usb-uhci, and it all behaves better.
Now what happens:
bret@ganesha:~> xawtv -remote
This is xawtv-3.61, running on Linux/i686 (2.4.16-4GB)
ioctl: VIDIOCMCAPTURE(0,fmt=7,size=8x4): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=15,size=8x4): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=5,size=8x4): Invalid argument
bret@ganesha:~> motv -remote
This is motv-3.61, running on Linux/i686 (2.4.16-4GB)
Warning: Actions not found: Remote
Warning: Actions not found: Remote
bret@ganesha:~>
There is no VIDIOCMCAPTURE in ultracam.c. Is it a v4l parameter?
I ran grep -nHr -C3 VIDIOCMCAPTURE * on the source tree, and got several
references, including (along with several proprietary camera driver files):
include/linux/videodev.h
drivers/usb/usbvideo.c
Documentation/video4linux/API.html
I also ran xawtv -remote -debug 2 -m, and this provided quite a lot of
output. Some specific lines (sorry the lines are folded by word wrap):
video: shell: size 384x288+0+0
gd: config 384x288 win=3000048
v4l: setformat
ioctl: VIDIOCGCAP(IBM Ultra
Camera,type=0x1,chan=1,audio=0,size=8x4-640x480): ok
v4l: capture probe 16 bit YUV 4:2:2 (packed)... ioctl:
VIDIOCMCAPTURE(0,fmt=7,size=8x4): Invalid argument
failed
setformat: 16 bit YUV 4:2:2 (packed) (384x288): failed
v4l: setformat
ioctl: VIDIOCGCAP(IBM Ultra
Camera,type=0x1,chan=1,audio=0,size=8x4-640x480): ok
v4l: capture probe 12 bit YUV 4:2:0 (planar)... ioctl:
VIDIOCMCAPTURE(0,fmt=15,size=8x4): Invalid argument
failed
setformat: 12 bit YUV 4:2:0 (planar) (384x288): failed
v4l: setformat
ioctl: VIDIOCGCAP(IBM Ultra
Camera,type=0x1,chan=1,audio=0,size=8x4-640x480): ok
v4l: capture probe 32 bit TrueColor (LE: bgr-)... ioctl:
VIDIOCMCAPTURE(0,fmt=5,size=8x4): Invalid argument
failed
setformat: 32 bit TrueColor (LE: bgr-) (384x288): failed
v4l: setformat
ioctl: VIDIOCGCAP(IBM Ultra
Camera,type=0x1,chan=1,audio=0,size=8x4-640x480): ok
v4l: capture probe 24 bit TrueColor (LE: bgr)... ioctl:
VIDIOCMCAPTURE(0,fmt=4,size=8x4): ok
ioctl: VIDIOCSYNC(0): ok
ok
setformat: 24 bit TrueColor (LE: bgr) (384x288): ok
grabdisplay: using "24 bit TrueColor (LE: bgr)"
cmd: "capture" "off"
gd: stop
The "VIDIOCMCAPTURE(0,fmt=7,size=8x4)" segments suggest somebody is
trying several default values, until it settles on 24 bit color.
Running xawtv -remote -bpp 24 doesn't prevent these error messages though.
Thanks,
Bret