Kopete/Understøttelse af Webcam

From KDE UserBase Wiki
Revision as of 10:44, 4 November 2010 by Claus chr (talk | contribs) (Importing a new version from external source)
Other languages:
File:WebCam.png

Advarsel

Noget af informationen på denne side er gammel og er måske ikke længere gyldig. Hvis du bruger Kopete, må du meget gerne enten redigere sider selv eller tilføje noter til den tilknyttede diskussionsside.


Advarsel

Denne artikel har brug for mere detaljerede eller enklere skridt! Den er ikke begynder-venlig


Denne vejledning sigter mod at vise de vigtigste ting, der skal gøres for at kunne bruge et webcam i Kopete. Den er ikke udtømmende, men kan hjælpe de fleste.

Understøttede protokoller (Kopete 1.0.80)

Kopete understøtter mange protokoller. En liste over dem og detaljer om tilgængelig funktionalitet kan findes på siden Kopete Protocols Overview.


Webcams har brug for drivere

Første skridt: Installér drivere

(Bemærk: Hvis dit webcam allerede virke under Linux, så kan du springe dette skridt over.)

Først skal du have dit webcam til at virke under Linux. Dette forudsætter, at du har en kamera-drive, som er kompatibel med Video4Linux indlæst.

Aktivér først understøttelsen for video (v4l) i din Linux-kerne. Hvis modulerne ikke er installeret automatisk, så er de v4l-compat, v4l-common og videodev.

Her en nogle links til almindelige webcam-drivere til Linux. Hvis du køber et nyt webcam, så kan du tjekke disse sider for at sikre dig, at du køber et, som understøttes under 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)

Kompilér og installér din driver (om nødvendigt) ved at følge vejledningen på webstedet for din driver.

Andet skridt: webcam i Kopete

Åbn Kopetes indstillingsdialog. Gå til afsnittet Video. Dit webcam skulle nu tændes og du skulle se billedet i forhåndsvisningen. Hvis der er et problem med driveren, så føj dig selv til gruppen "video" ved hjælp af brugeradministrations-programmet KUser, kontrollér at kamera-driveren virker og prøv igen.

Tredje skridt: brug webcam'et rigtigt

  • 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 I 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 12.7, (Ubuntu Hardy 8.04) out of the box.