I do it like you sad and now sensor is finding but not everything is
ok

dmesg:

Linux video capture interface: v2.00
sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:6270 plugged-in.
sn9c20x: I2C slave 0x5d returned error during write to address 0xff
sn9c20x: I2C slave 0x5c returned error during write to address 0x01
sn9c20x: Micron Sensor ID: 0x1229
sn9c20x: Detected MT9V112 Sensor.
sn9c20x: Webcam device 0C45:6270 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

when I run mplayer the screen start blinking

bash-3.2# LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// \
>     -tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11
MPlayer dev-SVN-rUNKNOWN-4.3.2 (C) 2000-2009 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
137 audio & 292 video codecs

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: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
==========================================================================
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
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
[swscaler @ 0x992be40]using unscaled yuv420p -> rgb565 special
converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: unknown huffman code:
0000ffd9
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 7 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 4 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
bits
libv4lconvert: Error decompressing JPEG: unknown huffman code:
0000ffd9
libv4lconvert: Error decompressing JPEG: unknown huffman code:
0000ffd9
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 7 more
bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more
bits
libv4lconvert: Error decompressing JPEG: unknown huffman code:
0000ffd9



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to