| Newsgroups |
gmane.comp.multimedia.gphoto.devel |
| Message-ID |
<DB9P193MB1450CAF71B587ADAB51163779F0E2@DB9P193MB1450.EURP193.PROD.OUTLOOK.COM> |
--===============5668631464789275830==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_DB9P193MB1450CAF71B587ADAB51163779F0E2DB9P193MB1450EURP_"
--_000_DB9P193MB1450CAF71B587ADAB51163779F0E2DB9P193MB1450EURP_
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
Hello,
Are you using ISO Auto mode? In such case, you cannot read the current ISO =
value on A7M3 with PTP ISO property D21E: getting this property will just r=
eturn =1B$B!H=1B(BISO Auto=1B$B!I=1B(B value (0x00FFFFFF). This can only be=
done on more recent cameras using PTP V3 protocol by using PTP property 0x=
D023
Alpha 7M3 is not supported neither by Sony Camera remote SDK.
Best regards,
Jerome Avenel
From: xuxutujin <[email protected]>
Sent: Thursday, December 26, 2024 4:15 PM
To: gphoto-devel <[email protected]>
Subject: [gphoto-devel] =1B$B!Z=1B(BHelp=1B$B![=1B(BAbout get avaliable iso=
, shutterspeed, iris value by gphoto2
Dear friends: I am a photography enthusiast and C++ developer. I encountere=
d some issues while using gphoto2 to connect to a Sony A7M3 camera and retr=
ieve settings for ISO, iris, and shutter speed. When I use gphoto2 --get-co=
nfig /main/imgsettings/iso
Dear friends:
I am a photography enthusiast and C++ developer. I encountered some is=
sues while using gphoto2 to connect to a Sony A7M3 camera and retrieve sett=
ings for ISO, iris, and shutter speed. When I use gphoto2 --get-config /mai=
n/imgsettings/iso to get the ISO, it returns a very wide range, but what I =
need is the current effective value. In comparison, the Sony Camera Remote =
SDK provides methods to obtain the current value, the current valid range, =
and all supported ranges. Could you please advise if gphoto2 offers any com=
mands or interfaces that can similarly retrieve these different ranges as p=
rovided by the Sony SDK? We need your helps in urgent!
My code list:
cmd : gphoto2 --get-config /main/imgsettings/iso
code :
gp_camera_get_config(camera, &config, context);
gp_widget_get_child_by_name(config, "iso", &widget);
int count =3D gp_widget_count_choices(widget);
std:map<int, const char*> isoMaps;
for (int i =3D 0; i < count; i++) {
gp_widget_get_choice(widget, i, &isoMaps[i]);
}
--_000_DB9P193MB1450CAF71B587ADAB51163779F0E2DB9P193MB1450EURP_
Content-Type: text/html; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-2022-=
jp">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:KaiTi;}
@font-face
{font-family:"\@KaiTi";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-GB" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Hello, <o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Are you u=
sing ISO Auto mode? In such case, you cannot read the current ISO value on =
A7M3 with PTP ISO property D21E: getting this property will just return =1B=
$B!H=1B(BISO Auto=1B$B!I=1B(B value (0x00FFFFFF). This can
only be done on more recent cameras using PTP V3 protocol by using PTP pro=
perty 0xD023<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Alpha 7M3=
is not supported neither by Sony Camera remote SDK.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Best regards,<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;color:#1F497D"><o=
:p> </o:p></span></b></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:9.0pt;font-family:"=
Arial",sans-serif">Jerome Avenel</span></b><span style=3D"font-size:9.=
0pt;font-family:"Arial",sans-serif"><br>
<br>
</span><span style=3D"font-size:7.5pt"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:ZH-CN">From:</span></b><span lang=3D"EN-US" style=3D"mso-fareast-language=
:ZH-CN"> xuxutujin <[email protected]>
<br>
<b>Sent:</b> Thursday, December 26, 2024 4:15 PM<br>
<b>To:</b> gphoto-devel <[email protected]><br>
<b>Subject:</b> [gphoto-devel] </span><span lang=3D"ZH-CN" style=3D"font-fa=
mily:SimSun;mso-fareast-language:ZH-CN">=1B$B!Z=1B(B</span><span lang=3D"EN=
-US" style=3D"mso-fareast-language:ZH-CN">Help</span><span lang=3D"ZH-CN" s=
tyle=3D"font-family:SimSun;mso-fareast-language:ZH-CN">=1B$B![=1B(B</span><=
span lang=3D"EN-US" style=3D"mso-fareast-language:ZH-CN">About
get avaliable iso, shutterspeed, iris value by gphoto2<o:p></o:p></span></=
p>
</div>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-line-height-alt:.75pt"><span style=3D"f=
ont-size:1.0pt;color:white">Dear friends: I am a photography enthusiast and=
C++ developer. I encountered some issues while using gphoto2 to connect to=
a Sony A7M3 camera and retrieve settings
for ISO, iris, and shutter speed. When I use gphoto2 --get-config /main/im=
gsettings/iso<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-line-height-alt:.75pt"><span style=3D"f=
ont-size:1.0pt;color:white"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:KaiTi">D=
ear friends:</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:KaiTi">&=
nbsp; I am a photography enthusiast and C++ developer. I encou=
ntered some issues while using gphoto2 to connect to a Sony A7M3 camera and=
retrieve settings for ISO, iris, and shutter speed.
When I use gphoto2 --get-config /main/imgsettings/iso to get the ISO, it r=
eturns a very wide range, but what I need is the current effective value. I=
n comparison, the Sony Camera Remote SDK provides methods to obtain the cur=
rent value, the current valid range,
and all supported ranges. Could you please advise if gphoto2 offers any co=
mmands or interfaces that can similarly retrieve these different ranges as =
provided by the Sony SDK? We need your helps in urgent!</span><o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:KaiTi">&=
nbsp; My code list:</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:KaiTi">&=
nbsp; cmd : gphoto2 --get-config
</span><span style=3D"font-size:18.0pt;font-family:KaiTi">/main/imgsettings=
/iso</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; code :</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; gp_camera_get_config(=
camera, &config, context);</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; gp_widget_get_child_b=
y_name(config, "iso", &widget);</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; int count =3D gp_widg=
et_count_choices(widget);</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; </span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; std:map<int, const=
char*> isoMaps;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; for (int i =3D 0; i &=
lt; count; i++) {</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; gp_wid=
get_get_choice(widget, i, &isoMaps[i]);</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:18.0pt;font-family:KaiTi">&=
nbsp; }</span><o:p></o:p></=
p>
</div>
</div>
</div>
</body>
</html>
--_000_DB9P193MB1450CAF71B587ADAB51163779F0E2DB9P193MB1450EURP_--
--===============5668631464789275830==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============5668631464789275830==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Gphoto-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
--===============5668631464789275830==--