[MPlayer-users] Using with webcam Genius Look 320s

Stanislav_Egorov realsystem at gmail.com
Fri Apr 10 10:41:16 CEST 2009


2009/4/10 Onur Küçük <onur at delipenguen.net>:
>
> On Thu, 9 Apr 2009 19:56:52 +0400
> Stanislav_Egorov <realsystem at gmail.com> wrote:
>
>> MPlayer dev-SVN-r23722-4.1.1 (C) 2000-2007 MPlayer Team
>
>  try upgrading to a recent MPlayer, if it does not work for you then
> you can try the libv4l LD_PRELOAD hack [1], ugly but may work


I've tried with latest version of the Mplayre from svn and have a
green window and the logs below, can you explain this? Is it a driver'
problem or is it a userspace software' problem? Why Mplayer use
Current input=1? In the cmd there is an input 0.

And with the LD_PRELOAD libv4l I have the same result.

I can change frame format in the driver, what frame formats mplayer
support? I can chose yuv422, yuv420, raw, jpeg

./mplayer tv:// -tv
driver=v4l2:width=640:height=480:fps=25:device=/dev/video0:input=0 -vo
x11
MPlayer SVN-r29158-4.1.2 (C) 2000-2009 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 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: YUYV
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
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x8cfbd10]BICUBIC scaler, from yuyv422 to rgb32 using MMX2
VO: [x11] 640x480 => 640x480 BGRA
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0


>
>
> [1] http://hansdegoede.livejournal.com/3636.html
>
> --
>  Onur Küçük                                      Knowledge speaks,
>  <onur.--.-.delipenguen.net>                     but wisdom listens
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users



-- 
Stanislav Egorov
Cisco Systems, Inc.
Cell: +79276230169
ICQ: 270805968


More information about the MPlayer-users mailing list