ARToolKit | Mailing List Archive |
![]() |
From: | pawel plaszczak <pawel@m ..........> | Received: | Aug 27, 2002 |
To | artoolkit@h .................. | ||
Subject: | arVideoOpen: channel# is not valid | ||
Hello All, I have a problem with installing ARToolkit. On my laptop I installed one of the Philips USB webcams. I think it's TouCam Pro. It works fine, I can see the output on the screen (using streamcam). I compiled ARToolkit 2.61 choosing "video4linux" when prompted by Configure. It compiled fine. Yet running a simpleTest (or anything else) returns this: bash-2.05a$ simpleTest arVideoOpen: channel# is not valid. Could anyone tell me what I am doing wrong. I suppose that it does not see the device? I have: bash-2.05a$ ls -l /dev/video crw-rw-rw- 2 root root 81, 0 Aug 5 17:11 /dev/video Any ideas? Also, recently there was a question about the list archives. If there is something like that, I would also like to know how to access it. Perhaps this question have been already addressed? regards, pawel |
From: | Hirokazu Kato <kato@s ........................> | Received: | Aug 28, 2002 |
To | pawel plaszczak <pawel@m ..........> | ||
Subject: | Re: arVideoOpen: channel# is not valid | ||
>bash-2.05a$ simpleTest >arVideoOpen: channel# is not valid. Please change include/AR/config.h or config.h.in like: #define DEFAULT_VIDEO_CHANNEL 1 ---> #define DEFAULT_VIDEO_CHANNEL 0 Then compile again. But you might get another error like: "error: setting palette" This is from incompatibility of ARToolKit Video Libraru and your USB camera. -- ------------------------------------------------------------------ Hirokazu Kato Faculty of Information Sciences Hiroshima City University Phone: 082-830-1705 Email: kato@s ........................ Fax: 082-830-1435 URL: http://www.sys.im.hiroshima-cu.ac.jp/people/kato/ |