I did more testing:
$ modinfo uvcvideo
filename: /lib/modules/2.6.24-16-generic/ubuntu/media/usbvideo/uvcvideo.ko
version: SVN r205
$ uvcdynctrl -V
uvcdynctrl 0.2 (SVN Revision : 21)
$ uvcdynctrl -cv
Listing available controls for device video0:
Focus, Auto
ID : 0x00000013,
Type : Boolean,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 70 .. 2875, step size: 187 ],
Default : 1
Focus (absolute)
ID : 0x00000014,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 70 .. 2875, step size: 187 ],
Default : 70
Exposure (Absolute)
ID : 0x00000011,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 100 .. 2400, step size: 100 ],
Default : 300
Exposure, Auto
ID : 0x0000000f,
Type : Choice,
Flags : { CAN_READ, CAN_WRITE },
Values : { 'Manual Mode'[0], 'Auto Mode'[1], 'Shutter Priority
Mode'[2], 'Aperture Priority Mode'[3] },
Default : 3
Backlight Compensation
ID : 0x0000000c,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 1, step size: 1 ],
Default : 0
Sharpness
ID : 0x00000007,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 9, step size: 1 ],
Default : 0
White Balance Temperature
ID : 0x00000008,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 2800 .. 6500, step size: 1850 ],
Default : 6500
Power Line Frequency
ID : 0x0000000d,
Type : Choice,
Flags : { CAN_READ, CAN_WRITE },
Values : { 'Disabled'[0], '50 Hz'[1], '60 Hz'[2] },
Default : 2
Gamma
ID : 0x00000006,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 25 .. 125, step size: 25 ],
Default : 50
White Balance Temperature, Auto
ID : 0x00000009,
Type : Boolean,
Flags : { CAN_READ, CAN_WRITE },
Values : [ -30 .. 30, step size: 1 ],
Default : 1
Hue
ID : 0x00000005,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ -30 .. 30, step size: 1 ],
Default : 0
Saturation
ID : 0x00000004,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 19, step size: 1 ],
Default : 5
Contrast
ID : 0x00000002,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 3, step size: 1 ],
Default : 1
Brightness
ID : 0x00000001,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 31, step size: 1 ],
Default : 0
$ uvcdynctrl -g 'Exposure, Auto'
3
$ uvcdynctrl -s 'Exposure, Auto' -- 0
$ uvcdynctrl -g 'Exposure, Auto'
0
$ uvcdynctrl -g 'Exposure (Absolute)'
1500
/usr/local/bin/luvcview -i 30 -f yuv
There I get 10~15fps
The weird thing is I *must* follow this order to be able to set
'Exposure (Absolute)' and 'Focus (absolute)':
1- get the Auto value,
2- set the auto value,
3- get the absolute value
4- set the absolute value
or I get this error:
$ uvcdynctrl -s 'Exposure (Absolute)' 2400
ERROR: Unable to set new control value: A Video4Linux2 API call returned
an unexpected error 5. (Code: 12)
This works:
$ uvcdynctrl -g 'Exposure, Auto'
0
$ uvcdynctrl -s 'Exposure, Auto' -- 0
$ uvcdynctrl -g 'Exposure (Absolute)'
300
$ uvcdynctrl -s 'Exposure (Absolute)' 100
$ uvcdynctrl -g 'Exposure (Absolute)'
100
This works too:
$ uvcdynctrl -g 'Focus, Auto'
0
$ uvcdynctrl -s 'Focus, Auto' 0
$ uvcdynctrl -g 'Focus (absolute)'
1566
$ uvcdynctrl -s 'Focus (absolute)' 70
$ uvcdynctrl -g 'Focus (absolute)'
70
But what ever I tried, I'm not able to have 30fps :(
It seems if there is more light in the room, the fps increase a bit.
Regards,
Yannick
Le vendredi 25 avril 2008 à 16:45 +0200, yannick a écrit :
> Hi,
>
> I lately buy the creative live! cam optia AF. Despite all my efforts I
> can't get more than 5~10 fps (usualy 5).
>
> I compiled latest uvc driver trunk and latest luvcview trunk too.
>
> It seems, after some searchs, if I could turn off autoexposure i'll get
> more fps but this doesn't work using luvcview :(
>
> /usr/local/bin/luvcview -i 30
> luvcview 0.2.4
>
> SDL information:
> Video driver: x11
> A window manager is available
> Device information:
> Device path: /dev/video0
> Stream settings:
> Frame format: MJPG
> Frame size: 640x480
> Frame rate: 30 fps
> Set Auto Exposure off error
> Cleanup done. Exiting ...
>
> I'm a regular tester for the VoIP software Ekiga and I contribute
> writing the software documentation (including this page:
> http://wiki.ekiga.org/index.php/Tested_hardware ). In our latest trunk
> we have code to use webcams at 30fps using the H.264 video codec.
>
> We also had people with disabilities hoping some VoIP software able to
> do 30fps with nice resolution (seems 320x240 will be ok, but our Ekiga
> trunk can do 640x480, or even more) to do speech recognition (lips
> reading).
>
> For all the reasons above, i'm looking for a solution to get 30 fps with
> this webcam.
>
> Thank you for paying attention,
> Best regards,
> Yannick
--
Me joindre en téléphonie IP / vidéoconférence ?
sip:[EMAIL PROTECTED]
Logiciel de VoIP Ekiga : http://www.ekiga.org
http://wiki.ekiga.org/index.php/Which_programs_work_with_Ekiga_%3F
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel