PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ASUS Laptop ohne Webcambild



monkey
12.11.08, 22:35
Hallo @ all,

ich habe ein Problem mit einer, im Laptop, integrierten Webcam.
Ich bekomme kein Bild von selbiger.
- Auf dem Laptop läuft openSUSE11 mit KDE4.1.3.
- Es besitzt eine ATI GraKa mit ATI Treibern.
- Es ist ein ASUS F7Zseries.

guido@linux-d9hi:~> luvcview -f yuv -d /dev/video0
luvcview 0.2.4

SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
Stream settings:
Frame format: YUYV
Unable to set format: Device or resource busy
Init v4L2 failed !! exit fatal
guido@linux-d9hi:~> hwinfo
bash: hwinfo: command not found
guido@linux-d9hi:~>

In der hwinfo steht sie drin.

75: USB 00.1: 0000 Unclassified device
[Created at usb.122]
UDI: /org/freedesktop/Hal/devices/usb_device_4f2_b012_SN0001_if1
Unique ID: iVWJ.Ofe9XHCfzM3
Parent ID: pBe4.3f5c44ENLJ9
SysFS ID: /devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1:1.1
SysFS BusID: 2-1:1.1
Hardware Class: unknown
Model: "Chicony Electronics USB2.0 1.3M UVC WebCam"
Hotplug: USB
Vendor: usb 0x04f2 "Chicony Electronics Co., Ltd"
Device: usb 0xb012 "USB2.0 1.3M UVC WebCam"
Revision: "3.46"
Serial ID: "SN0001"
Driver: "uvcvideo"
Driver Modules: "uvcvideo"
Speed: 480 Mbps
Module Alias: "usb:v04F2pB012d0346dcEFdsc02dp01ic0Eisc02ip00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #79 (Hub)

Vielen Dank schon mal im voraus
monkey

Ede
13.11.08, 11:53
Hast du Mplayer drauf? Probier es mal mit dem.

mplayer -tv driver=v4l:device=/dev/video0 tv://

monkey
13.11.08, 16:41
Das endet dann so

guido@linux-d9hi:~> mplayer -tv driver=v4l:device=/dev/video0 tv://
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.0 (i686)-Packman (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) X2 Dual-Core QL-60 (Family: 17, Model: 3, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Creating config file: /home/guido/.mplayer/config
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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: USB2.0 1.3M UVC WebCam
Capabilites: capture
Device type: 1
Supported sizes: 48x32 => 1280x1024
Inputs: 1
ioctl get channel failed: Invalid argument
ioctl set chan failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Unknown norm!
Error: Cannot set norm!
Selected input hasn't got a tuner!
ioctl set picture failed: Invalid argument
The 'outfmt' of 'Planar YV12' is likely not supported by your card
Munmap failed: Invalid argument


Exiting... (End of file)
guido@linux-d9hi:~>

Ede
13.11.08, 18:26
Dann versuch es mal so:
mplayer -tv driver=v4l2:device=/dev/video0 tv://

Rain_maker
13.11.08, 18:30
Kurzer "Einwurf" aus eigener Erfahrung (wenn auch mit dem Schlepptop eines Kollegen statt der eigenen Kiste).

Versuche mal testweise, ob die Kamera mit "cheese" läuft.

monkey
13.11.08, 19:18
Also mit dem mplayer funktioniert es jetzt. :)

Mit dem zweiten Befehl.


guido@linux-d9hi:~> mplayer -tv driver=v4l2:device=/dev/video0 tv://
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.0 (i686)-Packman (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) X2 Dual-Core QL-60 (Family: 17, Model: 3, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB2.0 1.3M UVC WebCam
Capabilites: video capture streaming
supported norms:
inputs: 0 = Camera 1;
Current input: 0
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: ioctl set mute failed: Invalid argument
[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.
================================================== ========================
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: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
[swscaler @ 0x8d5e2f0]BICUBIC scaler, from yuyv422 to rgb32 using MMX2
[swscaler @ 0x8d5e2f0]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8d5e2f0]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8d5e2f0]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x8d5e2f0]using MMX YV12->BGR32 Converter
[swscaler @ 0x8d5e2f0]640x480 -> 640x480
VO: [x11] 640x480 => 640x480 BGRA
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
================================================== ========================
Audio: no sound
Starting playback...
v4l2: ioctl set mute failed: Invalid argument
v4l2: 31 frames successfully processed, -30 frames dropped.

Exiting... (Quit)
guido@linux-d9hi:~>


Mit luvcview auch.


guido@linux-d9hi:~> luvcview -f yuv -d /dev/video0
luvcview 0.2.4

SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
Stream settings:
Frame format: YUYV
Frame size: 640x480
Frame rate: 30 fps

Quit signal received.
Cleanup done. Exiting ...
guido@linux-d9hi:~>





Mit kdetv leider nicht.

guido@linux-d9hi:~> kdetv
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL
Too many errors. Ending V4L2 grabbing.
V4L2Grabber::~V4L2Grabber(): wait().
V4L2Grabber::~V4L2Grabber(): deleted.
Too many errors. Ending V4L2 grabbing.
V4L2Grabber::~V4L2Grabber(): wait().
V4L2Grabber::~V4L2Grabber(): deleted.
guido@linux-d9hi:~>



und bei kopete gibts auch kein Vorschaubild.

monkey
13.11.08, 21:34
Mit skype habe ich auch ein Bild.
Bei allen Programmen die das Camerabild zeigen, steht es allerdings auf dem Kopf.:confused:

monkey
17.11.08, 22:17
Das Problem mit der Kopete /ICQ Einbindung des Camerabildes scheint sich ja, wie ich auch in anderen Foren gelesen habe ohnehin nicht so leicht lösen zu lassen.

Aber wie bekomme ich das Bild im mplayer vom Kopf auf die Füße ? :confused:

Viele Dank
monkey

Ede
18.11.08, 13:30
Bild umdrehen:

mplayer -vf flip -tv driver=v4l2:device=/dev/video0 tv://
Filter, damit es schöner aussieht:

mplayer -vf hqdn3d,flip -tv driver=v4l2:device=/dev/video0 tv://
Eventuell auch so:

mplayer -vf pp=lb/al,hqdn3d,flip -tv driver=v4l2:device=/dev/video0 tv://
Mehr in
man mplayer

monkey
19.11.08, 19:23
Danke, Danke es geht. :):):) Sehr schön.

Und wenn ich schon so bei den nervigen Fragen bin; gibt es denn auch eine Möglichkeit dieses Live Bild aufzuzeichnen?

monkey
19.11.08, 20:58
Gut, Problem gelöst. Mit kdetv und XawTv geht es nicht die zeigen kein Bild an, aber mit Cheese geht es!

Vielen Dank noch mal, speziell an Ede.
monkey