Discussion:
[linux-uvc-devel] Question regarding changing settings for a UVC camera
David Aliaga
2014-11-28 00:32:43 UTC
Permalink
Dear Sirs.
This is my first message. I would really appreciate your help.

I have a similar problem as the one posted on

http://sourceforge.net/p/linux-uvc/mailman/message/29831756/

or

http://sourceforge.net/p/linux-uvc/mailman/message/29866952/

That is, I have a UVC compliant camera, connected to a Devian linux system.

I used uvcdynctrl and also my own program using V4L2 to change the settings (in particular the Exposure settings) of a UVC camera.
I set it to manual and change the exposure values (tried very underexposed and very overexposed)

However after setting these values (and checking that they are set) I took a pic using cheese, luvcview and my own program.
The image does not change. (they must be underexposed and overexposed)

In the threads I indicated above, there is no solution to this problem.

Does anybody know how can I solve this issue.

Thanks a lot for any help. Very much appreciated

P.S> When I tried luvcview, the image appear unchanged but if I change the exposure using >that< application, it changes to correctly overexposed or underexposed.
Paulo Assis
2014-11-28 09:30:34 UTC
Permalink
Hi,

could you post the output of

guvcview --verbose (for versions < 2.0.0)

or

guvcview --verbosity=2 (for versions >= 2.0.0)

Regards,
Paulo
Post by David Aliaga
Dear Sirs.
This is my first message. I would really appreciate your help.
I have a similar problem as the one posted on
http://sourceforge.net/p/linux-uvc/mailman/message/29831756/
or
http://sourceforge.net/p/linux-uvc/mailman/message/29866952/
That is, I have a UVC compliant camera, connected to a Devian linux system.
I used uvcdynctrl and also my own program using V4L2 to change the settings
(in particular the Exposure settings) of a UVC camera.
I set it to manual and change the exposure values (tried very underexposed
and very overexposed)
However after setting these values (and checking that they are set) I took a
pic using cheese, luvcview and my own program.
The image does not change. (they must be underexposed and overexposed)
In the threads I indicated above, there is no solution to this problem.
Does anybody know how can I solve this issue.
Thanks a lot for any help. Very much appreciated
P.S> When I tried luvcview, the image appear unchanged but if I change the
exposure using >that< application, it changes to correctly overexposed or
underexposed.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
David Aliaga
2014-12-01 02:38:14 UTC
Permalink
Thanks for your reply
the output of guvcview? alright

Any idea on how can I correct this problem?

Thanks a lot

------
***@host:~$guvcview --verbose
guvcview 1.5.3
video_device: /dev/video0
vid_sleep: 0
cap_meth: 1
resolution: 640 x 480
windowsize: 800 x 520
vert pane: 398
spin behavior: 0
default action: 0
mode: yuyv
fps: 1/15
Display Fps: 0
bpp: 32
hwaccel: 0
avi_format: 0
sound: 1
sound Device: 0
sound samp rate: 0
sound Channels: 0
Sound delay: 0 nanosec
Sound Format: 80
Pan Step: 2 degrees
Tilt Step: 2 degrees
Video Filter Flags: 0
image inc: 0
profile(default):/home/atmark/default.gpfl
starting portaudio...
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'AC97
2ch->4ch Copy Switch',0,0,0): そのようなファイルやディレクトリはありません(can't
find the file or directory)
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'AC97
2ch->4ch Copy Switch',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958
Playback PCM Stream',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958
Playback PCM Stream',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958
Playback PCM Stream',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only
playback stream
Cannot connect to server socket err = そのようなファイルやディレクトリはありません
Cannot connect to server request channel
jack server is not running or cannot be started
language catalog=> dir:/usr/share/locale type:؆� �S!� lang:ja_JP.UTF-8
cat:guvcview.mo
Screen resolution is (1228 x 610)
yuyv: setting format to 1448695129
capture method = 1
video device: /dev/video0
Device Node Path: /dev/video0
VID/PID: 04f2 a003
USB Camera
USB Camera
serial: 20110328
Device Node Path: /dev/video1
VID/PID: 2084 0d03
Etron Technology, Inc.
BUFFALO BSW32KM03 USB PC Camera
serial: (null)
Init. USB Camera (location: usb-0000:02:03.0-1)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/10,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/10,
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/10,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
vid:04f2
pid:a003
driver:uvcvideo
checking format: 1448695129
fps is set to 1/15
drawing controls

control[0]: 0x980900 Brightness, 0:255:1, default 128 , current 128
control[0]: 0x980901 Contrast, 0:255:1, default 32 , current 32
control[0]: 0x980902 Saturation, 0:255:1, default 32 , current 35
control[0]: 0x980903 Hue, -45:45:1, default 0 , current 0
control[0]: 0x98090c White Balance Temperature, Auto, 0:1:1, default 1 ,
current 1
control[0]: 0x980910 Gamma, 90:150:1, default 120 , current 120
control[0]: 0x980913 Gain, 0:82:1, default 0 , current 8
control[0]: 0x980918 Power Line Frequency, 0:2:1, default 1 , current 1
adding menu entry 0: 0, Disabled
adding menu entry 1: 1, 50 Hz
adding menu entry 2: 2, 60 Hz
control[0]: 0x98091a White Balance Temperature, 2800:6500:1, default 4650 ,
current 4650
control[0]: 0x98091b Sharpness, 0:255:1, default 32 , current 32
control[0]: 0x98091c Backlight Compensation, 16:200:1, default 164 ,
current 164
control[0]: 0x9a0901 Exposure, Auto, 0:3:1, default 3 , current 1
adding menu entry 0: 1, Manual Mode
adding menu entry 1: 3, Aperture Priority Mode
control[0]: 0x9a0902 Exposure (Absolute), 78:5000:1, default 80 , current
4974
control[0]: 0x9a0908 Pan (Absolute), -144000:144000:1, default 0 , current
0
control[0]: 0x9a0909 Tilt (Absolute), -108000:108000:1, default 0 , current
0
resolutions of format(1) = 6
frame rates of 1º resolution=1
fps is set to 1/15
Def. Res: 0 numb. fps:1
--------------------------------------- device #0
Name = Ensoniq AudioPCI: ES1371 DAC2/ADC (hw:0,0)
Host API = ALSA
Max inputs = 2, Max outputs = 2
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44099.81
--------------------------------------- device #1
Name = Ensoniq AudioPCI: ES1371 DAC1 (hw:0,1)
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.012
Def. high input latency = -1.000
Def. high output latency = 0.046
Def. sample rate = 44100.95
--------------------------------------- device #2
Name = BUFFALO BSW32KM03 USB PC Camera: USB Audio
(hw:1,0)
Host API = ALSA
Max inputs = 1, Max outputs = 0
Def. low input latency = 0.016
Def. low output latency = -1.000
Def. high input latency = 0.064
Def. high output latency = -1.000
Def. sample rate = 32000.00
--------------------------------------- device #3
Name = sysdefault
Host API = ALSA
Max inputs = 128, Max outputs = 128
Def. low input latency = 0.043
Def. low output latency = 0.043
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
--------------------------------------- device #4
Name = front
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.012
Def. high input latency = -1.000
Def. high output latency = 0.046
Def. sample rate = 44100.95
--------------------------------------- device #5
Name = pulse
Host API = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
--------------------------------------- device #6
Name = dmix
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.043
Def. high input latency = -1.000
Def. high output latency = 0.043
Def. sample rate = 48000.00
--------------------------------------- device #7
[ Default Input, Default Output ]
Name = default
Host API = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
----------------------------------------------
SampleRate:0 Channels:0
Video driver: x11
A window manager is available
(Desktop resolution = 1228x610)
Checking video mode ***@32bpp : OK
Could not grab image (select timeout): リソースが一時的に利用できません
Shuting Down Thread
Could not grab image (select timeout): リソースが一時的に利用できません
Could not grab image (select timeout): リソースが一時的に利用できません
Thread terminated...
cleaning Thread allocations: 100%
Video thread completed
Video Thread finished
write /home/user/.guvcviewrc OK
free audio mutex
closed v4l2 strutures
free controls
free controls - vidState
cleaned allocations - 100%
Closing portaudio ...OK
Closing GTK... OK
***@host:~$

-----Original Message-----
From: Paulo Assis
Sent: Friday, November 28, 2014 6:30 PM
To: David Aliaga
Cc: linux-uvc-***@lists.sourceforge.net
Subject: Re: [linux-uvc-devel] Question regarding changing settings for a
UVC camera

Hi,

could you post the output of

guvcview --verbose (for versions < 2.0.0)

or

guvcview --verbosity=2 (for versions >= 2.0.0)

Regards,
Paulo
Post by David Aliaga
Dear Sirs.
This is my first message. I would really appreciate your help.
I have a similar problem as the one posted on
http://sourceforge.net/p/linux-uvc/mailman/message/29831756/
or
http://sourceforge.net/p/linux-uvc/mailman/message/29866952/
That is, I have a UVC compliant camera, connected to a Devian linux system.
I used uvcdynctrl and also my own program using V4L2 to change the settings
(in particular the Exposure settings) of a UVC camera.
I set it to manual and change the exposure values (tried very underexposed
and very overexposed)
However after setting these values (and checking that they are set) I took a
pic using cheese, luvcview and my own program.
The image does not change. (they must be underexposed and overexposed)
In the threads I indicated above, there is no solution to this problem.
Does anybody know how can I solve this issue.
Thanks a lot for any help. Very much appreciated
P.S> When I tried luvcview, the image appear unchanged but if I change the
exposure using >that< application, it changes to correctly overexposed or
underexposed.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
Paulo Assis
2014-12-01 09:34:10 UTC
Permalink
Hi,

If you set 'Exposure, Auto' to Manual Mode can you control the
exposure value with 'Exposure (Absolute)' control in guvcview ? do you
see any difference in the picture ?

Regards,
Paulo
Post by David Aliaga
Thanks for your reply
the output of guvcview? alright
Any idea on how can I correct this problem?
Thanks a lot
------
guvcview 1.5.3
video_device: /dev/video0
vid_sleep: 0
cap_meth: 1
resolution: 640 x 480
windowsize: 800 x 520
vert pane: 398
spin behavior: 0
default action: 0
mode: yuyv
fps: 1/15
Display Fps: 0
bpp: 32
hwaccel: 0
avi_format: 0
sound: 1
sound Device: 0
sound samp rate: 0
sound Channels: 0
Sound delay: 0 nanosec
Sound Format: 80
Pan Step: 2 degrees
Tilt Step: 2 degrees
Video Filter Flags: 0
image inc: 0
profile(default):/home/atmark/default.gpfl
starting portaudio...
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'AC97
2ch->4ch Copy Switch',0,0,0): そのようなファイルやディレクトリはありません(can't find the file or
directory)
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'AC97
2ch->4ch Copy Switch',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.ENS1371.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned
error: そのようなファイルやディレクトリはありません
そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958
Playback PCM Stream',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958
Playback PCM Stream',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (PCM,'IEC958
Playback PCM Stream',0,0,0): そのようなファイルやディレクトリはありません
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only
playback stream
Cannot connect to server socket err = そのようなファイルやディレクトリはありません
Cannot connect to server request channel
jack server is not running or cannot be started
language catalog=> dir:/usr/share/locale type:؆� �S!� lang:ja_JP.UTF-8
cat:guvcview.mo
Screen resolution is (1228 x 610)
yuyv: setting format to 1448695129
capture method = 1
video device: /dev/video0
Device Node Path: /dev/video0
VID/PID: 04f2 a003
USB Camera
USB Camera
serial: 20110328
Device Node Path: /dev/video1
VID/PID: 2084 0d03
Etron Technology, Inc.
BUFFALO BSW32KM03 USB PC Camera
serial: (null)
Init. USB Camera (location: usb-0000:02:03.0-1)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/10,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/10,
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/10,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/15,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/15,
{ discrete: width = 1024, height = 768 }
Time interval between frame: 1/15,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 1/15,
{ discrete: width = 2592, height = 1944 }
Time interval between frame: 1/5,
{ discrete: width = 1280, height = 720 }
Time interval between frame: 1/40,
vid:04f2
pid:a003
driver:uvcvideo
checking format: 1448695129
fps is set to 1/15
drawing controls
control[0]: 0x980900 Brightness, 0:255:1, default 128 , current 128
control[0]: 0x980901 Contrast, 0:255:1, default 32 , current 32
control[0]: 0x980902 Saturation, 0:255:1, default 32 , current 35
control[0]: 0x980903 Hue, -45:45:1, default 0 , current 0
control[0]: 0x98090c White Balance Temperature, Auto, 0:1:1, default 1 ,
current 1
control[0]: 0x980910 Gamma, 90:150:1, default 120 , current 120
control[0]: 0x980913 Gain, 0:82:1, default 0 , current 8
control[0]: 0x980918 Power Line Frequency, 0:2:1, default 1 , current 1
adding menu entry 0: 0, Disabled
adding menu entry 1: 1, 50 Hz
adding menu entry 2: 2, 60 Hz
control[0]: 0x98091a White Balance Temperature, 2800:6500:1, default 4650 ,
current 4650
control[0]: 0x98091b Sharpness, 0:255:1, default 32 , current 32
control[0]: 0x98091c Backlight Compensation, 16:200:1, default 164 ,
current 164
control[0]: 0x9a0901 Exposure, Auto, 0:3:1, default 3 , current 1
adding menu entry 0: 1, Manual Mode
adding menu entry 1: 3, Aperture Priority Mode
control[0]: 0x9a0902 Exposure (Absolute), 78:5000:1, default 80 , current
4974
control[0]: 0x9a0908 Pan (Absolute), -144000:144000:1, default 0 , current
0
control[0]: 0x9a0909 Tilt (Absolute), -108000:108000:1, default 0 , current
0
resolutions of format(1) = 6
frame rates of 1º resolution=1
fps is set to 1/15
Def. Res: 0 numb. fps:1
--------------------------------------- device #0
Name = Ensoniq AudioPCI: ES1371 DAC2/ADC (hw:0,0)
Host API = ALSA
Max inputs = 2, Max outputs = 2
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44099.81
--------------------------------------- device #1
Name = Ensoniq AudioPCI: ES1371 DAC1 (hw:0,1)
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.012
Def. high input latency = -1.000
Def. high output latency = 0.046
Def. sample rate = 44100.95
--------------------------------------- device #2
Name = BUFFALO BSW32KM03 USB PC Camera: USB Audio
(hw:1,0)
Host API = ALSA
Max inputs = 1, Max outputs = 0
Def. low input latency = 0.016
Def. low output latency = -1.000
Def. high input latency = 0.064
Def. high output latency = -1.000
Def. sample rate = 32000.00
--------------------------------------- device #3
Name = sysdefault
Host API = ALSA
Max inputs = 128, Max outputs = 128
Def. low input latency = 0.043
Def. low output latency = 0.043
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
--------------------------------------- device #4
Name = front
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.012
Def. high input latency = -1.000
Def. high output latency = 0.046
Def. sample rate = 44100.95
--------------------------------------- device #5
Name = pulse
Host API = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
--------------------------------------- device #6
Name = dmix
Host API = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency = -1.000
Def. low output latency = 0.043
Def. high input latency = -1.000
Def. high output latency = 0.043
Def. sample rate = 48000.00
--------------------------------------- device #7
[ Default Input, Default Output ]
Name = default
Host API = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency = 0.012
Def. low output latency = 0.012
Def. high input latency = 0.046
Def. high output latency = 0.046
Def. sample rate = 44100.00
----------------------------------------------
SampleRate:0 Channels:0
Video driver: x11
A window manager is available
(Desktop resolution = 1228x610)
Could not grab image (select timeout): リソースが一時的に利用できません
Shuting Down Thread
Could not grab image (select timeout): リソースが一時的に利用できません
Could not grab image (select timeout): リソースが一時的に利用できません
Thread terminated...
cleaning Thread allocations: 100%
Video thread completed
Video Thread finished
write /home/user/.guvcviewrc OK
free audio mutex
closed v4l2 strutures
free controls
free controls - vidState
cleaned allocations - 100%
Closing portaudio ...OK
Closing GTK... OK
-----Original Message----- From: Paulo Assis
Sent: Friday, November 28, 2014 6:30 PM
To: David Aliaga
Subject: Re: [linux-uvc-devel] Question regarding changing settings for a
UVC camera
Hi,
could you post the output of
guvcview --verbose (for versions < 2.0.0)
or
guvcview --verbosity=2 (for versions >= 2.0.0)
Regards,
Paulo
Post by David Aliaga
Dear Sirs.
This is my first message. I would really appreciate your help.
I have a similar problem as the one posted on
http://sourceforge.net/p/linux-uvc/mailman/message/29831756/
or
http://sourceforge.net/p/linux-uvc/mailman/message/29866952/
That is, I have a UVC compliant camera, connected to a Devian linux system.
I used uvcdynctrl and also my own program using V4L2 to change the settings
(in particular the Exposure settings) of a UVC camera.
I set it to manual and change the exposure values (tried very underexposed
and very overexposed)
However after setting these values (and checking that they are set) I took a
pic using cheese, luvcview and my own program.
The image does not change. (they must be underexposed and overexposed)
In the threads I indicated above, there is no solution to this problem.
Does anybody know how can I solve this issue.
Thanks a lot for any help. Very much appreciated
P.S> When I tried luvcview, the image appear unchanged but if I change the
exposure using >that< application, it changes to correctly overexposed or
underexposed.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
David Aliaga
2014-12-02 00:23:03 UTC
Permalink
Thanks for your reply.
Actually, for some reason guvcview is a bit buggy in my system but yes, I
can see some difference.
Also, using luvcview, if I change the exposure manually I can see some
difference. But not just after starting those programs. The first image
doesn't reflect the settings.

Actually something interesting happened to me yesterday

I tried changing my code (that uses V4L2) so that it can solve my problem

Originally I set the exposure and took some photos, but as I said the photos
didn’t reflect the settings

So I tried changing the settings EVERY time, after I took a photo. And it
worked!

However the exposure is only reflected after taking three photos . In other
words if I change the settings now, I have to change them and take a photo
again three times before I can see the original change.

I wonder why this is?

Thanks a lot for all the help

-----Original Message-----
From: Paulo Assis
Sent: Monday, December 01, 2014 6:34 PM
To: David Aliaga
Cc: linux-uvc-***@lists.sourceforge.net
Subject: Re: [linux-uvc-devel] Question regarding changing settings for a
UVC camera

Hi,

If you set 'Exposure, Auto' to Manual Mode can you control the
exposure value with 'Exposure (Absolute)' control in guvcview ? do you
see any difference in the picture ?

Regards,
Paulo
Post by David Aliaga
Thanks for your reply
the output of guvcview? alright
Any idea on how can I correct this problem?
Thanks a lot
-----Original Message----- From: Paulo Assis
Sent: Friday, November 28, 2014 6:30 PM
To: David Aliaga
Subject: Re: [linux-uvc-devel] Question regarding changing settings for a
UVC camera
Hi,
could you post the output of
guvcview --verbose (for versions < 2.0.0)
or
guvcview --verbosity=2 (for versions >= 2.0.0)
Regards,
Paulo
2014-11-28 0:32 GMT+00:00 David Aliaga
Post by David Aliaga
Dear Sirs.
This is my first message. I would really appreciate your help.
I have a similar problem as the one posted on
http://sourceforge.net/p/linux-uvc/mailman/message/29831756/
or
http://sourceforge.net/p/linux-uvc/mailman/message/29866952/
That is, I have a UVC compliant camera, connected to a Devian linux system.
I used uvcdynctrl and also my own program using V4L2 to change the settings
(in particular the Exposure settings) of a UVC camera.
I set it to manual and change the exposure values (tried very
underexposed
and very overexposed)
However after setting these values (and checking that they are set) I
took
a
pic using cheese, luvcview and my own program.
The image does not change. (they must be underexposed and overexposed)
In the threads I indicated above, there is no solution to this problem.
Does anybody know how can I solve this issue.
Thanks a lot for any help. Very much appreciated
P.S> When I tried luvcview, the image appear unchanged but if I change the
exposure using >that< application, it changes to correctly overexposed or
underexposed.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
Paulo Assis
2014-12-02 09:21:42 UTC
Permalink
Hi,

In the case of Auto Exposure, it makes some sense that it takes some
time to calculate the best settings, but in the case of manual
exposure, I can't see why the camera would need that much time to set
the proper value.

Regards,
Paulo
Post by David Aliaga
Thanks for your reply.
Actually, for some reason guvcview is a bit buggy in my system but yes, I
can see some difference.
Also, using luvcview, if I change the exposure manually I can see some
difference. But not just after starting those programs. The first image
doesn't reflect the settings.
Actually something interesting happened to me yesterday
I tried changing my code (that uses V4L2) so that it can solve my problem
Originally I set the exposure and took some photos, but as I said the photos
didn’t reflect the settings
So I tried changing the settings EVERY time, after I took a photo. And it
worked!
However the exposure is only reflected after taking three photos . In other
words if I change the settings now, I have to change them and take a photo
again three times before I can see the original change.
I wonder why this is?
Thanks a lot for all the help
-----Original Message----- From: Paulo Assis
Sent: Monday, December 01, 2014 6:34 PM
To: David Aliaga
Subject: Re: [linux-uvc-devel] Question regarding changing settings for a
UVC camera
Hi,
If you set 'Exposure, Auto' to Manual Mode can you control the
exposure value with 'Exposure (Absolute)' control in guvcview ? do you
see any difference in the picture ?
Regards,
Paulo
Post by David Aliaga
Thanks for your reply
the output of guvcview? alright
Any idea on how can I correct this problem?
Thanks a lot
-----Original Message----- From: Paulo Assis
Sent: Friday, November 28, 2014 6:30 PM
To: David Aliaga
Subject: Re: [linux-uvc-devel] Question regarding changing settings for a
UVC camera
Hi,
could you post the output of
guvcview --verbose (for versions < 2.0.0)
or
guvcview --verbosity=2 (for versions >= 2.0.0)
Regards,
Paulo
2014-11-28 0:32 GMT+00:00 David Aliaga
Post by David Aliaga
Dear Sirs.
This is my first message. I would really appreciate your help.
I have a similar problem as the one posted on
http://sourceforge.net/p/linux-uvc/mailman/message/29831756/
or
http://sourceforge.net/p/linux-uvc/mailman/message/29866952/
That is, I have a UVC compliant camera, connected to a Devian linux system.
I used uvcdynctrl and also my own program using V4L2 to change the settings
(in particular the Exposure settings) of a UVC camera.
I set it to manual and change the exposure values (tried very underexposed
and very overexposed)
However after setting these values (and checking that they are set) I
took
a
pic using cheese, luvcview and my own program.
The image does not change. (they must be underexposed and overexposed)
In the threads I indicated above, there is no solution to this problem.
Does anybody know how can I solve this issue.
Thanks a lot for any help. Very much appreciated
P.S> When I tried luvcview, the image appear unchanged but if I change the
exposure using >that< application, it changes to correctly overexposed or
underexposed.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
Loading...