Am Montag 02 März 2009 03:05:17 schrieb brad:
> The LD_PRELOAD trick worked in OpenSuse 11.1, but I had to install
> Fedora 10 due to a series of issues, but now my Microsoft VX-6000 web
> camera does not work with skype because I get the following:
>
> when I try to run the mplayer...
>
> ++ LD_PRELOAD=/usr/lib/libv4l/
> v4l2convert.so
> ++ mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=25:device=/
> dev/video -vo x11
> MPlayer dev-SVN-r27514-4.3.2 (C) 2000-2008 MPlayer
> Team
> CPU: AMD Sempron(tm) Processor LE-1250 (Family: 15, Model: 127,
> 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
> Go to microdia and search on
> 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)
>
> I tried all of the steps in the readme, and the sn9c20x.
>
> When I do:
> lsmod | grep sn9
>
> sn9c20x                55188  0
> videodev               32000  1 sn9c20x
>
> lsusb
> Bus 002 Device 004: ID 13b1:0020 Linksys WUSB54GC 802.11g Adapter
> [ralink rt73]
> Bus 002 Device 003: ID 067b:2507 Prolific Technology, Inc. PL2507 Hi-
> speed USB to IDE bridge controller
> Bus 002 Device 002: ID 045e:00f4 Microsoft Corp. LifeCam VX-6000
> (SN9C20x + OV9650)
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 003: ID 045e:0048 Microsoft Corp. Office Keyboard 1.0A
> Bus 003 Device 002: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> On Feb 27, 1:00 pm, GWater <[email protected]> wrote:
> > Am Freitag 27 Februar 2009 18:48:29 schrieb Bobes Calin:
> > > How do you mean preload? I have done everything from the README
> > > including:
> > >
> > > $ strip -g sn9c20x.ko
> > > And as root :
> > > # cp sn9c20x.ko /lib/modules/`uname
> > > -r`/kernel/drivers/media/video/usbvideo/ # depmod -a
> > >
> > > and every time when i log in the module is load.
> >
> > Run skype (or any other video-app) like this:
> > $ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
> >
> > GWater
> >
> >  signature.asc
> > < 1KViewDownload
>
> --~--~---------~--~----~------------~-------~--~----~
> 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
> -~----------~----~----~----~------~----~------~--~---

I you want to split the LD_PRELOAD from the mplayer command you need to do it 
like this:
$ export LD_PRELOAD=...
$ mplayer ...

GWater

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to