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 
return “ISO Auto” value (0x00FFFFFF). This can only be done on more recent 
cameras using PTP V3 protocol by using PTP property 0xD023
Alpha 7M3 is not supported neither by Sony Camera remote SDK.


Best regards,

Jerome Avenel



From: xuxutujin <xuxutu...@foxmail.com>
Sent: Thursday, December 26, 2024 4:15 PM
To: gphoto-devel <gphoto-devel@lists.sourceforge.net>
Subject: [gphoto-devel] 【Help】About get avaliable iso, shutterspeed, iris value 
by gphoto2

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/imgsettings/iso

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/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 commands or 
interfaces that can similarly retrieve these different ranges as provided 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 = gp_widget_count_choices(widget);

               std:map<int, const char*> isoMaps;
               for (int i = 0; i < count; i++) {
                    gp_widget_get_choice(widget, i, &isoMaps[i]);
               }
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to