| ARToolKit | Mailing List Archive |
|
| From: | Zorgh <zorgh@k ...........> | Received: | Apr 24, 2009 |
| To | artoolkit@l ................. | ||
| Subject: | [ARToolKit] error: acquireing channel(0) info | ||
Hi, I'm trying to configure ARtoolkit on Ubuntu 8.10 "Intrepid" (Linux 2.6.27-11-generic on x86_64). In configure I choose 1, n, y, y. When I run the simplTest, I get an error : ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleTest Using supplied video config string [-dev=/dev/video0 -channel=0 -debug -palette=YUV420P -width=640 -height=480]. === debug info === vd.name = Philips SPC 1330NC vd.channels = 1 vd.maxwidth = 1600 vd.maxheight = 1200 vd.minwidth = 48 vd.minheight = 32 arVideoOpen: width/height adjusted to (640, 480) arVideoOpen: channel adjusted to 0 ==== capture device channel info === error: acquireing channel(0) info How can I solve it ? Thx so much _______________________________________________ ARToolKit mailing list ARToolKit@l ................. http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit |
|||
| From: | Zorgh <zorgh@k ...........> | Received: | Apr 24, 2009 |
| To | artoolkit@l ................. | ||
| Subject: | [ARToolKit] error: acquireing channel(0) info | ||
Hi,
I'm trying to configure ARtoolkit on Ubuntu 8.10 "Intrepid" (Linux
2.6.27-11-generic on x86_64).
In configure I choose 1, n, y, y.
The runtime error I get is :
ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleTest
Using supplied video config string [-dev=/dev/video0 -channel=0 -debug
-palette=YUV420P -width=640 -height=480].
=== debug info ===
vd.name = Philips SPC 1330NC
vd.channels = 1
vd.maxwidth = 1600
vd.maxheight = 1200
vd.minwidth = 48
vd.minheight = 32
arVideoOpen: width/height adjusted to (640, 480)
arVideoOpen: channel adjusted to 0
==== capture device channel info ===
error: acquireing channel(0) info
./lib/SRC/VideoLinuxV4L/video.c
if( vid->debug ) {
printf("==== capture device channel info ===\n");
}
for(i = 0;i < vd.channels && i < MAXCHANNEL; i++){
vc[i].channel = i;
if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i]) < 0){
printf("error: acquireing channel(%d) info\n",i);
free( vid );
return 0;
}
How can I fix it ?
Thx so much
_______________________________________________
ARToolKit mailing list
ARToolKit@l .................
http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
|
|||
| From: | Zorgh <zorgh@k ...........> | Received: | Apr 24, 2009 |
| To | artoolkit@l ................. | ||
| Subject: | Re: [ARToolKit] error: acquireing channel(0) info | ||
Zorgh a =E9crit :
> Hi,
>
> I'm trying to configure ARtoolkit on Ubuntu 8.10 "Intrepid" (Linux =
> 2.6.27-11-generic on x86_64).
>
> In configure I choose 1, n, y, y.
>
> The runtime error I get is :
>
> ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleTest
> Using supplied video config string [-dev=3D/dev/video0 -channel=3D0 -debu=
g =
> -palette=3DYUV420P -width=3D640 -height=3D480].
> =3D=3D=3D debug info =3D=3D=3D
> vd.name =3D Philips SPC 1330NC
> vd.channels =3D 1
> vd.maxwidth =3D 1600
> vd.maxheight =3D 1200
> vd.minwidth =3D 48
> vd.minheight =3D 32
> arVideoOpen: width/height adjusted to (640, 480)
> arVideoOpen: channel adjusted to 0
> =3D=3D=3D=3D capture device channel info =3D=3D=3D
> error: acquireing channel(0) info
>
> ./lib/SRC/VideoLinuxV4L/video.c
>
> if( vid->debug ) {
> printf("=3D=3D=3D=3D capture device channel info =3D=3D=3D\n");
> }
>
> for(i =3D 0;i < vd.channels && i < MAXCHANNEL; i++){
> vc[i].channel =3D i;
> if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i]) < 0){
> printf("error: acquireing channel(%d) info\n",i);
> free( vid );
> return 0;
> }
>
> How can I fix it ?
>
> Thx so much
>
> _______________________________________________
> ARToolKit mailing list
> ARToolKit@l .................
> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
> =
This is my hack :
/for(i =3D 0;i < vd.channels && i < MAXCHANNEL; i++){
vc[i].channel =3D i;
if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i]) < 0){
*perror ("VIDIOCGCHAN");*
printf("error: acquireing channel(%d) info\n",i);
free( vid );
return 0;
}/
The output is :
*VIDIOCGCHAN: Invalid argument
*error: acquireing channel(0) info
---------------
ubuntu@u .....:/tmp$ v4l-info
/### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "uvcvideo"
card : "Philips SPC 1330NC"
bus_info : "0000:00:1d.7"
version : 0.1.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "Philips SPC 1330NC"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 1600
maxheight : 1200
minwidth : 48
minheight : 32
channels
*ioctl VIDIOCGCHAN: Invalid argument*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090424/9cc=
a29cc/attachment.html =
_______________________________________________
ARToolKit mailing list
ARToolKit@l .................
http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
|
|||
| From: | Zorgh <zorgh@k ...........> | Received: | Apr 24, 2009 |
| To | artoolkit@l ................. | ||
| Subject: | Re: [ARToolKit] error: acquireing channel(0) info | ||
Zorgh a =E9crit :
> Zorgh a =E9crit :
> =
>> Hi,
>>
>> I'm trying to configure ARtoolkit on Ubuntu 8.10 "Intrepid" (Linux =
>> 2.6.27-11-generic on x86_64).
>>
>> In configure I choose 1, n, y, y.
>>
>> The runtime error I get is :
>>
>> ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleTest
>> Using supplied video config string [-dev=3D/dev/video0 -channel=3D0 -deb=
ug =
>> -palette=3DYUV420P -width=3D640 -height=3D480].
>> =3D=3D=3D debug info =3D=3D=3D
>> vd.name =3D Philips SPC 1330NC
>> vd.channels =3D 1
>> vd.maxwidth =3D 1600
>> vd.maxheight =3D 1200
>> vd.minwidth =3D 48
>> vd.minheight =3D 32
>> arVideoOpen: width/height adjusted to (640, 480)
>> arVideoOpen: channel adjusted to 0
>> =3D=3D=3D=3D capture device channel info =3D=3D=3D
>> error: acquireing channel(0) info
>>
>> ./lib/SRC/VideoLinuxV4L/video.c
>>
>> if( vid->debug ) {
>> printf("=3D=3D=3D=3D capture device channel info =3D=3D=3D\n");
>> }
>>
>> for(i =3D 0;i < vd.channels && i < MAXCHANNEL; i++){
>> vc[i].channel =3D i;
>> if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i]) < 0){
>> printf("error: acquireing channel(%d) info\n",i);
>> free( vid );
>> return 0;
>> }
>>
>> How can I fix it ?
>>
>> Thx so much
>>
>> _______________________________________________
>> ARToolKit mailing list
>> ARToolKit@l .................
>> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
>> =
>> =
> This is my hack :
>
> /for(i =3D 0;i < vd.channels && i < MAXCHANNEL; i++){
> vc[i].channel =3D i;
> if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i]) < 0){
> *perror ("VIDIOCGCHAN");*
> printf("error: acquireing channel(%d) info\n",i);
> free( vid );
> return 0;
> }/
>
> The output is :
>
> *VIDIOCGCHAN: Invalid argument
> *error: acquireing channel(0) info
>
> ---------------
>
> ubuntu@u .....:/tmp$ v4l-info
>
> /### v4l2 device info [/dev/video0] ###
> general info
> VIDIOC_QUERYCAP
> driver : "uvcvideo"
> card : "Philips SPC 1330NC"
> bus_info : "0000:00:1d.7"
> version : 0.1.0
> capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]
>
> ### video4linux device info [/dev/video0] ###
> general info
> VIDIOCGCAP
> name : "Philips SPC 1330NC"
> type : 0x1 [CAPTURE]
> channels : 1
> audios : 0
> maxwidth : 1600
> maxheight : 1200
> minwidth : 48
> minheight : 32
>
> channels
> *ioctl VIDIOCGCHAN: Invalid argument*/
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090424/9=
cca29cc/attachment.html =
> _______________________________________________
> ARToolKit mailing list
> ARToolKit@l .................
> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
> =
I have just understood that those ioctls are from the V4L1 API.
The uvcvideo driver implements the Video4Linux 2 (V4L2) API. V4L1 is not =
supported.
UVC only supports the v4l2 API (http://linux-uvc.berlios.de/).
So I search a patch to add support for Video 4 Linux 2 devices into the =
artoolkit based on the artk 2.72.1 tarball.
Thx so much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090424/837=
e8dc8/attachment.html =
_______________________________________________
ARToolKit mailing list
ARToolKit@l .................
http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
|
|||
| From: | Zorgh <zorgh@k ...........> | Received: | Apr 25, 2009 |
| To | artoolkit@l ................. | ||
| Subject: | Re: [ARToolKit] error: acquireing channel(0) info | ||
Zorgh a =E9crit :
> Zorgh a =E9crit :
> =
>> Zorgh a =E9crit :
>> =
>> =
>>> Hi,
>>>
>>> I'm trying to configure ARtoolkit on Ubuntu 8.10 "Intrepid" (Linux =
>>> 2.6.27-11-generic on x86_64).
>>>
>>> In configure I choose 1, n, y, y.
>>>
>>> The runtime error I get is :
>>>
>>> ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleTest
>>> Using supplied video config string [-dev=3D/dev/video0 -channel=3D0 -de=
bug =
>>> -palette=3DYUV420P -width=3D640 -height=3D480].
>>> =3D=3D=3D debug info =3D=3D=3D
>>> vd.name =3D Philips SPC 1330NC
>>> vd.channels =3D 1
>>> vd.maxwidth =3D 1600
>>> vd.maxheight =3D 1200
>>> vd.minwidth =3D 48
>>> vd.minheight =3D 32
>>> arVideoOpen: width/height adjusted to (640, 480)
>>> arVideoOpen: channel adjusted to 0
>>> =3D=3D=3D=3D capture device channel info =3D=3D=3D
>>> error: acquireing channel(0) info
>>>
>>> ./lib/SRC/VideoLinuxV4L/video.c
>>>
>>> if( vid->debug ) {
>>> printf("=3D=3D=3D=3D capture device channel info =3D=3D=3D\n");
>>> }
>>>
>>> for(i =3D 0;i < vd.channels && i < MAXCHANNEL; i++){
>>> vc[i].channel =3D i;
>>> if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i]) < 0){
>>> printf("error: acquireing channel(%d) info\n",i);
>>> free( vid );
>>> return 0;
>>> }
>>>
>>> How can I fix it ?
>>>
>>> Thx so much
>>>
>>> _______________________________________________
>>> ARToolKit mailing list
>>> ARToolKit@l .................
>>> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
>>> =
>>> =
>>> =
>> This is my hack :
>>
>> /for(i =3D 0;i < vd.channels && i < MAXCHANNEL; i++){
>> vc[i].channel =3D i;
>> if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i]) < 0){
>> *perror ("VIDIOCGCHAN");*
>> printf("error: acquireing channel(%d) info\n",i);
>> free( vid );
>> return 0;
>> }/
>>
>> The output is :
>>
>> *VIDIOCGCHAN: Invalid argument
>> *error: acquireing channel(0) info
>>
>> ---------------
>>
>> ubuntu@u .....:/tmp$ v4l-info
>>
>> /### v4l2 device info [/dev/video0] ###
>> general info
>> VIDIOC_QUERYCAP
>> driver : "uvcvideo"
>> card : "Philips SPC 1330NC"
>> bus_info : "0000:00:1d.7"
>> version : 0.1.0
>> capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]
>>
>> ### video4linux device info [/dev/video0] ###
>> general info
>> VIDIOCGCAP
>> name : "Philips SPC 1330NC"
>> type : 0x1 [CAPTURE]
>> channels : 1
>> audios : 0
>> maxwidth : 1600
>> maxheight : 1200
>> minwidth : 48
>> minheight : 32
>>
>> channels
>> *ioctl VIDIOCGCHAN: Invalid argument*/
>>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090424/=
9cca29cc/attachment.html =
>> _______________________________________________
>> ARToolKit mailing list
>> ARToolKit@l .................
>> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
>> =
>> =
> I have just understood that those ioctls are from the V4L1 API.
> The uvcvideo driver implements the Video4Linux 2 (V4L2) API. V4L1 is not =
> supported.
> UVC only supports the v4l2 API (http://linux-uvc.berlios.de/).
> So I search a patch to add support for Video 4 Linux 2 devices into the =
> artoolkit based on the artk 2.72.1 tarball.
>
> Thx so much
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090424/8=
37e8dc8/attachment.html =
> _______________________________________________
> ARToolKit mailing list
> ARToolKit@l .................
> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
> =
I succeeded to compile with a patch but I get a black window screen :
_Patch_ : http://www.hitlabnz.org/forum/showthread.php?t=3D432&highlight=3D=
v4l2
ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleLite
Control 9963793 is not supported
Camera image size (x,y) =3D (640,480)
*** Camera Parameter ***
--------------------------------------
SIZE =3D 640, 480
Distortion factor =3D 318.500000 263.500000 26.200000 1.012757
700.95147 0.00000 316.50000 0.00000
0.00000 726.09418 241.50000 0.00000
0.00000 0.00000 1.00000 0.00000
--------------------------------------
FittingMode (Z): COMPENSATED IMAGE
ProcMode (X) : FULL IMAGE
DrawMode (C) : TEXTURE MAPPING (FULL RESOLUTION)
TemplateMatchingMode (M) : Color Template
MatchingPCAMode (P) : Without PCA
ar2VideoCapNext: Error calling VIDIOC_QBUF: 22
ar2VideoCapNext: Error calling VIDIOC_QBUF: 22
---------------------------------------------------------------------------=
---------------------------------------------------
ubuntu@u .....:/usr/local/ARToolKit/bin$ gdb ./simpleTest
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later =
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/local/ARToolKit/bin/simpleTest
=3D=3D=3D debug info =3D=3D=3D
vd.driver =3D uvcvideo
vd.card =3D Philips SPC 1330NC
vd.bus_info =3D 0000:00:1d.7
vd.version =3D 256
vd.capabilities =3D 67108865
Width: 640
Height: 480
Pix Fmt: YUYV
Type: Camera
Control 9963793 is not supported
Brightness: 0
Contrast: 32
Saturation: 64
Hue: 0
Gamma: 100
Control 9963793 is not supported
Gain: 0
Image size (x,y) =3D (640,480)
*** Camera Parameter ***
--------------------------------------
SIZE =3D 640, 480
Distortion factor =3D 318.500000 263.500000 26.200000 1.012757
700.95147 0.00000 316.50000 0.00000
0.00000 726.09418 241.50000 0.00000
0.00000 0.00000 1.00000 0.00000
--------------------------------------
Thank you very much for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090425/978=
905ed/attachment.html =
_______________________________________________
ARToolKit mailing list
ARToolKit@l .................
http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
|
|||
| From: | Zorgh <zorgh@k ...........> | Received: | Apr 26, 2009 |
| To | Hartmut Seichter <hartmut@t ................> | ||
| Subject: | Re: [ARToolKit] error: acquireing channel(0) info | ||
Hartmut Seichter a =E9crit : > ARToolKit comes with a framegrabber for GStreamer enabling capture from = > any device available in GStreamer incl. RTSP, V4L2, video files etc. pp. > > Addition of V4L2 would open a whole can of worms by devices potentially = > capture with MJPEG or MPEG4 compression hence we would need to provide a = > decompression library - which is beyond the scope of ARToolKit. > > Cheers > H By using GStreamer the "problem" is fixed. Thank you very much for your = help. Thus, I get this error : libv4l2: error converting / decoding frame data: v4l-convert: error = parsing JPEG header: Not a JPG file ? _My config is_ : export ARTOOLKIT_CONFIG=3D"v4l2src device=3D/dev/video0 ! = video/x-raw-yuv,width=3D640,height=3D480,framerate=3D30/1 ! ffmpegcolorspac= e ! = capsfilter caps=3Dvideo/x-raw-rgb,bpp=3D24 ! identity name=3Dartoolkit ! fa= kesink" Thx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090426/d35= dc089/attachment.html = _______________________________________________ ARToolKit mailing list ARToolKit@l ................. http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit |
|||
| From: | Hartmut Seichter <hartmut@t ................> | Received: | Apr 26, 2009 |
| To | artoolkit@l ................. | ||
| Subject: | Re: [ARToolKit] error: acquireing channel(0) info | ||
ARToolKit comes with a framegrabber for GStreamer enabling capture from =
any device available in GStreamer incl. RTSP, V4L2, video files etc. pp.
Addition of V4L2 would open a whole can of worms by devices potentially =
capture with MJPEG or MPEG4 compression hence we would need to provide a =
decompression library - which is beyond the scope of ARToolKit.
Cheers
H
On 26/4/09 7:24 AM, Zorgh wrote:
> Zorgh a =E9crit :
> =
>> Zorgh a =E9crit :
>>
>> =
>>> Zorgh a =E9crit :
>>>
>>>
>>> =
>>>> Hi,
>>>>
>>>> I'm trying to configure ARtoolkit on Ubuntu 8.10 "Intrepid" (Linux
>>>> 2.6.27-11-generic on x86_64).
>>>>
>>>> In configure I choose 1, n, y, y.
>>>>
>>>> The runtime error I get is :
>>>>
>>>> ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleTest
>>>> Using supplied video config string [-dev=3D/dev/video0 -channel=3D0 -d=
ebug
>>>> -palette=3DYUV420P -width=3D640 -height=3D480].
>>>> =3D=3D=3D debug info =3D=3D=3D
>>>> vd.name =3D Philips SPC 1330NC
>>>> vd.channels =3D 1
>>>> vd.maxwidth =3D 1600
>>>> vd.maxheight =3D 1200
>>>> vd.minwidth =3D 48
>>>> vd.minheight =3D 32
>>>> arVideoOpen: width/height adjusted to (640, 480)
>>>> arVideoOpen: channel adjusted to 0
>>>> =3D=3D=3D=3D capture device channel info =3D=3D=3D
>>>> error: acquireing channel(0) info
>>>>
>>>> ./lib/SRC/VideoLinuxV4L/video.c
>>>>
>>>> if( vid->debug ) {
>>>> printf("=3D=3D=3D=3D capture device channel info =3D=3D=3D\n"=
);
>>>> }
>>>>
>>>> for(i =3D 0;i< vd.channels&& i< MAXCHANNEL; i++){
>>>> vc[i].channel =3D i;
>>>> if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i])< 0){
>>>> printf("error: acquireing channel(%d) info\n",i);
>>>> free( vid );
>>>> return 0;
>>>> }
>>>>
>>>> How can I fix it ?
>>>>
>>>> Thx so much
>>>>
>>>> _______________________________________________
>>>> ARToolKit mailing list
>>>> ARToolKit@l .................
>>>> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
>>>>
>>>>
>>>>
>>>> =
>>> This is my hack :
>>>
>>> /for(i =3D 0;i< vd.channels&& i< MAXCHANNEL; i++){
>>> vc[i].channel =3D i;
>>> if(ioctl(vid->fd,VIDIOCGCHAN,&vc[i])< 0){
>>> *perror ("VIDIOCGCHAN");*
>>> printf("error: acquireing channel(%d) info\n",i);
>>> free( vid );
>>> return 0;
>>> }/
>>>
>>> The output is :
>>>
>>> *VIDIOCGCHAN: Invalid argument
>>> *error: acquireing channel(0) info
>>>
>>> ---------------
>>>
>>> ubuntu@u .....:/tmp$ v4l-info
>>>
>>> /### v4l2 device info [/dev/video0] ###
>>> general info
>>> VIDIOC_QUERYCAP
>>> driver : "uvcvideo"
>>> card : "Philips SPC 1330NC"
>>> bus_info : "0000:00:1d.7"
>>> version : 0.1.0
>>> capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]
>>>
>>> ### video4linux device info [/dev/video0] ###
>>> general info
>>> VIDIOCGCAP
>>> name : "Philips SPC 1330NC"
>>> type : 0x1 [CAPTURE]
>>> channels : 1
>>> audios : 0
>>> maxwidth : 1600
>>> maxheight : 1200
>>> minwidth : 48
>>> minheight : 32
>>>
>>> channels
>>> *ioctl VIDIOCGCHAN: Invalid argument*/
>>>
>>>
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090424=
/9cca29cc/attachment.html
>>> _______________________________________________
>>> ARToolKit mailing list
>>> ARToolKit@l .................
>>> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
>>>
>>>
>>> =
>> I have just understood that those ioctls are from the V4L1 API.
>> The uvcvideo driver implements the Video4Linux 2 (V4L2) API. V4L1 is not
>> supported.
>> UVC only supports the v4l2 API (http://linux-uvc.berlios.de/).
>> So I search a patch to add support for Video 4 Linux 2 devices into the
>> artoolkit based on the artk 2.72.1 tarball.
>>
>> Thx so much
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090424/=
837e8dc8/attachment.html
>> _______________________________________________
>> ARToolKit mailing list
>> ARToolKit@l .................
>> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
>>
>> =
>
> I succeeded to compile with a patch but I get a black window screen :
>
> _Patch_ : http://www.hitlabnz.org/forum/showthread.php?t=3D432&highlight=
=3Dv4l2
>
> ubuntu@u .....:/usr/local/ARToolKit/bin$ ./simpleLite
> Control 9963793 is not supported
> Camera image size (x,y) =3D (640,480)
> *** Camera Parameter ***
> --------------------------------------
> SIZE =3D 640, 480
> Distortion factor =3D 318.500000 263.500000 26.200000 1.012757
> 700.95147 0.00000 316.50000 0.00000
> 0.00000 726.09418 241.50000 0.00000
> 0.00000 0.00000 1.00000 0.00000
> --------------------------------------
> FittingMode (Z): COMPENSATED IMAGE
> ProcMode (X) : FULL IMAGE
> DrawMode (C) : TEXTURE MAPPING (FULL RESOLUTION)
> TemplateMatchingMode (M) : Color Template
> MatchingPCAMode (P) : Without PCA
> ar2VideoCapNext: Error calling VIDIOC_QBUF: 22
> ar2VideoCapNext: Error calling VIDIOC_QBUF: 22
>
> -------------------------------------------------------------------------=
-----------------------------------------------------
>
> ubuntu@u .....:/usr/local/ARToolKit/bin$ gdb ./simpleTest
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu"...
> (gdb) run
> Starting program: /usr/local/ARToolKit/bin/simpleTest
> =3D=3D=3D debug info =3D=3D=3D
> vd.driver =3D uvcvideo
> vd.card =3D Philips SPC 1330NC
> vd.bus_info =3D 0000:00:1d.7
> vd.version =3D 256
> vd.capabilities =3D 67108865
> Width: 640
> Height: 480
> Pix Fmt: YUYV
> Type: Camera
> Control 9963793 is not supported
> Brightness: 0
> Contrast: 32
> Saturation: 64
> Hue: 0
> Gamma: 100
> Control 9963793 is not supported
> Gain: 0
> Image size (x,y) =3D (640,480)
> *** Camera Parameter ***
> --------------------------------------
> SIZE =3D 640, 480
> Distortion factor =3D 318.500000 263.500000 26.200000 1.012757
> 700.95147 0.00000 316.50000 0.00000
> 0.00000 726.09418 241.50000 0.00000
> 0.00000 0.00000 1.00000 0.00000
> --------------------------------------
>
> Thank you very much for your help.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090425/9=
78905ed/attachment.html
> _______________________________________________
> ARToolKit mailing list
> ARToolKit@l .................
> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
> =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090426/f30=
98974/attachment.html =
_______________________________________________
ARToolKit mailing list
ARToolKit@l .................
http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
|
|||