Strona 4 z 4

: 31 maja 2009, 17:25
autor: marg1
Już patrzę :)
Najpierw w ubuntu livecd znowu doprowadziłem do sytuacji w której kamera działała w skype, ale cały czas mam coś takiego:

Kod: Zaznacz cały

ubuntu@ubuntu:~$ mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, 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: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: VF0420 Live! Cam Vista IM
 Capabilites: capture 
 Device type: 1
 Supported sizes: 48x32 => 640x480
 Inputs: 1
  0: ov519:  (tuner:0, norm :p al)
Using input 'ov519'
Selected input hasn't got a tuner!
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.



MPlayer interrupted by signal 11 in module: free_demuxer
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Przy obydwu poleceniach. Nie wiem, czy to z mplayerem coś nie tak?

: 31 maja 2009, 18:06
autor: ilin
To dodaj opce -vo x11

Kod: Zaznacz cały

mplayer tv:// -tv driver=v4l:width=352:height=288 :o utfmt=rgb24:device=/dev/video0:noaudio -vo x11

: 31 maja 2009, 18:09
autor: marg1
Wstało, ale obrazu nie ma, czarny ekran z pasami i takie coś:

Kod: Zaznacz cały

ubuntu@ubuntu:~$ mplayer tv:// -tv driver=v4l:width=352:height=288 :o utfmt=rgb24:device=/dev/video0:noaudio -vo x11
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, 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: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
==================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
==================================================
Selected device: VF0420 Live! Cam Vista IM
 Capabilites: capture 
 Device type: 1
 Supported sizes: 48x32 => 640x480
 Inputs: 1
  0: ov519:  (tuner:0, norm :p al)
Using input 'ov519'
Selected input hasn't got a tuner!
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 288 (preferred colorspace: BGR 24-bit)
VDec: using BGR 24-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 352x288 => 352x288 BGR 24-bit 
[swscaler @ 0xf8f6d0]SwScaler: using unscaled bgr24 -> rgb32 special converter
Selected video codec: [rawbgr24] vfm: raw (RAW BGR24)
==================================================
Audio: no sound
Starting playback...

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   0.2   7/  7 ??% ??% ??,?% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   0.4  10/ 10 ??% ??% ??,?% 0 0 
ioctl mcapture failed: Invalid argument
V:   0.5  14/ 14  0%  8%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   0.6  15/ 15  0%  8%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   0.6  16/ 16  0%  7%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   0.9  23/ 23  0%  6%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   1.0  25/ 25  0%  6%  0.0% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   1.2  31/ 31  0%  6%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   1.3  33/ 33  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   1.5  39/ 39  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   1.6  40/ 40  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   1.8  47/ 47  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   1.9  49/ 49  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   2.2  55/ 55  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   2.2  57/ 57  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   2.5  63/ 63  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   2.5  64/ 64  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   2.8  71/ 71  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument
V:   2.8  72/ 72  0%  5%  0.0% 0 0 
ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   3.1  79/ 79  0%  5%  0.0% 0 0 
A tak, czyli z opcją

Kod: Zaznacz cały

driver=v4l2

Kod: Zaznacz cały

ubuntu@ubuntu:~$ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -vo x11
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, 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 [list=1]
 comment: first try, more to come ;-)
Selected device: VF0420 Live! Cam Vista IM
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = ov519;
 Current input: 0
 Current format: unknown (0x4745504a)
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
v4l2: ioctl query control failed: Invalid argument
FPS not specified in the header or invalid, use the -fps option.
No stream found.

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)
ubuntu@ubuntu:~$ mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0 -vo x11
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, 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: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
==================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
==================================================
Selected device: VF0420 Live! Cam Vista IM
 Capabilites: capture 
 Device type: 1
 Supported sizes: 48x32 => 640x480
 Inputs: 1
  0: ov519:  (tuner:0, norm :p al)
Using input 'ov519'
Selected input hasn't got a tuner!
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==================================================
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 @ 0xf8f6d0]SwScaler: using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==================================================
Audio: no sound
Starting playback...

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument

ioctl mcapture failed: Invalid argument
V:   0.2   7/  7 ??% ??% ??,?% 0 0 
ioctl mcapture failed: Invalid argument
V:   0.3   9/  9 ??% ??% ??,?% 0 0 
ioctl mcapture failed: Invalid argume
Mam obraz zielony identyczny jak w Skype gdy nie działał.

Update
Tym poleceniem:

Kod: Zaznacz cały

 mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -vo x11
działa w mplayerze w Debianie, w skype dalej nie działa...

I w ogóle jak uruchamiam skype - wygląda to tak:

Kod: Zaznacz cały

marcin:/home/marcin# LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded: ignored.
A jak uruchamiam tak ekigę nic nie pisze o ignorowaniu bibliotek, normalnie się włacza be żadnych komentarzy, czyli to będzie wina samego skype :(
Tylko że w ekidze nie zauważam możliwości przeprowadzenia testu video...


[SOLVED]
Instalacja skype-static-oss i przjeście na OSS4
http://packages.medibuntu.org/intrepid/ ... c-oss.html
koniecznie z tą wersją pakietu skype-common
http://packages.medibuntu.org/intrepid/ ... ommon.html

Rozwiązanie połowiczne, bo nie widzi mikrofonu wbudowanego w kamerkę...