[email protected] schrieb:
Il Sunday 25 January 2009 11:51:23 GWater ha scritto:(And I was told I write to long sentences ;) .)Anyway I extracted this as the problem description from your mail: " In this image quality varies eg,rolling image,blueish image etc. "hi, I have similar problem with my webcam, i have posted here for not open a new thread my skype image is black, instead ekiga don't show red and green colors mplayer outputweb...@webkey:~$ mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11MPlayer dev-SVN-r28058-4.2.3 (C) 2000-2008 MPlayer TeamCPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. 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 ;-) Selected device: SN9C20x USB 2.0 Webcam Driver Capabilites: video capture read/write streaming supported norms: inputs: 0 = Webcam;v4l2: ioctl get input failed: Invalid argument Current input: 1 Current format: unknown (0x31384142) v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument 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: Cannot get fps 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 0x31384142. Read DOCS/HTML/en/codecs.html! ========================================================================== v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped. Exiting... (End of file)To identify the source of these problems I need a few more pieces of information. 1. Are you using USB 1/1.1 or USB 2.0? ("$ lsusb" will tell you.)Bus 004 Device 003: ID 0c45:624e Microdia PC Camera (SN9C201 + SOI968) Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level)bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64idVendor 0x0c45 Microdia idProduct 0x624e PC Camera (SN9C201 + SOI968) bcdDevice 1.01iManufacturer 0 iProduct 1 USB20 Camera iSerial 0 bNumConfigurations 1Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 279 bNumInterfaces 1 bConfigurationValue 1iConfiguration 0 bmAttributes 0x80(Bus Powered) MaxPower 500mA2. Please post the output of "$ dmesg | grep sn9c20x" after you tried to capture video from your webcam with skype.sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:624E plugged-in. sn9c20x: Detected SOI968 Sensor. sn9c20x: Webcam device 0C45:624E is now controlling video device /dev/video0 sn9c20x: Using yuv420 output format usbcore: registered new interface driver sn9c20x sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded this is skype outpt maybe is usefull Skype V4L2: Could not find a suitable capture format Skype V4L2: Could not find a suitable capture format Starting the process... Skype Xv: Xv ports available: 32 Skype XShm: XShm support enabled Skype Xv: Using Xv port 65 Skype Xv: No suitable overlay format found3. Which version of libv4l are you currently using?0.5.84.Please post a screenshot of the image the webcam provides.skype blackekigahttp://www.umbertocarrara.it/img/schermata8.png trust me memory is red and battery is green where I'm wrong?Thank you. GWaterThank a lot for your help Umberto --~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
You need to use mplayer with libv4l like this: $ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer [...] Replace [...] with any parameters for mplayer. Skype can be run the same way: $ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype GWater
signature.asc
Description: OpenPGP digital signature
