Active Topics

 



Notices


Reply
Thread Tools
Posts: 148 | Thanked: 92 times | Joined on Oct 2009
#21
This is a really excellent script. I've been meaning to develop something like this for a while. I would suggest adding an autofocus function for the video mode, which doesn't refocus while recording. Hopefully this can be put in extras devel soon so people can easily get updates..
 

The Following User Says Thank You to dmj726 For This Useful Post:
Posts: 1 | Thanked: 1 time | Joined on Mar 2010
#22
Thanks...........................
 

The Following User Says Thank You to 4matxauxi For This Useful Post:
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#23
Originally Posted by dmj726 View Post
This is a really excellent script. I've been meaning to develop something like this for a while. I would suggest adding an autofocus function for the video mode, which doesn't refocus while recording. Hopefully this can be put in extras devel soon so people can easily get updates..
if you mean remove the sudden focus effect that happens sometimes when you start focusing for the first time, then I'm working on it already
 

The Following User Says Thank You to m2cm2c For This Useful Post:
Posts: 32 | Thanked: 1 time | Joined on Jan 2010
#24
I think he means add a button so the camera will auto focus automatically, like it does when you start filming the video at the beginning.
 
Posts: 148 | Thanked: 92 times | Joined on Oct 2009
#25
Yes, I would like a toggle to make the camera focus manually while the camera is recording, not just during the half press of the camera button.
 
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#26
Originally Posted by dmj726 View Post
Yes, I would like a toggle to make the camera focus manually while the camera is recording, not just during the half press of the camera button.
I don't think that is possible with the v4lc-ctl right now
 
Posts: 148 | Thanked: 92 times | Joined on Oct 2009
#27
Is there any documentation for this v4l2-ctl command line program? I see an autofocus ioctl in the v4l2 spec, but get "unknown control 'focus_auto'" when I try to use it to set autofocus.

Last edited by dmj726; 2010-03-05 at 07:04.
 
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#28
Originally Posted by dmj726 View Post
Is there any documentation for this v4l2-ctl command line program? I see an autofocus ioctl in the v4l2 spec, but get "unknown control 'focus_auto'" when I try to use it to set autofocus.
these are the available controls from the v4l2-ctl for the N900 camera right now.

./v4l2-ctl -L
brightness (int) : min=0 max=255 step=1 default=0 value=0
contrast (int) : min=0 max=255 step=1 default=16 value=16
exposure_time_us (int) : min=38 max=39976 step=38 default=39976 value=33333 flags=slider
gain_0_1_ev (int) : min=0 max=40 step=1 default=0 value=30 flags=slider
color_effects (menu) : min=0 max=2 default=0 value=0
0: None
1: B&W
2: Sepia
focus_absolute (int) : min=0 max=1023 step=1 default=0 value=59
error 22 getting ext_ctrl Flash strobe
flash_timeout_us (int) : min=1000 max=500000 step=54600 default=500000 value=500000 flags=slider
flash_intensity (int) : min=12 max=19 step=1 default=12 value=12 flags=slider
torch_intensity (int) : min=0 max=1 step=1 default=0 value=0 flags=slider
indicator_intensity (int) : min=0 max=7 step=1 default=0 value=0 flags=slider
test_pattern_mode (menu) : min=0 max=8 default=0 value=0
0: Normal
1: Vertical colorbar
2: Horizontal colorbar
3: Scale
4: Ramp
5: Small vertical colorbar
6: Small horizontal colorbar
7: Small scale
8: Small ramp
focus_ramping_time_us (int) : min=0 max=3200 step=50 default=0 value=0
focus_ramping_mode (menu) : min=0 max=1 default=0 value=0
0: Linear ramp
1: 64/16 ramp
short_circuit_fault (bool) : default=0 value=0 flags=read-only
overtemperature_fault (bool) : default=0 value=0 flags=read-only
timeout_fault (bool) : default=0 value=0 flags=read-only
overvoltage_fault (bool) : default=0 value=0 flags=read-only
frame_width (int) : min=0 max=0 step=0 default=0 value=3192 flags=read-only
frame_height (int) : min=0 max=0 step=0 default=0 value=1056 flags=read-only
visible_width (int) : min=0 max=0 step=0 default=0 value=1296 flags=read-only
visible_height (int) : min=0 max=0 step=0 default=0 value=984 flags=read-only
pixel_clock_hz (int) : min=0 max=0 step=0 default=0 value=84266667 flags=read-only
sensitivity (int) : min=0 max=0 step=0 default=0 value=65536 flags=read-only

Last edited by m2cm2c; 2010-03-05 at 07:21.
 
Posts: 148 | Thanked: 92 times | Joined on Oct 2009
#29
What's the origin of the v4l2-ctl binary here?
 
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#30
 
Reply

Tags
lfocus


 
Forum Jump


All times are GMT. The time now is 15:49.