Hello, I Hope this information might help. I'm still using Ubuntu Hardy with latest kernel (2.6.24-23-generic) and using external libv4l compiled from source (and also tried with libv4l from Intrepid repositories with same result). I have no problems on compilation and inserting the module. Here is the dmesg result:
[16875.264485] Linux video capture interface: v2.00 [16875.274792] sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:624F plugged-in. [16875.406854] sn9c20x: Detected OV9650 Sensor. [16875.407107] sn9c20x: Webcam device 0C45:624F is now controlling video device /dev/video0 [16875.427691] sn9c20x: Using yuv420 output format [16875.428156] usbcore: registered new interface driver sn9c20x [16875.428406] sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded I add this line: export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so on my .profile so it would be loaded every time I log in to my account. Webcam works with all of this application: MPlayer, Ekiga, Skype and Cheese but it show some error if I'm using 640x480 resolution. Here is the messages: in...@feedsbrain:~$ mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11 MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team CPU: Intel(R) Celeron(R) M CPU 440 @ 1.86GHz (Family: 6, Model: 14, Stepping: 12) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. 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 (0x30323953) 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 v4l2: ioctl query control failed: Invalid argument v4l2: ioctl query control failed: Invalid argument xscreensaver_disable: Could not find XScreenSaver window. GNOME screensaver disabled ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [x11] 640x480 => 640x480 Planar YV12 [swscaler @ 0x89348f0]SwScaler: using unscaled yuv420p -> rgb32 special converter Selected video codec: [rawyv12] vfm: raw (RAW YV12) ========================================================================== Audio: no sound Starting playback... libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffd9 libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 4 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits but this things is not appear when I'm using lower resolution (such as 320x240). And also works good is Skype because Skype's using resolution below 640x480. Any ideas how to fix this problem with high resolution? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
