Webcam recommendations

Hans Petter Selasky hselasky at c2i.net
Mon Mar 21 23:06:50 UTC 2011


On Monday 21 March 2011 23:52:53 Matthias Apitz wrote:
> El día Monday, March 21, 2011 a las 11:37:14PM +0100, Hans Petter Selasky 
escribió:
> > > What do I miss to get the debugging log?
> > 
> > webcamd -s
> > 
> > Then use -m to set debug parameters.
> 
> # ./webcamd -m v4l1-compat.debug=1
> ...
> Attached ugen4.2[0] to cuse unit 0
> uvcvideo: Found UVC 1.00 device  (0c45:62c0)
> Creating /dev/video0
> 
> (now probing the cam in Skype)
> 
> v4l1-compat: VIDIOCSPICT / VIDIOC_S_FMT: -22
> v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513
> v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513
> v4l1-compat: VIDIOCGWIN / VIDIOC_G_WIN: -22
> v4l1-compat: VIDIOCSWIN / VIDIOC_S_FMT #2: -22
> 

Probably the format which skype is trying to set is not available? Then you 
maybe need to pre-load skype with libv4l for Linux. Maybe you could dump the 
structure associated with the VIDIOC_S_FMT?

-22 means:

     22 EINVAL Invalid argument.


--HPS


More information about the freebsd-multimedia mailing list