Hi folks,

Some months ago, before microdia module was renamed to sn9c20x, the my
webcam worked very nice (mplayer, skype, shots).
Then I had the good idea to update my microdia git copy, built and
installed, but it doesn't work
Launched mplayer, it displays a blue scree, see
http://microdia.googlegroups.com/web/mplayer-webcam-shot1.png

My webcam
Bus 005 Device 017: ID 0c45:6270 Microdia U-CAM PC Camera NE878

I have update my local microdia copy this afternoon
$ git pull

And have loaded the modules as this

sudo modprobe videodev
sudo insmod ./sn9c20x.ko

There were no sn9c20x or microdia modules loaded before.

Linux version
$ uname -a
Linux foxhound 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008
i686 GNU/Linux

Configure v4l2

$ export LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so
$ ls -l /usr/local/lib/libv4l/v4l2convert.so
-rwxr-xr-x 1 claudio claudio 13K 2009-04-30 00:42 /usr/local/lib/
libv4l/v4l2convert.so*

The v4l library as compiled and installed on 04/30

launch mplayer

$ mplayer tv:// -tv driver=v4l2:width=640:fps=25:height=480:device=/
dev/video0

See the output below. Can you help me make this work ?

Thanks !

MPlayer 1.0rc2-4.2.4 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU           T2400  @ 1.83GHz (Family: 6,
Model: 14, Stepping: 8)
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
xscreensaver_disable: Could not find XScreenSaver window.
==========================================================================
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: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
No bind found for key 'c'.
V:   0.0  39/ 39 ??% ??% ??,?% 0 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to