Hi, On Thursday 20 March 2008, Dark Shoyu wrote: > Hey Laurent, > > I've figured out that it might not be the driver. dmesg doesn't show any > error or warning message. The error I got when I try to use any program to > access my webcam is that there is a wrong parameter. When trying to use > mplayer, I got the following message: > > *$ mplayer tv:// -tv driver=v4l2 > > * Playing tv://. > TV file format detected. > Selected driver: v4l2 > name: Video 4 Linux 2 input > author: Martin Olschewski <[EMAIL PROTECTED]> > comment: first try, more to come ;-) > v4l2: ioctl get standard failed: Invalid argument > Selected device: Vega USB 2.0 Camera. > Capabilites: video capture streaming > supported norms: > inputs: 0 = Camera 1; > Current input: 0 > Current format: YUYV > v4l2: ioctl set format failed: Invalid argument > v4l2: ioctl set format failed: Invalid argument > v4l2: ioctl set format failed: Invalid argument > tv.c: norm_from_string(pal): Bogus norm parameter, setting default. > v4l2: ioctl enum norm failed: Invalid argument > Error: Cannot set norm! > Selected input hasn't got a tuner! > v4l2: ioctl set mute failed: Invalid argument > FPS not specified in the header or invalid, use the -fps option. > No stream found. > > v4l2: ioctl set mute failed: Invalid argument > v4l2: 0 frames successfully processed, 0 frames dropped. > > > So I put the fps parameter with a value (30, for example) and it worked! > The problem now is that I can't make it work in a streaming program, but > it's not problem from the driver as I first thought.
Many software unfortunately still have minor v4l2-related bugs that prevent them from working with the Linux UVC driver. Worse, some others only support v4l1. The situation is slowly improving but it will take some time until all applications can be fixed and/or ported to v4l2. If you feel brave enough (or just adventurous :-)) feel free to fix your favourite software. It's usually not very difficult, and I can provide you with help regarding the v4l2 interface. Have a look at http://www.quickcamteam.net/software/linux/v4l2-software/ for software suggestions. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
