Seems for some reason many of your isoc data transfers are getting errors. this would definitely cause incomplete frames and the flickering/garbled images you are getting. One thing you can try to see if it works any better would be to use bulk transfers instead you can do this by using the bulk=1 module param when inserting our driver.
On Sat, Jan 3, 2009 at 10:28 AM, Johan <[email protected]> wrote: > > > > Hi all, > > > I have a Trust WB-5400, which apparently is the same as a Medion > MD85572. > Both are 0c45:624e and have a SN9C201 bridge and SOI968 sensor. > (Hence I added the Trust to the list-of-known-microdia-webcams.) > > According to the project status, it should be supported. > > > However, I only get flickering output: some frames are ok, but lots > are garbled. > In such a garbled frame, part of the image is in the right place, but > other blocks of the image (remains of the previous frame?) are at a > wrong position. > > I would post a screenshots, but I didn't find how to attach files and > apparently I can't email directly to the group? > > > Anyway, this is mplayer output: > > jo...@4850e:~/Documents/microdia$ LD_PRELOAD=/usr/lib/libv4l/ > v4l2convert.so mplayer tv:// -tv > driver=v4l2:width=640:height=480:fps=5:device=/dev/video1 -vo x11 > MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team > CPU: AMD Athlon(tm) Dual Core Processor 4850e (Family: 15, Model: 107, > Stepping: 2) > CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 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 (0x4745504a) > 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 @ 0xf855b0]SwScaler: using unscaled yuv420p -> rgb32 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: unknown huffman code: > 0000ff8a > libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more > bits > libv4lconvert: Error decompressing JPEG: error: more then 63 AC > components (65) in huffman unit > libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more > bits > libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more > bits > > etc. > > > In dmesg I get loads of: > > [160669.957711] sn9c20x: Iso frame 6 of USB has error -18 > > > > > Any ideas? > > > > Greetings and thanks, > > Johan > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
