Portál AbcLinuxu, 6. května 2025 07:37

Dotaz: problem s luvcview a webkamerou Logitech pod Debianem Wheezy

5.7.2011 16:15 Karlitos
problem s luvcview a webkamerou Logitech pod Debianem Wheezy
Přečteno: 456×
Odpovědět | Admin

Zdravim

Postavil jsem si maly server a nainstaloval na nej Debian Wheezy (testing) - zakladni system + webserver, ftp ... tedy bez grafickeho prostredi. Chtel jsem zkusit, jestli je mozne pristupovat pomoci X-forwardingu na pripojenou webkameru Logitech (vim jde to i jinak a lepe - stremovat obraz .. - ale tohle znelo jako nejrychlejsi reseni)

Takze jsem nainstaloval luvcview - potrebovalo minimum dalsich baliku - ale kdyz ho zkousim spustit prez SSH tak mi to vypise :

luvcview 0.2.6 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

Problem je ze nevim jestli je chyba v ovladaci a nebo jestli je to kvuli tomu ze se snazim spustit video prez SSH. Zkousel jsem i reseni LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/luvcview ale beze zmeny.

Tady je jeste vypis lsmod | grep videodev

videodev 61226 1 gspca_main

media 13692 1 videodev

i2c_core 19022 6 i2c_i801,videodev,i915,drm_kms_helper,drm,i2c_algo_bit

 

Kdyby me nekdo umel poradit budu moc rad, predem diky ! K

Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

6.7.2011 16:28 Karlitos
Rozbalit Rozbalit vše Re: problem s luvcview a webkamerou Logitech pod Debianem Wheezy
Odpovědět | | Sbalit | Link | Blokovat | Admin

Tak jsem udelal zajimave zjisteni. Na notebooku s Ubuntu Maverick mi ta kamera pod luvcview take nefunguje ale zato funguje pod guvcview. Ten mi vypise toto kdyz ho spustim :

guvcview -d /dev/video1
guvcview 1.4.5
Could not open /home/leni/.guvcviewrc-video1 for read,
will try to create it
write /home/leni/.guvcviewrc-video1 OK
bt_audio_service_open: connect() failed: Verbindungsaufbau abgelehnt (111)
bt_audio_service_open: connect() failed: Verbindungsaufbau abgelehnt (111)
bt_audio_service_open: connect() failed: Verbindungsaufbau abgelehnt (111)
bt_audio_service_open: connect() failed: Verbindungsaufbau abgelehnt (111)
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server socket
jack server is not running or cannot be started
video device: /dev/video1
Init. USB Camera (046d:08d8) (location: usb-0000:00:1d.0-1)
{ pixelformat = 'JPEG', description = 'JPEG' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
vid:046d
pid:08d8
driver:zc3xx
checking format: 1196444237
Format unavailable: 1196444237.
Init v4L2 failed !!
Init video returned -2
trying minimum setup ...
video device: /dev/video1
Init. USB Camera (046d:08d8) (location: usb-0000:00:1d.0-1)
{ pixelformat = 'JPEG', description = 'JPEG' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 320, height = 240 }
Time interval between frame:
{ discrete: width = 640, height = 480 }
Time interval between frame:
vid:046d
pid:08d8
driver:zc3xx
checking format: 1195724874
Requested Format unavailable: get width 320 height 240
VIDIOC_G_COMP:
quality: 50
APPn: 0
APP_len: 0
APP_data:
COM_len: 0
COM_data:
jpeg_markers: 0x18
fps is set to 0/0
drawing controls
VIDIOC_G_EXT_CTRLS failed
using VIDIOC_G_CTRL for user class controls
fps is set to 1/1
Checking video mode 320x240@32bpp : OK

 

Takze nechapu kde je chyba, kdyz guvcview funguje ale luvcview ne. Mozna bude jednodussi zkusit najit nejaky uplne jednoduchy prehravac videa ale programy jako cheese nebo guvcview si tahaji hafo zavislosti.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.