Mudanças entre as edições de "Como fazer uma webcam funcionar no UBUNTU"
(New page: === old webcam which doesn't work well with V4L2 === There seems to be a known problem in Ubuntu Intrepid and Jaunty (at least), due to switching from the video system V4L to the more rec...) |
|||
(Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
Linha 1: | Linha 1: | ||
− | === | + | ==Testando a Webcam== |
+ | Para ver se está instalada digite no terminal | ||
+ | gstreamer-properties | ||
+ | mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0 | ||
+ | |||
+ | Para ver o modelo digite no terminal | ||
+ | lsusb | ||
+ | resultado: | ||
+ | Bus 002 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam | ||
+ | |||
+ | Ver ver o device usado: | ||
+ | ls /dev/video* | ||
+ | resultado: | ||
+ | /dev/video0 | ||
+ | |||
+ | Ver mais em: | ||
+ | https://help.ubuntu.com/community/Webcam | ||
+ | |||
+ | |||
+ | ==Tentativas de configuração para o Kopete e Skype (não funcionou)== | ||
+ | |||
+ | Sem alterar nada, aparece tela Verde/Cores no Skype e no Kopete. | ||
+ | |||
+ | Seguir estas instruções: | ||
There seems to be a known problem in Ubuntu Intrepid and Jaunty (at least), due to switching from the video system V4L to the more recent V4L2. Many applications, like webcams, doesn't seem to work well (or at all) with V4L2. But luckily there is a simple workaround to avoid the problem, through installing and loading some libraries with backward-compatibility with V4L, so that Flash sees again your Webcam, as it used to do until Ubuntu Hardy. | There seems to be a known problem in Ubuntu Intrepid and Jaunty (at least), due to switching from the video system V4L to the more recent V4L2. Many applications, like webcams, doesn't seem to work well (or at all) with V4L2. But luckily there is a simple workaround to avoid the problem, through installing and loading some libraries with backward-compatibility with V4L, so that Flash sees again your Webcam, as it used to do until Ubuntu Hardy. | ||
Linha 18: | Linha 41: | ||
That should do the work (it did for me using Jaunty, and for others as reported originally at this source). | That should do the work (it did for me using Jaunty, and for others as reported originally at this source). | ||
+ | |||
+ | A imagem que aparece no gstreamer é perfeita tanto no V4L2 como V4L. | ||
+ | |||
+ | Mesmo assim a WebCam não funciona no Kopete e Skype. | ||
+ | |||
+ | Alguma idéia?? |
Edição atual tal como às 09h48min de 7 de agosto de 2009
Testando a Webcam
Para ver se está instalada digite no terminal
gstreamer-properties mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0
Para ver o modelo digite no terminal
lsusb
resultado:
Bus 002 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Ver ver o device usado:
ls /dev/video*
resultado:
/dev/video0
Ver mais em:
https://help.ubuntu.com/community/Webcam
Tentativas de configuração para o Kopete e Skype (não funcionou)
Sem alterar nada, aparece tela Verde/Cores no Skype e no Kopete.
Seguir estas instruções:
There seems to be a known problem in Ubuntu Intrepid and Jaunty (at least), due to switching from the video system V4L to the more recent V4L2. Many applications, like webcams, doesn't seem to work well (or at all) with V4L2. But luckily there is a simple workaround to avoid the problem, through installing and loading some libraries with backward-compatibility with V4L, so that Flash sees again your Webcam, as it used to do until Ubuntu Hardy.
In order to do it, we need to shut down any application that might be doing some use of the video: editors, instant messengers or even the internet browser, and in a terminal we'll type:
sudo apt-get install ld.so.preload-manager
y after that, execute:
sudo ld.so.preload-manager /usr/lib/libv4l/v4l1compat.so
Then, you have to switch the video mode to V4L from the multimedia systems selector, through executing:
gstreamer-properties
Go to the Video tab, and change the default value to V4L.
That should do the work (it did for me using Jaunty, and for others as reported originally at this source).
A imagem que aparece no gstreamer é perfeita tanto no V4L2 como V4L.
Mesmo assim a WebCam não funciona no Kopete e Skype.
Alguma idéia??