Webcam
Chcel by som rozbehnúť webcam na skype.
Nainštaloval som si gspca. Cez XavTV mi to funguje aj cez Ekiga. Problém nastal v skype ak si dám test kamery v nastaveniach tam mi ide len nejaký zelený obraz.
lsusb:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0c45:612a Microdia PC Camera (SN9C110)
Bus 001 Device 002: ID 046e:52e6 Behavior Tech. Computer Corp.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
hwinfo:
46: USB 00.0: 0000 Unclassified device
[Created at usb.122]
UDI: /org/freedesktop/Hal/devices/usb_device_c45_612a_noserial_if0
Unique ID: cLrx.gL4toYf4gg1
Parent ID: k4bc.rKOBlHXr+aF
SysFS ID: /devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0
SysFS BusID: 1-2:1.0
Hardware Class: unknown
Model: "Microdia USB camera"
Hotplug: USB
Vendor: usb 0x0c45 "Microdia"
Device: usb 0x612a "USB camera"
Revision: "1.01"
Driver: "sonixj"
Driver Modules: "gspca_sonixj"
Speed: 12 Mbps
Module Alias: "usb:v0C45p612Ad0101dc00dsc00dp00icFFiscFFipFF"
Driver Info #0:
Driver Status: gspca_sonixj is active
Driver Activation Cmd: "modprobe gspca_sonixj"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #50 (Hub)
Pre pridávanie komentárov sa musíte prihlásiť.
Neide mi obraz ale vypíše pri príkaze luvcview: SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
Stream settings:
ERROR: Requested frame format MJPG is not available and no fallback format was found.
Init v4L2 failed !! exit fatal
gspca dravjer implementuje V4L2, naopak aplikacie mozu stale pouzivat V4L1. existuje riesenie nasledovne, ktore mozes vyskusat:
wget http://people.atrpms.net/~hdegoede/libv4l-0.5.0.tar.gz
rozbal to a sudo make install (cize nainstaluj), potom napis do terminalu:
$ export LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so
$ camstream
mozno ti teraz obraz z kamery nabehne
pre skype si vytvor v /usr/local/bin script, ktory nazvi napriklad skype a daj tam riadky:
#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
/usr/bin/skype
a kde mas ikonku skajpu cez ktoru ho spustas tak zmen cestu na tento novy skript
predtym este nezabudni ten skript nastavit ako spustitelny: sudo chmod a+x /usr/local/bin/skype
daj vediet ci pomohlo
#!/bin/bash
LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so
/usr/bin/skype
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
skype mas z repozitarov alebo zo stranky skajpu?
ERROR: ld.so: object '/usr/local/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored
ldd /usr/local/lib/libv4l/v4l1compat.so
ti mozno vypise, preco kniznicu nie je mozne pouzit (napr. 32 vs 64 bit, alebo nesplnene zavislosti)
ja som u seba pouzil na skype gstfakevideo. v podstate sa stream z kamery prezenie cez gstreamer a v stravitelnej forme podsunie skype. strycko Julo napovie viac ...
kamarat ma ukecal na Linux tak skusam a zacinam sa ucit a celkom sa mi to pozdava. Ak som mal doposial nejaky problem, podarilo sa mi ho rozchodit, ale momentalne mam rovnaky problem so Skypom a uz ma nic nenapada. Toto co tu pisete je zatial pre mna spanielska dedina, ale rad by som problem vyriesit, aby ma to neodradilo od Linuxu. Za akukolvek pomoc vopred dakujem
ICQ: 305715309
podobne mam problem napr aj na windows v skype aj WLM.. aj ked nie je zeleny obraz hned (ale niekedy ano), tak sa prepne do zelena tak do 2 minut.
webove webkamerove chaty bez problemov, yahoo messenger akurat zamrazi video, ale nezozelenie.
tu pod Linuxom to ide, ale vidim zeleny obraz a len nejaku moju siluetu