geekindenial schrieb:
Hi GWater,My v4l2convert.so is in /usr/local/lib/libv4l/ and I did try changing the mplayer command to use correct path but result is the same Here is a log of my latest test: Mplayer command and output -------- $ LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so mplayer tv:// \-tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team CPU: VIA Esther processor 1500MHz (Family: 6, Model: 10, Stepping: 9) 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) 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 ========================================================================== 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: using unscaled yuv420p -> rgb32 special converter Selected video codec: [rawyv12] vfm: raw (RAW YV12) ========================================================================== Audio: no sound Starting playback... libv4l2: error dequeuing buf: Invalid argument v4l2: ioctl dequeue buffer failed: Invalid argument, idx = 0 v4l2: ioctl query buffer failed: Invalid argument, idx = 0 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
The second mplayer output looks different from the first one. (There are less of these lines: v4l2: ioctl query control failed: Invalid argument) I guess this isbecause libv4l is now being linked correctly. Unusual about the mplayer output are these lines: v4l2: ioctl dequeue buffer failed: Invalid argument, idx = 0 It seems the video buffering is broken - I don't know why (yet). Did mplayer open a window? If yes which color did you see? Black, green or something different? GWater
signature.asc
Description: OpenPGP digital signature
