Em Wed, 17 Jun 2009 23:54:40 +0200
Hans de Goede <hdego...@redhat.com> escreveu:

>  Support for the st6422 bridge + sensor !
> Give it a try, I know now you have a cam which uses this bridge :)
> When you try it be sure to use the latest (just updated my
> libv4l tree) libv4l, this enables (software) automatic control of
> the gain and exposure, for a decent image in most lighting
> conditions.

Didn't work :( See the logs bellow. 

$ export LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so
$ mplayer /dev/video0
MPlayer dev-SVN-r27514-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (Family: 6, Model: 23, 
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing /dev/video0.
libv4l2: error turning on stream: Input/output error
libv4l2: error dequeuing buf: Invalid argument
...

$ dmesg
STV06xx: Probing for a stv06xx device
gspca: probing 046d:08f6
usbcore: registered new interface driver STV06xx
STV06xx: registered
gspca: usb_submit_urb [0] err -28
gspca: no transfer endpoint found

PS.: I tried also to use the mmap() mode, but mplayer fails complaining about
the video format, like if libv4l were not properly working.

This is the full logs of my mplayer using tv:// (rpmfusion version of
mplayer-1.0-0.101.20080903svn.el5.1, on a RHEL5.3).

$ mplayer tv://
MPlayer dev-SVN-r27514-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz (Family: 6, Model: 23, 
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschew...@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Camera
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = STV06xx;
 Current input: 0
 Current format: RGB24
tv.c: norm_from_string(PAL-M): 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
[VO_SDL] Using driver: x11.
Opening video filter: [pp=lb]
Opening video filter: [crop w=628 h=470 x=6 y=10]
Crop: 628 x 470, 6 ; 10
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[CROP] Bad position/width/height - cropped area outside of the original!
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x32315659.
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)



Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to