Forum > Kącik Linuksa i Androida > Kamera internetowa uruchomienie ....

Strona 1 z 1 1
skocz

Inferno

Wysłane 2013-04-19 15:58 , Edytowane 2013-04-19 17:07

Witam.
Chcę pod Linux Mint 13 zainstalować sterowniki do kamery Trust WB-1400T tylko nie wiem jak ....

Znalazłem stronę:
[LINK]
Ale przy próbie kompilacji, twierdzi, że nie ma pliku linux/config.h, więc nie wiem co dalej. W Readme jest napisane coś w rodzaju make [menuconfig|config|xconfig] make dep ale wyświetla, że brak reguł.

Znalazłem jeszcze inną stronę: [LINK]
I tam było:
open a terminal type, gstreamer-properties click enter
click video try v4l1 and v4l2
click the bottom test button for each 1

910 and up cheese webcam boothe is/should be installed
look in sound & video
try the cam in cheese

Ale nie mam zainstalowanego gstreamer i nie wiem jak to zainstalować ...

Jakiś pomysł ?


//Edycja:
Znalazłem takie coś: [LINK]

Dodatkowo zainstalowałem gstream i mogłem w konsoli wpisać gstream-properties, następnie przeszedłem do zakładki video i urządzenie wejścia Video for Linux (?), uruchomiłem test i pokazał się obraz z kamery. Także system ją widzisz. Problem jest w tym, że nie wiem jak uruchomić Skype'a aby tą kamerę obsługiwał. Próbowałem dodawać ten skrypt z tej stronki, ale nic się nie dzieje :(

szczur3k

Wysłane 2013-04-21 18:38

Jak gstreamer widzi kamerkę, to Skype powinien ją widzieć.

Gentoo

Inferno

Wysłane 2013-04-22 10:25 , Edytowane 2013-04-22 10:25

No właśnie, jest tam pokazanych chip (kamery chyba, ale nie pamiętam jak się nazywał) i jak daję włącz kamerę to się nic nie dzieje ... Gdy najpierw mam uruchomiony współdzielenie pulpitu a potem włączam kamerę, to współdzielenie pulpitu się freezuje, czyli widzę ciągle jedną i tą samą klatkę i dalej nie mam pomysłu co dalej.

Zainstalowałem mplayer i chciałem uruchomić:
mplayer tv:// -tv driver=v4l2:width=352:height=288:device=/dev/video0

Ale wyświetla błąd - coś z dźwiękiem, że nie może wyciszyć (z pamięci piszę), przetwarza 2 - 3 klatki, jedna przechodzi resztę odrzuca (tak wynika z logu).

Może spróbować doinstalować kodek V4l w wersji 1 ? Jak go znaleźć ?

szczur3k

Wysłane 2013-04-22 14:55

obsługa v4l/v4l2 siedzi w jaju. Co Ci pokazuje zcat /proc/config.gz | grep V4L?

A jak w skajpie w opcjach klikniesz "testuj kamerkę" (piszę z pamięci bo nie posadam ani jednego ani drugiego) to co się dzieje?

Gentoo

Inferno

Wysłane 2013-04-23 09:47

Niestety, brak: gzip: /proc/config.gz: No such file or directory

szczur3k

Wysłane 2013-04-23 13:18

find /lib/modules -iname "v4*" -type f

Gentoo

Inferno

Wysłane 2013-04-23 19:34

to wypluwa takie coś:

/lib/modules/3.2.0-23-generic/kernel/drivers/media/video/v4l2-common.ko
/lib/modules/3.2.0-23-generic/kernel/drivers/media/video/v4l2-int-device.ko
/lib/modules/3.2.0-23-generic/kernel/drivers/media/video/v4l2-mem2mem.ko

Inferno

Wysłane 2013-04-25 18:33

Oto co wyświetla konsola:

User@computer ~ $ mplayer tv:// -tv device=/dev/video0
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
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 [LINK]
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: CIF Single Chip
Capabilities: video capture read/write streaming
supported norms:
inputs: 0 = pac207;
Current input: 0
Current format: unknown (0x37303250)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
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
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Cannot find codec matching selected -vo and video format 0x37303250.
==========================================================================

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

Exiting... (End of file)


Natomiast wpisanie tego samego w trybie roota wywołuje czarny ekran a kamerka zapala się na sekundę:

User@computer ~ # mplayer tv:// -tv device=/dev/video0
Creating config file: /root/.mplayer/config
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
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 [LINK]
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: CIF Single Chip
Capabilities: video capture read/write streaming
supported norms:
inputs: 0 = pac207;
Current input: 0
Current format: unknown (0x37303250)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
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
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
No protocol specified
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
vo: couldn't open the X11 display (:0)!
No protocol specified
No protocol specified
No protocol specified
No protocol specified
init kbd.
SDL SetVideoMode failed: Couldn't set console screen info
No protocol specified
No protocol specified
vo: couldn't open the X11 display (:0)!
VO XOverlay need a subdriver
No protocol specified
No protocol specified
No protocol specified
No protocol specified
init kbd.
[VO_SDL] Using driver: fbcon.
No protocol specified
No protocol specified
vo: couldn't open the X11 display (:0)!
==========================================================================
Cannot find codec matching selected -vo and video format 0x37303250.
==========================================================================

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

Exiting... (End of file)

Strona 1 z 1 1
skocz

Kto jest online: 0 użytkowników, 310 gości