Login
 
standard | secure
Online users
backlinks print pdf
history similar attach file
This page is currently being updated to reflect more carefully users need ... please be patient during the modifications


The page concerning the webcam support for developers is TodoWebcam?

Webcam In aMSN


Common errors:
You are firewalled or behind a router

Mac OS X:
Apple error code -9405
People told my webcam picture is purple and my picture is double

Linux:
You are using the pwc driver
Webcamsn extension is not loaded. You have to compile it.
Capture extension -Capture- is not loaded, you have to compile it
If webcam still doesn't work on Linux, try the test procedure

Windows:
The image output is distorted and/or amsn crashes with memory access problems



You are firewalled or behind a router

If you are unable to view a webcam in aMSN after a contact has send you an invite, or after you have issued the command to receive/send webcam, and you are behind a router, you may need to follow these steps:

If you receive: IP-Restrict-NAT and you receive false in webcam wizard, that means your connection is firewalled. (does not send the IP)

If this is the case, you will need to open some ports for the webcam to use because they are currently blocked.

To do this, open your router web-based configuration (check router manual for details on this). Once you have the web-based configuration open, browse for a setting called "port forwarding" or "port range forwarding" or something similar to that. (This might be found under the advanced features for your router).

Now that you have the port forwarding page open, you will want to set the port forwarding range so that aMSN will be able to accept and send the webcam stream.
Here's an example of how you will set up your port forwarding:

Application: aMSN
Start: 6890
End: 6900
Protocol: Both(TCP & UDP)
IP: xxx.xxx.x.xxx
Enabled: X (Yes/True)

Note: xxx.xxx.x.xxx is the IP of your machine that you are trying to send / receive webcam


If you have a web server open on your port 80, you can try to disable it too, sometimes it helps.

General port instructions for Apple Airport Base Station or Airport Express (of course, use ports 6891 to 6900 in the configurations)
http://www.blueskyis.com/bittorrent/airportforwarding.php


Apple error code -9405 (Mac OS X)

You probably got this error when trying to send webcam to someone else, if you don't have a webcam and want to see the webcam of someone, go to actions menu and select "Ask this user to send you his/her webcam"

If you have a webcam, this error means your camera is not pluged, if you just pluged it, relaunch aMSN
If you tried to relaunch, it probably means your camera is not known by QuickTime?. Normally, it should works with Firewire camera (like iSight) and DV cam, and with USB webcams supported on Mac OS X

If you have a USB webcam unsupported on Mac OSX you can take a loot at:

iOXexperts ($$)
http://www.ioxperts.com/products/webcamx.html

Macam (Free)
http://webcam-osx.sourceforge.net/

UsbVision? ($$)
http://www.macupdate.com/info.php/id/14209


People told my webcam picture is purple and my picture is double (Mac OS X)

If you have iOXexperts drivers to your camera version 0.8 update to 1.1
If you don't use iOXexperts try to update your camera drivers.
If you still have problems, go to aMSN Mac forum to ask for help
http://forums.cocoaforge.com/viewforum.php?f=14


You are using the pwc driver (On Linux)
Those of you who are using this driver should know that this driver is incomplete and may not work correctly with amsn... You won't be able to change your settings like britghness/color/hue/ etc... You MAY not be able to run it in high resolution mode unless you use the pwcx proprietary driver. (But it seems there's now a PWC driver that support high resolution). Note that aMSN currently supports only the high resolution mode'



Webcamsn extension is not loaded. You have to compile it. (On Linux)


You need to make sure there is a webcamsn.so in /msn/utils/webcamsn/
and also in /msn/utils/webcamsn/webcamsn/

If these do not exist, you need to enter each of those directories and type make to compile the source into a webcamsn.so file.


beast@1[webcamsn]$ ls
aclocal.m4 config.sub INSTALL Makefile.in webcamsn
AUTHORS configure install-sh missing webcamsn.dll
ChangeLog configure.ac libmimic.pc mkinstalldirs webcamsn.so
config.guess COPYING libmimic.pc.in NEWS webcamsn.tcl
config.h CVS libtool pkgIndex.tcl
config.h.in datastream.bin ltmain.sh README
config.log depcomp Makefile src
config.status doc Makefile.am stamp-h1



beast@1[webcamsn]$ make

beast@1[webcamsn]$ ls
CVS Makefile webcamsn.c webcamsn.o webcamsn.vcproj
libmimic.a Makefile.in webcamsn.h webcamsn.so




Capture extension -Capture- is not loaded, you have to compile it (On Linux)

If you dont have a capture.so file, you will need to build it by opening a console
and typing "make" in your /msn/utils/linux/capture directory. If everything works correctly, you will have a capture.so file.


beast@1[capture]$ make
beast@1[capture]$ ls
capture.c capture.h capture.so CVS Makefile pkgIndex.tcl test.tcl


If capture seems not working so well with your webcam, you can try that


./configure --disable-libng
make




If webcam still doesn't work on Linux, try the test procedure

The test is shipped only with the source packages, not the binaries,. So, if you need to test your webcam, you have to download the sources package at http://amsn.sourceforge.net/download.php.

To run a test to make sure you webcam is functioning, go into your /msn/utils/linux/capture directory and type :

user:/usr/share/amsn/utils/linux/capture/$ ./test.tcl


You should then obtain something like :


vid-probe: trying: v4l2...
ioctl VIDIOC_QUERYCAP: Invalid argument
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
vid-probe: trying: v4l...
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
Found OV519 USB Camera at /dev/video0


The test.tcl window should pop up with "camera settings" and "choose device" buttons. Click "choose device". Your camera should be listed underneath the Devices section. If you select the correct webcam device, an option should appear under the Channels section. You can click on this Channels option. If everything is functioning, you will see a preview of your webcam functioning. You can then click on Camera Settings. Under camera settings you can adjust your camera's Brightness, Contrast, Hue, and Color.

If you have gotten the test.tcl to run, but still cannot use your webcam, please try running the command v4l-info:


user:/usr/share/amsn/utils/linux/capture/$ v4l-info

### video4linux device info [/dev/video0] ###
general info
   VIDIOCGCAP
       name                    : "OV519 USB Camera"
       type                    : 0x201 CAPTURE,SUBCAPTURE
       channels                : 1
       audios                  : 0
       maxwidth                : 640
       maxheight               : 480
       minwidth                : 64
       minheight               : 48

channels
   VIDIOCGCHAN(0)
       channel                 : 0
       name                    : "Camera"
       tuners                  : 0
       flags                   : 0x0 []
       type                    : CAMERA
       norm                    : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
   VIDIOCGPICT
       brightness              : 32768
       hue                     : 40960
       colour                  : 32768
       contrast                : 31744
       whiteness               : 26880
       depth                   : 24
       palette                 : RGB24

buffer
   VIDIOCGFBUF
       base                    : (nil)
       height                  : 0
       width                   : 0
       depth                   : 0
       bytesperline            : 0

window
   VIDIOCGWIN
       x                       : 0
       y                       : 0
       width                   : 640
       height                  : 480
       chromakey               : 0
       flags                   : 30


This command will give you information about your webcam. If you have questions, please let us know which palette you are using and we should hopefully be able to help you.


The image output is distorted and/or amsn crashes with memory access problems

At the moment the windows capturing program captures at the resolution of the desktop. However tk requires its images to be in certain resolutions. Therefore you need to set your screens colour resolution to 32 bit (24bit may also work, I'm not sure though).

To change your colour resolution, right click on your desktop and press 'Properties', then select the 'Settings' tab, finally in the 'Colors' drop down box select the '32 bit' option. You may need to change the 'Screen area' if you can't select that colour resolution.

Hopefully this is a temporary problem and the capture code will be improved to fix this problem.

Version : French

Created by: clear_beast last modification: Sunday 11 of June, 2006 [23:57:41 UTC] by grdscarabe


name uploaded size dls desc
No attachments for this page