hi,
I’m testing theta z1 with usb api.
having a problem with the shutter speed property (0xd00f) label.
How can I get a human-readable shutter speed string like 1/100
or 0.01
?
gphoto2 output:
/home/teevr/teevr-ctl # gphoto2 --set-config expprogram=0
/home/teevr/teevr-ctl # gphoto2 --get-config d00f
Label: PTP Property 0xd00f
Readonly: 0
Type: MENU
Current: 257698037761
Choice: 0 107374182400001
Choice: 1 85899345920001
Choice: 2 68719476736001
Choice: 3 53687091200001
Choice: 4 42949672960001
Choice: 5 34359738368001
Choice: 6 27487790694401
Choice: 7 21474836480001
Choice: 8 17179869184001
Choice: 9 13743895347201
Choice: 10 10737418240001
Choice: 11 8589934592001
Choice: 12 6871947673601
Choice: 13 5368709120001
Choice: 14 4294967296001
Choice: 15 3435973836801
Choice: 16 2748779069441
Choice: 17 2147483648001
Choice: 18 1717986918401
Choice: 19 1374389534721
Choice: 20 1073741824001
Choice: 21 858993459201
Choice: 22 687194767361
Choice: 23 536870912001
Choice: 24 429496729601
Choice: 25 343597383681
Choice: 26 257698037761
Choice: 27 214748364801
Choice: 28 171798691841
Choice: 29 128849018881
Choice: 30 107374182401
Choice: 31 85899345921
Choice: 32 64424509441
Choice: 33 55834574849
Choice: 34 42949672961
Choice: 35 34359738369
Choice: 36 25769803777
Choice: 37 21474836481
Choice: 38 17179869185
Choice: 39 12884901889
Choice: 40 107374182410
Choice: 41 8589934593
Choice: 42 68719476746
Choice: 43 55834574858
Choice: 44 4294967297
Choice: 45 42949672973
Choice: 46 42949672976
Choice: 47 4294967298
Choice: 48 42949672985
Choice: 49 42949672992
Choice: 50 4294967300
Choice: 51 4294967301
Choice: 52 4294967302
Choice: 53 4294967304
Choice: 54 4294967306
Choice: 55 4294967309
Choice: 56 4294967311
Choice: 57 4294967316
Choice: 58 4294967321
Choice: 59 4294967326
Choice: 60 4294967336
Choice: 61 4294967346
Choice: 62 4294967356
END
/home/teevr/teevr-ctl # gphoto2 --set-config expprogram=3
/home/teevr/teevr-ctl # gphoto2 --get-config d00f
Label: PTP Property 0xd00f
Readonly: 0
Type: MENU
Current: 257698037761
Choice: 0 107374182400001
Choice: 1 85899345920001
Choice: 2 68719476736001
Choice: 3 53687091200001
Choice: 4 42949672960001
Choice: 5 34359738368001
Choice: 6 27487790694401
Choice: 7 21474836480001
Choice: 8 17179869184001
Choice: 9 13743895347201
Choice: 10 10737418240001
Choice: 11 8589934592001
Choice: 12 6871947673601
Choice: 13 5368709120001
Choice: 14 4294967296001
Choice: 15 3435973836801
Choice: 16 2748779069441
Choice: 17 2147483648001
Choice: 18 1717986918401
Choice: 19 1374389534721
Choice: 20 1073741824001
Choice: 21 858993459201
Choice: 22 687194767361
Choice: 23 536870912001
Choice: 24 429496729601
Choice: 25 343597383681
Choice: 26 257698037761
Choice: 27 214748364801
Choice: 28 171798691841
Choice: 29 128849018881
Choice: 30 107374182401
Choice: 31 85899345921
Choice: 32 64424509441
Choice: 33 55834574849
Choice: 34 42949672961
Choice: 35 34359738369
Choice: 36 25769803777
Choice: 37 21474836481
Choice: 38 17179869185
Choice: 39 12884901889
Choice: 40 107374182410
Choice: 41 8589934593
Choice: 42 68719476746
Choice: 43 55834574858
Choice: 44 4294967297
Choice: 45 42949672973
Choice: 46 42949672976
Choice: 47 4294967298
Choice: 48 42949672985
Choice: 49 42949672992
Choice: 50 4294967300
Choice: 51 4294967301
Choice: 52 4294967302
Choice: 53 4294967304
Choice: 54 4294967306
Choice: 55 4294967309
Choice: 56 4294967311
END
my setup:
root@teevr-NucBox5:/home/teevr/teevr-ctl# gphoto2 --version
gphoto2 2.5.28.1
Copyright (c) 2000-2021 Marcus Meissner and others
gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.
This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.28.1 gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2 2.5.29.1 standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking
root@teevr-NucBox5:/home/teevr/teevr-ctl# gphoto2 --get-config deviceversion
Label: Device Version
Readonly: 1
Type: TEXT
Current: 2.10.3
END
thanks in advance,
dalho.