[arch-general] Sunplus (Philips) webcam problem
Hello, After the recent system update my webcam: 04fc:0561 Sunplus Technology Co., Ltd Flexcam 100 stopped working properly. The driver "gspca_spca561" is loaded automatically, but works incorrectly, when trying to use "gspca_sunplus" the camera is not recognized. Unfortunately I did not pay attention to the driver used before I've updated to 2.6.27... Thanks for ideas. Sergey.
Sergey Manucharian schrieb:
After the recent system update my webcam: 04fc:0561 Sunplus Technology Co., Ltd Flexcam 100 stopped working properly.
The driver "gspca_spca561" is loaded automatically, but works incorrectly, when trying to use "gspca_sunplus" the camera is not recognized.
Unfortunately I did not pay attention to the driver used before I've updated to 2.6.27...
What do you mean be "works incorrectly"? The new gspca drivers only support v4l2 and don't do conversion in the driver. You need libv4l to do that (either built into your application or as LD_PRELOAD wrapper). I was going to upload that package to extra just now, but the server with the source tarball is unavailable right now.
On Sun, 26 Oct 2008 11:40:45 +0100 Thomas Bächler <thomas@archlinux.org> wrote: ...
What do you mean be "works incorrectly"? The new gspca drivers only support v4l2 and don't do conversion in the driver. Well, indeed with v4l driver the mplayer shows a messed image with swapped lines and weird colors, but it fails at all with v4l2:
Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <olschewski@zpr.uni-koeln.de> comment: first try, more to come ;-) Selected device: Generic Digital camera Capabilites: video capture read/write streaming supported norms: inputs: 0 = spca561; Current input: 0 Current format: unknown (0x47524247) tv.c: norm_from_string(NTSC): 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 v4l2: ioctl query control failed: Invalid argument v4l2: ioctl query control failed: Invalid argument ========================================================================== Cannot find codec matching selected -vo and video format 0x47524247. Read DOCS/HTML/en/codecs.html! ========================================================================== v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped.
You need libv4l to do that (either built into your application or as LD_PRELOAD wrapper). I was going to upload that package to extra just now, but the server with the source tarball is unavailable right now.
Ok, I'll try libv4l, thanks! Cheers, Sergey
Sergey Manucharian schrieb:
On Sun, 26 Oct 2008 11:40:45 +0100 Thomas Bächler <thomas@archlinux.org> wrote: ...
What do you mean be "works incorrectly"? The new gspca drivers only support v4l2 and don't do conversion in the driver. Well, indeed with v4l driver the mplayer shows a messed image with swapped lines and weird colors, but it fails at all with v4l2:
Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <olschewski@zpr.uni-koeln.de> comment: first try, more to come ;-) Selected device: Generic Digital camera Capabilites: video capture read/write streaming supported norms: inputs: 0 = spca561; Current input: 0 Current format: unknown (0x47524247) tv.c: norm_from_string(NTSC): 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 v4l2: ioctl query control failed: Invalid argument v4l2: ioctl query control failed: Invalid argument ========================================================================== Cannot find codec matching selected -vo and video format 0x47524247. Read DOCS/HTML/en/codecs.html! ========================================================================== v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped.
Hmm, mplayer should support it all on its own. But you have to set some options, tv:// won't be enough. Here is what works for me: mplayer tv:// -tv driver=v4l2:noaudio:width=640:height=480:device=/dev/video0 -fps 30
You need libv4l to do that (either built into your application or as LD_PRELOAD wrapper). I was going to upload that package to extra just now, but the server with the source tarball is unavailable right now.
Ok, I'll try libv4l, thanks!
Should be in extra now. Version 0.5.2 should hit the mirrors soon. I think it even fixes a bug with your camera, not sure.
On Sun, 26 Oct 2008 15:14:36 +0100 Thomas Bächler <thomas@archlinux.org> wrote: ...
Should be in extra now. Version 0.5.2 should hit the mirrors soon. I think it even fixes a bug with your camera, not sure.
Great! Works fine - tested with mplayer and skype. Thanks, Thomas! Cheers, Sergey
participants (2)
-
Sergey Manucharian
-
Thomas Bächler