Kopete/Webcam Support: Difference between revisions

From KDE UserBase Wiki
No edit summary
(Marked this version for translation)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages />
<languages />
[[Image:WebCam.png|center|300px]]


<translate>
<translate>
{{Warning|1=Some of this information is old and may be obsolete. If you are a user of Kopete please either directly edit this page or add notes on the attached Discussion page}}


{{Warning| this article needs more detailed or more simplified steps! It's not newbie friendly}}
<!--T:37-->
{{Historic}}


<!--T:3-->
This howto aims to show the main steps to use your webcam with '''Kopete'''. It's not exhaustive but can help most people.
This howto aims to show the main steps to use your webcam with '''Kopete'''. It's not exhaustive but can help most people.


== Supported Protocols (Kopete 1.0.80) ==
== Supported Protocols (Kopete 1.0.80) == <!--T:4-->


Kopete supports many protocols.  As list of them, and details of functionality available, can be found on the [[Special:myLanguage/Kopete/Kopete_Protocols_Overview|Kopete Protocols Overview]] page.
<!--T:5-->
'''Kopete''' supports many protocols.  A list of them, and details of functionality available, can be found on the [[Special:myLanguage/Kopete/Supported Protocols Overview|Supported Protocols Overview]] page.
----
----


==Webcams need Drivers==
==Webcams need Drivers== <!--T:6-->


===First step: Install the drivers===
===First step: Install the drivers=== <!--T:7-->


(Note: If your webcam already works on Linux, skip this step.)
<!--T:8-->
{{Note|1=If your webcam already works on Linux, skip this step}}


<!--T:9-->
First of all, you need to get your webcam working on Linux. This requires a ''Video4Linux''-compatible camera driver to be loaded.
First of all, you need to get your webcam working on Linux. This requires a ''Video4Linux''-compatible camera driver to be loaded.


<!--T:10-->
First, activate the video for linux ('''v4l''') support in your linux kernel. If the modules are not automatically installed, they are '''v4l-compat''', '''v4l-common''', and '''videodev'''.
First, activate the video for linux ('''v4l''') support in your linux kernel. If the modules are not automatically installed, they are '''v4l-compat''', '''v4l-common''', and '''videodev'''.


<!--T:11-->
Here are some links to common webcam drivers on Linux. If you are buying a new webcam, you may want to check these pages to make sure you get one that's compatible with Linux.
Here are some links to common webcam drivers on Linux. If you are buying a new webcam, you may want to check these pages to make sure you get one that's compatible with Linux.


<!--T:12-->
http://mxhaard.free.fr/spca5xx.html
http://mxhaard.free.fr/spca5xx.html


<!--T:13-->
http://alpha.ovcam.org/ov511/
http://alpha.ovcam.org/ov511/


<!--T:14-->
http://members.chello.nl/~j.vreeken/se401/
http://members.chello.nl/~j.vreeken/se401/


<!--T:15-->
http://qce-ga.sourceforge.net/
http://qce-ga.sourceforge.net/


<!--T:16-->
http://tuukkat.cabspace.com/quickcam/quickcam.html
http://tuukkat.cabspace.com/quickcam/quickcam.html


<!--T:17-->
http://www.linux-usb.org/ibmcam/
http://www.linux-usb.org/ibmcam/


<!--T:18-->
http://www.rastageeks.org/ov51x-jpeg/index.php/Main_Page
http://www.rastageeks.org/ov51x-jpeg/index.php/Main_Page


<!--T:19-->
http://www.saillard.org/linux/pwc/ (Phillips USB Webcam Driver)
http://www.saillard.org/linux/pwc/ (Phillips USB Webcam Driver)


<!--T:20-->
Compile and install your driver (if necessary) according to the instructions on the site for your driver.
Compile and install your driver (if necessary) according to the instructions on the site for your driver.


===Second step: webcam with Kopete===
===Second step: webcam with Kopete=== <!--T:21-->


Open the '''Kopete''' configuration dialog. Go to the device section. Your webcam should turn on and you should see the picture in the preview. If you have a problem with your driver, add yourself to the video group using the KUser user administration tool, make sure your camera driver is working, and try again.
<!--T:22-->
Open the '''Kopete''' configuration dialog. Go to the device section. Your webcam should turn on and you should see the picture in the preview. If you have a problem with your driver, add yourself to the video group using the [[Special:MyLanguage/KUser|KUser]] user administration tool, make sure your camera driver is working, and try again.


===Third step: real webcam use===
===Third step: real webcam use=== <!--T:23-->


* Open ''Jabber'' or ''WLM'' chat with one of your buddies. Use the <menuchoice>Send webcam</menuchoice> option in file menu to send your webcam stream to your buddy. You should get the preview of your stream in a new dialog.
<!--T:24-->
* Open ''Jabber'' or ''WLM'' chat with one of your buddies. Use the <menuchoice>Send webcam</menuchoice> option in <menuchoice>File</menuchoice> menu to send your webcam stream to your buddy. You should get the preview of your stream in a new dialog.
* Alternatively you can choose the desired action in the context menu of the contact.
* Alternatively you can choose the desired action in the context menu of the contact.


<!--T:25-->
----
----


==Troubleshooting==
==Troubleshooting== <!--T:26-->


<!--T:27-->
''My camera is a no-name (generic) brand. How can I find the appropriate driver?''
''My camera is a no-name (generic) brand. How can I find the appropriate driver?''
You will Probably find the chipset brand using the "lsusb" command as the root user. Note that some no-name and cheap camera brands don't work on Linux at all, though the ''spca5xx'' driver supports an increasing number of chipsets.
You will probably find the chipset brand using the "lsusb" command as the root user. Note that some no-name and cheap camera brands don't work on Linux at all, though the ''spca5xx'' driver supports an increasing number of chipsets.


''I can't receive any webcam stream from my buddies; what's wrong ?''
<!--T:28-->
''I can't receive any webcam stream from my buddies; what's wrong?''
MSN webcam support is not NAT-friendly. Check your NAT router and forward the MSN Webcam port to your computer port on which '''Kopete''' is listening for webcam (see the next item).
MSN webcam support is not NAT-friendly. Check your NAT router and forward the MSN Webcam port to your computer port on which '''Kopete''' is listening for webcam (see the next item).


<!--T:29-->
''Detailed listing of ports to forward for MSN''
''Detailed listing of ports to forward for MSN''
Microsoft provides this info in the following link: http://support.microsoft.com/kb/324214/en-us
Microsoft provides this info in the following link: http://support.microsoft.com/kb/324214/en-us


<!--T:30-->
{| class="tablecenter" style="border:1px solid darkgray;"
{| class="tablecenter" style="border:1px solid darkgray;"
!Service||TCP ports||UDP ports
!Service||TCP ports||UDP ports
Line 83: Line 103:
|}
|}


Note In the "File transfer" line, 10 ports are opened (ports 6891 through 6900 inclusive) so that you can perform 10 file transfer operations at a time. If you open only one of these ports, you can only transfer one file at a time.
<!--T:31-->
{{Note|1=In the "File transfer" line, 10 ports are opened (ports 6891 through 6900 inclusive) so that you can perform 10 file transfer operations at a time. If you open only one of these ports, you can only transfer one file at a time.}}


<!--T:32-->
''I can receive or send but not both at the same time; port 6891 has been opened for TCP/UDP packets''
''I can receive or send but not both at the same time; port 6891 has been opened for TCP/UDP packets''
It seems that I had to forward 6892 (udp and tcp) as well to get both directions working.
It seems that you had to forward 6892 (udp and tcp) as well to get both directions working.


<!--T:33-->
''How do I receive webcam images through the Yahoo! protocol?''
''How do I receive webcam images through the Yahoo! protocol?''
You need to have the '''jasper''' application reachable through your PATH environment variable. The '''Jasper''' application is provided by OpenSUSE from v.10.1 (though not installed by default).
You need to have the '''jasper''' application reachable through your PATH environment variable. The '''Jasper''' application is provided by OpenSUSE from v.10.1 (though not installed by default).


<!--T:34-->
For Ubuntu, use the Synaptic package manager to install the jasper runtime package which is called '''libjasper-runtime'''.
For Ubuntu, use the Synaptic package manager to install the jasper runtime package which is called '''libjasper-runtime'''.


<!--T:35-->
''Can we expect to see UVC cameras support (http://linux-uvc.berlios.de/)? Kopete shows only green screen when you try to use the camera. Other software ('''Skype''', '''aMSN''') work fine with this driver.''
''Can we expect to see UVC cameras support (http://linux-uvc.berlios.de/)? Kopete shows only green screen when you try to use the camera. Other software ('''Skype''', '''aMSN''') work fine with this driver.''
UVC camera (Logitech 9000 Pro) is reported as working in Kopete 12.7,  (Ubuntu Hardy 8.04) out of the box.
UVC camera (Logitech 9000 Pro) is reported as working in Kopete 0.12.7,  (Ubuntu Hardy 8.04) out of the box.


<!--T:36-->
[[Category:Internet]]
[[Category:Internet]]
</translate>
</translate>

Latest revision as of 06:33, 22 September 2024

Other languages:


Historic page

This page is of historic interest only. The content of the page is obsolete.


This howto aims to show the main steps to use your webcam with Kopete. It's not exhaustive but can help most people.

Supported Protocols (Kopete 1.0.80)

Kopete supports many protocols. A list of them, and details of functionality available, can be found on the Supported Protocols Overview page.


Webcams need Drivers

First step: Install the drivers

Note

If your webcam already works on Linux, skip this step


First of all, you need to get your webcam working on Linux. This requires a Video4Linux-compatible camera driver to be loaded.

First, activate the video for linux (v4l) support in your linux kernel. If the modules are not automatically installed, they are v4l-compat, v4l-common, and videodev.

Here are some links to common webcam drivers on Linux. If you are buying a new webcam, you may want to check these pages to make sure you get one that's compatible with Linux.

http://mxhaard.free.fr/spca5xx.html

http://alpha.ovcam.org/ov511/

http://members.chello.nl/~j.vreeken/se401/

http://qce-ga.sourceforge.net/

http://tuukkat.cabspace.com/quickcam/quickcam.html

http://www.linux-usb.org/ibmcam/

http://www.rastageeks.org/ov51x-jpeg/index.php/Main_Page

http://www.saillard.org/linux/pwc/ (Phillips USB Webcam Driver)

Compile and install your driver (if necessary) according to the instructions on the site for your driver.

Second step: webcam with Kopete

Open the Kopete configuration dialog. Go to the device section. Your webcam should turn on and you should see the picture in the preview. If you have a problem with your driver, add yourself to the video group using the KUser user administration tool, make sure your camera driver is working, and try again.

Third step: real webcam use

  • Open Jabber or WLM chat with one of your buddies. Use the Send webcam option in File menu to send your webcam stream to your buddy. You should get the preview of your stream in a new dialog.
  • Alternatively you can choose the desired action in the context menu of the contact.

Troubleshooting

My camera is a no-name (generic) brand. How can I find the appropriate driver? You will probably find the chipset brand using the "lsusb" command as the root user. Note that some no-name and cheap camera brands don't work on Linux at all, though the spca5xx driver supports an increasing number of chipsets.

I can't receive any webcam stream from my buddies; what's wrong? MSN webcam support is not NAT-friendly. Check your NAT router and forward the MSN Webcam port to your computer port on which Kopete is listening for webcam (see the next item).

Detailed listing of ports to forward for MSN Microsoft provides this info in the following link: http://support.microsoft.com/kb/324214/en-us

Service TCP ports UDP ports
Incoming voice (computer to computer) 6901 6901
Voice (computer to phone) - 6801, 6901, 2001-2120
File transfer (receiving a file) 6891-6900 -

Note

In the "File transfer" line, 10 ports are opened (ports 6891 through 6900 inclusive) so that you can perform 10 file transfer operations at a time. If you open only one of these ports, you can only transfer one file at a time.


I can receive or send but not both at the same time; port 6891 has been opened for TCP/UDP packets It seems that you had to forward 6892 (udp and tcp) as well to get both directions working.

How do I receive webcam images through the Yahoo! protocol? You need to have the jasper application reachable through your PATH environment variable. The Jasper application is provided by OpenSUSE from v.10.1 (though not installed by default).

For Ubuntu, use the Synaptic package manager to install the jasper runtime package which is called libjasper-runtime.

Can we expect to see UVC cameras support (http://linux-uvc.berlios.de/)? Kopete shows only green screen when you try to use the camera. Other software (Skype, aMSN) work fine with this driver. UVC camera (Logitech 9000 Pro) is reported as working in Kopete 0.12.7, (Ubuntu Hardy 8.04) out of the box.