exiftool_vendored 12.25.0 → 12.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/Changes +114 -4
- data/bin/MANIFEST +11 -0
- data/bin/META.json +1 -1
- data/bin/META.yml +1 -1
- data/bin/README +44 -43
- data/bin/arg_files/xmp2exif.args +2 -1
- data/bin/config_files/convert_regions.config +25 -14
- data/bin/config_files/example.config +1 -1
- data/bin/exiftool +72 -56
- data/bin/fmt_files/gpx.fmt +1 -1
- data/bin/fmt_files/gpx_wpt.fmt +1 -1
- data/bin/lib/Image/ExifTool/BuildTagLookup.pm +10 -2
- data/bin/lib/Image/ExifTool/CBOR.pm +277 -0
- data/bin/lib/Image/ExifTool/Canon.pm +25 -18
- data/bin/lib/Image/ExifTool/DPX.pm +13 -2
- data/bin/lib/Image/ExifTool/Exif.pm +11 -6
- data/bin/lib/Image/ExifTool/FlashPix.pm +35 -10
- data/bin/lib/Image/ExifTool/FujiFilm.pm +1 -0
- data/bin/lib/Image/ExifTool/Geotag.pm +13 -2
- data/bin/lib/Image/ExifTool/GoPro.pm +16 -1
- data/bin/lib/Image/ExifTool/ID3.pm +15 -3
- data/bin/lib/Image/ExifTool/JPEG.pm +68 -2
- data/bin/lib/Image/ExifTool/JSON.pm +4 -2
- data/bin/lib/Image/ExifTool/Jpeg2000.pm +58 -26
- data/bin/lib/Image/ExifTool/LIF.pm +153 -0
- data/bin/lib/Image/ExifTool/Lang/nl.pm +60 -59
- data/bin/lib/Image/ExifTool/M2TS.pm +103 -7
- data/bin/lib/Image/ExifTool/MIE.pm +2 -1
- data/bin/lib/Image/ExifTool/MRC.pm +1 -1
- data/bin/lib/Image/ExifTool/Nikon.pm +15 -4
- data/bin/lib/Image/ExifTool/NikonSettings.pm +10 -2
- data/bin/lib/Image/ExifTool/Olympus.pm +5 -2
- data/bin/lib/Image/ExifTool/Other.pm +93 -0
- data/bin/lib/Image/ExifTool/PDF.pm +9 -12
- data/bin/lib/Image/ExifTool/PNG.pm +7 -6
- data/bin/lib/Image/ExifTool/Panasonic.pm +14 -2
- data/bin/lib/Image/ExifTool/Pentax.pm +28 -5
- data/bin/lib/Image/ExifTool/Photoshop.pm +6 -0
- data/bin/lib/Image/ExifTool/QuickTime.pm +103 -24
- data/bin/lib/Image/ExifTool/QuickTimeStream.pl +203 -121
- data/bin/lib/Image/ExifTool/README +3 -0
- data/bin/lib/Image/ExifTool/RIFF.pm +7 -2
- data/bin/lib/Image/ExifTool/Samsung.pm +47 -10
- data/bin/lib/Image/ExifTool/Sony.pm +84 -33
- data/bin/lib/Image/ExifTool/TagLookup.pm +50 -3
- data/bin/lib/Image/ExifTool/TagNames.pod +135 -29
- data/bin/lib/Image/ExifTool/Torrent.pm +18 -11
- data/bin/lib/Image/ExifTool/WriteIPTC.pl +1 -1
- data/bin/lib/Image/ExifTool/WritePDF.pl +1 -0
- data/bin/lib/Image/ExifTool/WritePNG.pl +2 -0
- data/bin/lib/Image/ExifTool/WriteQuickTime.pl +11 -4
- data/bin/lib/Image/ExifTool/WriteXMP.pl +1 -1
- data/bin/lib/Image/ExifTool/Writer.pl +3 -0
- data/bin/lib/Image/ExifTool/XMP.pm +17 -5
- data/bin/lib/Image/ExifTool/XMP2.pl +2 -1
- data/bin/lib/Image/ExifTool/XMPStruct.pl +3 -1
- data/bin/lib/Image/ExifTool/ZISRAW.pm +121 -2
- data/bin/lib/Image/ExifTool.pm +79 -37
- data/bin/lib/Image/ExifTool.pod +62 -60
- data/bin/perl-Image-ExifTool.spec +43 -42
- data/lib/exiftool_vendored/version.rb +1 -1
- metadata +6 -3
@@ -22,12 +22,13 @@ use vars qw($VERSION %samsungLensTypes);
|
|
22
22
|
use Image::ExifTool qw(:DataAccess :Utils);
|
23
23
|
use Image::ExifTool::Exif;
|
24
24
|
|
25
|
-
$VERSION = '1.
|
25
|
+
$VERSION = '1.50';
|
26
26
|
|
27
27
|
sub WriteSTMN($$$);
|
28
28
|
sub ProcessINFO($$$);
|
29
29
|
sub ProcessSamsungMeta($$$);
|
30
30
|
sub ProcessSamsungIFD($$$);
|
31
|
+
sub ProcessSamsung($$$);
|
31
32
|
|
32
33
|
# Samsung LensType lookup
|
33
34
|
%samsungLensTypes = (
|
@@ -940,14 +941,31 @@ my %formatMinMax = (
|
|
940
941
|
%Image::ExifTool::Samsung::Trailer = (
|
941
942
|
GROUPS => { 0 => 'MakerNotes', 2 => 'Other' },
|
942
943
|
VARS => { NO_ID => 1, HEX_ID => 0 },
|
944
|
+
PROCESS_PROC => \&ProcessSamsung,
|
943
945
|
PRIORITY => 0, # (first one takes priority so DepthMapWidth/Height match first DepthMapData)
|
944
946
|
NOTES => q{
|
945
947
|
Tags extracted from the trailer of JPEG images written when using certain
|
946
948
|
features (such as "Sound & Shot" or "Shot & More") from Samsung models such
|
947
|
-
as the Galaxy S4 and Tab S
|
948
|
-
|
949
|
-
|
950
|
-
'0x0001' => {
|
949
|
+
as the Galaxy S4 and Tab S, and from the 'sefd' atom in HEIC images from the
|
950
|
+
Samsung S10+.
|
951
|
+
},
|
952
|
+
'0x0001-name' => {
|
953
|
+
Name => 'EmbeddedImageName', # ("DualShot_1","DualShot_2")
|
954
|
+
RawConv => '$$self{EmbeddedImageName} = $val',
|
955
|
+
},
|
956
|
+
'0x0001' => [
|
957
|
+
{
|
958
|
+
Name => 'EmbeddedImage',
|
959
|
+
Condition => '$$self{EmbeddedImageName} eq "DualShot_1"',
|
960
|
+
Groups => { 2 => 'Preview' },
|
961
|
+
Binary => 1,
|
962
|
+
},
|
963
|
+
{
|
964
|
+
Name => 'EmbeddedImage2',
|
965
|
+
Groups => { 2 => 'Preview' },
|
966
|
+
Binary => 1,
|
967
|
+
},
|
968
|
+
],
|
951
969
|
'0x0100-name' => 'EmbeddedAudioFileName', # ("SoundShot_000")
|
952
970
|
'0x0100' => { Name => 'EmbeddedAudioFile', Groups => { 2 => 'Audio' }, Binary => 1 },
|
953
971
|
'0x0201-name' => 'SurroundShotVideoName', # ("Interactive_Panorama_000")
|
@@ -977,10 +995,24 @@ my %formatMinMax = (
|
|
977
995
|
'0x0a30-name' => 'EmbeddedVideoType', # ("MotionPhoto_Data")
|
978
996
|
'0x0a30' => { Name => 'EmbeddedVideoFile', Groups => { 2 => 'Video' }, Binary => 1 }, #forum7161
|
979
997
|
# 0x0aa1-name - seen 'MCC_Data'
|
980
|
-
# 0x0aa1 - seen '
|
998
|
+
# 0x0aa1 - seen '204','222','234','302','429'
|
999
|
+
'0x0aa1' => 'MCCData', # (unknown meaning)
|
981
1000
|
# 0x0ab0-name - seen 'DualShot_Meta_Info'
|
982
|
-
'0x0ab1-name' =>
|
983
|
-
|
1001
|
+
'0x0ab1-name' => {
|
1002
|
+
Name => 'DepthMapName',
|
1003
|
+
# seen 'DualShot_DepthMap_1' (SM-N950U), DualShot_DepthMap_5 (SM-G998W)
|
1004
|
+
RawConv => '$$self{DepthMapName} = $val',
|
1005
|
+
},
|
1006
|
+
'0x0ab1' => [
|
1007
|
+
{
|
1008
|
+
Name => 'DepthMapData',
|
1009
|
+
Condition => '$$self{DepthMapName} eq "DualShot_DepthMap_1"',
|
1010
|
+
Binary => 1,
|
1011
|
+
},{
|
1012
|
+
Name => 'DepthMapData2',
|
1013
|
+
Binary => 1,
|
1014
|
+
},
|
1015
|
+
],
|
984
1016
|
# 0x0ab3-name - seen 'DualShot_Extra_Info' (SM-N950U)
|
985
1017
|
'0x0ab3' => { # (SM-N950U)
|
986
1018
|
Name => 'DualShotExtra',
|
@@ -1015,7 +1047,8 @@ my %formatMinMax = (
|
|
1015
1047
|
Hook => q{
|
1016
1048
|
if ($size >= 96) {
|
1017
1049
|
my $tmp = substr($$dataPt, $pos, 64);
|
1018
|
-
|
1050
|
+
# (have seen 0x01,0x03 and 0x07)
|
1051
|
+
if ($tmp =~ /[\x01-\x09]\0\xff\xff/g and not pos($tmp) % 4) {
|
1019
1052
|
$$self{DepthMapTagPos} = pos($tmp);
|
1020
1053
|
$varSize += $$self{DepthMapTagPos} - 32;
|
1021
1054
|
}
|
@@ -1274,6 +1307,10 @@ sub ProcessSamsung($$$)
|
|
1274
1307
|
my $unknown = $et->Options('Unknown');
|
1275
1308
|
my ($buff, $buf2, $index, $offsetPos, $audioNOff, $audioSize);
|
1276
1309
|
|
1310
|
+
unless ($raf) {
|
1311
|
+
$raf = new File::RandomAccess($$dirInfo{DataPt});
|
1312
|
+
$et->VerboseDir('SamsungTrailer');
|
1313
|
+
}
|
1277
1314
|
return 0 unless $raf->Seek(-6-$offset, 2) and $raf->Read($buff, 6) == 6 and
|
1278
1315
|
($buff eq 'QDIOBS' or $buff eq "\0\0SEFT");
|
1279
1316
|
my $endPos = $raf->Tell();
|
@@ -1328,7 +1365,7 @@ SamBlock:
|
|
1328
1365
|
# save trailer position and length
|
1329
1366
|
my $dataPos = $$dirInfo{DataPos} = $dirPos - $firstBlock;
|
1330
1367
|
my $dirLen = $$dirInfo{DirLen} = $endPos - $dataPos;
|
1331
|
-
if (($verbose or $$et{HTML_DUMP}) and not $outfile) {
|
1368
|
+
if (($verbose or $$et{HTML_DUMP}) and not $outfile and $$dirInfo{RAF}) {
|
1332
1369
|
$et->DumpTrailer($dirInfo);
|
1333
1370
|
return 1 if $$et{HTML_DUMP};
|
1334
1371
|
}
|
@@ -34,7 +34,7 @@ use Image::ExifTool qw(:DataAccess :Utils);
|
|
34
34
|
use Image::ExifTool::Exif;
|
35
35
|
use Image::ExifTool::Minolta;
|
36
36
|
|
37
|
-
$VERSION = '3.
|
37
|
+
$VERSION = '3.45';
|
38
38
|
|
39
39
|
sub ProcessSRF($$$);
|
40
40
|
sub ProcessSR2($$$);
|
@@ -194,6 +194,9 @@ sub PrintInvLensSpec($;$$);
|
|
194
194
|
49463 => 'Tamron 28-200mm F2.8-5.6 Di III RXD', #JR (Model A071)
|
195
195
|
49464 => 'Tamron 70-300mm F4.5-6.3 Di III RXD', #JR (Model A047)
|
196
196
|
49465 => 'Tamron 17-70mm F2.8 Di III-A VC RXD', #JR (Model B070)
|
197
|
+
49466 => 'Tamron 150-500mm F5-6.7 Di III VC VXD', #JR (Model A057)
|
198
|
+
49467 => 'Tamron 11-20mm F2.8 Di III-A RXD', #JR (Model B060)
|
199
|
+
|
197
200
|
49473 => 'Tokina atx-m 85mm F1.8 FE or Viltrox lens', #JR
|
198
201
|
49473.1 => 'Viltrox 23mm F1.4 E', #JR
|
199
202
|
49473.2 => 'Viltrox 56mm F1.4 E', #JR
|
@@ -232,6 +235,10 @@ sub PrintInvLensSpec($;$$);
|
|
232
235
|
50524 => 'Sigma 35mm F2 DG DN | C', #IB (020)
|
233
236
|
50525 => 'Sigma 24mm F3.5 DG DN | C', #JR (021)
|
234
237
|
50526 => 'Sigma 28-70mm F2.8 DG DN | C', #JR (021)
|
238
|
+
50527 => 'Sigma 150-600mm F5-6.3 DG DN OS | S', #JR (021)
|
239
|
+
50528 => 'Sigma 35mm F1.4 DG DN | A', #IB/JR (021)
|
240
|
+
50529 => 'Sigma 90mm F2.8 DG DN | C', #JR (021)
|
241
|
+
50530 => 'Sigma 24mm F2 DG DN | C', #JR (021)
|
235
242
|
|
236
243
|
50992 => 'Voigtlander SUPER WIDE-HELIAR 15mm F4.5 III', #JR
|
237
244
|
50993 => 'Voigtlander HELIAR-HYPER WIDE 10mm F5.6', #IB
|
@@ -245,6 +252,7 @@ sub PrintInvLensSpec($;$$);
|
|
245
252
|
51001 => 'Voigtlander NOKTON 21mm F1.4 Aspherical', #JR
|
246
253
|
51002 => 'Voigtlander APO-LANTHAR 50mm F2 Aspherical', #JR
|
247
254
|
51003 => 'Voigtlander NOKTON 35mm F1.2 Aspherical SE', #JR
|
255
|
+
51006 => 'Voigtlander APO-LANTHAR 35mm F2 Aspherical', #JR
|
248
256
|
|
249
257
|
# lenses listed in the Sigma MC-11 list, but not yet seen:
|
250
258
|
# 504xx => 'Sigma 18-200mm F3.5-6.3 DC MACRO OS HSM | C + MC-11', # (014)
|
@@ -260,6 +268,7 @@ sub PrintInvLensSpec($;$$);
|
|
260
268
|
51510 => 'Samyang AF 18mm F2.8 or Samyang AF 35mm F1.8', #JR
|
261
269
|
51510.1 => 'Samyang AF 35mm F1.8', #JR
|
262
270
|
51512 => 'Samyang AF 75mm F1.8', #IB/JR
|
271
|
+
51514 => 'Samyang AF 24mm F1.8', #IB
|
263
272
|
);
|
264
273
|
|
265
274
|
# ExposureProgram values (ref PH, mainly decoded from A200)
|
@@ -1022,7 +1031,7 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
1022
1031
|
SubDirectory => { TagTable => 'Image::ExifTool::Sony::Tag2010h' },
|
1023
1032
|
},{
|
1024
1033
|
Name => 'Tag2010i', # ?
|
1025
|
-
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7M3|
|
1034
|
+
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7M3|7RM3A?|7RM4A?|9|9M2)|DSC-(RX10M4|RX100M6|RX100M5A|RX100M7|HX99|RX0M2)|ZV-(1|E10))\b/',
|
1026
1035
|
SubDirectory => { TagTable => 'Image::ExifTool::Sony::Tag2010i' },
|
1027
1036
|
},{
|
1028
1037
|
Name => 'Tag_0x2010',
|
@@ -1493,7 +1502,7 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
1493
1502
|
my ($a,$b,$c,$d) = split ' ', $val;
|
1494
1503
|
my @a = $a =~ /../g;
|
1495
1504
|
return undef unless @a == 4;
|
1496
|
-
return Set32u((hex($d)<<22) | ($a[0]<<17) | ($a[1]<<12) | ($a[2]<<6) | $a[3]) . chr($b) . chr($c);
|
1505
|
+
return Set32u((hex($d)<<22) | ($a[0]<<17) | ($a[1]<<12) | ($a[2]<<6) | $a[3]) . chr($b & 0xff) . chr($c & 0xff);
|
1497
1506
|
},
|
1498
1507
|
PrintConv => {
|
1499
1508
|
'00000000 0 0 0x0' => 'n/a',
|
@@ -1597,14 +1606,14 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
1597
1606
|
# from mid-2015: ILCE-7RM2/7SM2/6300 and newer models use different offsets
|
1598
1607
|
{
|
1599
1608
|
Name => 'Tag9050a',
|
1600
|
-
Condition => '$$self{Model} !~ /^(DSC-|Stellar|ILCE-(1|6100|6300|6400|6500|6600|7C|7M3|7RM2|
|
1609
|
+
Condition => '$$self{Model} !~ /^(DSC-|Stellar|ILCE-(1|6100|6300|6400|6500|6600|7C|7M3|7RM2|7RM3A?|7RM4A?|7SM2|7SM3|9|9M2)|ILCA-99M2|ILME-FX3|ZV-)/',
|
1601
1610
|
SubDirectory => {
|
1602
1611
|
TagTable => 'Image::ExifTool::Sony::Tag9050a',
|
1603
1612
|
ByteOrder => 'LittleEndian',
|
1604
1613
|
},
|
1605
1614
|
},{
|
1606
1615
|
Name => 'Tag9050b',
|
1607
|
-
Condition => '$$self{Model} =~ /^(ILCE-(6100|6300|6400|6500|6600|7C|7M3|7RM2|
|
1616
|
+
Condition => '$$self{Model} =~ /^(ILCE-(6100|6300|6400|6500|6600|7C|7M3|7RM2|7RM3A?|7RM4A?|7SM2|9|9M2)|ILCA-99M2|ZV-E10)/',
|
1608
1617
|
SubDirectory => {
|
1609
1618
|
TagTable => 'Image::ExifTool::Sony::Tag9050b',
|
1610
1619
|
ByteOrder => 'LittleEndian',
|
@@ -1630,7 +1639,7 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
1630
1639
|
# 0x23 (e) for DSC-RX10/HX60V/HX350/HX400V/WX220/WX350, ILCE-7/7R/5000/6000, ILCA-68/77M2
|
1631
1640
|
# 0x24 (e) for ILCA-99M2,ILCE-5100/6300/6500/7M2/7RM2/7S/7SM2/QX1, DSC-HX80/HX90V/QX30/RX0/RX100M3/RX100M4/RX100M5/RX10M2/RX10M3/RX1RM2/WX500
|
1632
1641
|
# 0x26 (e) for ILCE-6100/6400/6600/7M3/7RM3/9, DSC-RX0M2/RX10M4/RX100M5A/RX100M6/HX99
|
1633
|
-
# 0x28 (e) for ILCE-7RM4/9M2, DSC-RX100M7, ZV-1
|
1642
|
+
# 0x28 (e) for ILCE-7RM4/9M2, DSC-RX100M7, ZV-1/E10
|
1634
1643
|
# 0x31 (e) for ILCE-1/7SM3, ILME-FX3
|
1635
1644
|
# first byte decoded: 40, 204, 202, 27, 58, 62, 48, 215, 28, 106 respectively
|
1636
1645
|
{
|
@@ -1646,7 +1655,7 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
1646
1655
|
SubDirectory => { TagTable => 'Image::ExifTool::Sony::Tag9400b' },
|
1647
1656
|
},{
|
1648
1657
|
Name => 'Tag9400c',
|
1649
|
-
Condition => '$$valPt =~ /^[\x23\x24\x26\x28\x31]/',
|
1658
|
+
Condition => '$$valPt =~ /^[\x23\x24\x26\x28\x31]/',
|
1650
1659
|
SubDirectory => { TagTable => 'Image::ExifTool::Sony::Tag9400c' },
|
1651
1660
|
},{
|
1652
1661
|
Name => 'Sony_0x9400',
|
@@ -1805,7 +1814,7 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
1805
1814
|
# 142 var (0x25 = 37 var enc.) DSC-HX80/HX90V/RX1RM2/RX10M2/RX10M3/RX100M4/WX500, ILCE-6300/7RM2/7SM2
|
1806
1815
|
# 144 var (0xe1 = 225 var enc.) DSC-RX100M5
|
1807
1816
|
# 145 var (0x76 = 118 var enc.) ILCA-99M2, ILCE-6500, DSC-RX0
|
1808
|
-
# 163 var (0x8b = 139 var enc.) ILCE-6100/6400/6600/7C/7M3/7RM3/7RM4/9/9M2, DSC-RX0M2/RX10M4/RX100M5A/RX100M6/RX100M7/HX99, ZV-1
|
1817
|
+
# 163 var (0x8b = 139 var enc.) ILCE-6100/6400/6600/7C/7M3/7RM3/7RM4/9/9M2, DSC-RX0M2/RX10M4/RX100M5A/RX100M6/RX100M7/HX99, ZV-1/E10
|
1809
1818
|
# July 2020: ILCE-7SM3 doesn't write this tag anymore, but writes 0x9416
|
1810
1819
|
0x9405 => [{
|
1811
1820
|
Name => 'Tag9405a',
|
@@ -1859,7 +1868,7 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
1859
1868
|
},
|
1860
1869
|
0x940c => [{
|
1861
1870
|
Name => 'Tag940c',
|
1862
|
-
Condition => '$$self{Model} =~ /^(NEX-|ILCE-|ILME-|Lunar)\b/',
|
1871
|
+
Condition => '$$self{Model} =~ /^(NEX-|ILCE-|ILME-|Lunar|ZV-E10)\b/',
|
1863
1872
|
SubDirectory => { TagTable => 'Image::ExifTool::Sony::Tag940c' },
|
1864
1873
|
},{
|
1865
1874
|
Name => 'Sony_0x940c',
|
@@ -2015,9 +2024,12 @@ my %hidUnk = ( Hidden => 1, Unknown => 1 );
|
|
2015
2024
|
379 => 'ILCE-6100', #IB/JR
|
2016
2025
|
380 => 'ZV-1', #JR
|
2017
2026
|
381 => 'ILCE-7C', #JR
|
2027
|
+
382 => 'ZV-E10', #JR
|
2018
2028
|
383 => 'ILCE-7SM3',
|
2019
2029
|
384 => 'ILCE-1', #PH
|
2020
2030
|
385 => 'ILME-FX3', #JR
|
2031
|
+
386 => 'ILCE-7RM3A', #JR
|
2032
|
+
387 => 'ILCE-7RM4A', #forum12542
|
2021
2033
|
},
|
2022
2034
|
},
|
2023
2035
|
0xb020 => { #2
|
@@ -6176,7 +6188,7 @@ my %isoSetting2010 = (
|
|
6176
6188
|
43 => 160000,
|
6177
6189
|
44 => 204800,
|
6178
6190
|
45 => 256000,
|
6179
|
-
46 => 320000,
|
6191
|
+
46 => 320000,
|
6180
6192
|
47 => 409600,
|
6181
6193
|
);
|
6182
6194
|
|
@@ -7604,13 +7616,13 @@ my %isoSetting2010 = (
|
|
7604
7616
|
# March 2019: ILCE-9 with v5.0x firmware follows ILCE-6400 in many tags ...
|
7605
7617
|
0x0050 => {
|
7606
7618
|
Name => 'ShutterCount2',
|
7607
|
-
Condition => '(($$self{FlashFired} & 0x01) != 1) and ($$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|
|
7619
|
+
Condition => '(($$self{FlashFired} & 0x01) != 1) and ($$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7RM4A?|9M2)|ZV-E10)/ or $$self{Software} =~ /^ILCE-9 (v5.0|v6.0)/)',
|
7608
7620
|
Format => 'int32u',
|
7609
7621
|
RawConv => '$val & 0x00ffffff',
|
7610
7622
|
},
|
7611
7623
|
0x0052 => {
|
7612
7624
|
Name => 'ShutterCount2',
|
7613
|
-
Condition => '(($$self{FlashFired} & 0x01) != 1) and ($$self{Model} =~ /^(ILCE-(7M3|
|
7625
|
+
Condition => '(($$self{FlashFired} & 0x01) != 1) and ($$self{Model} =~ /^(ILCE-(7M3|7RM3A?))/)',
|
7614
7626
|
Format => 'int32u',
|
7615
7627
|
RawConv => '$val & 0x00ffffff',
|
7616
7628
|
},
|
@@ -7621,13 +7633,13 @@ my %isoSetting2010 = (
|
|
7621
7633
|
# 0x0058, 0x0061: E-Mount: ShutterCount and dateTime
|
7622
7634
|
0x0058 => { # appears not valid when flash is used ... not for ILCA-99M2
|
7623
7635
|
Name => 'ShutterCount2',
|
7624
|
-
Condition => '(($$self{FlashFired} & 0x01) != 1) and ($$self{Model} !~ /^(ILCA-99M2|ILCE-(6100|6400|6600|7C|7M3|
|
7636
|
+
Condition => '(($$self{FlashFired} & 0x01) != 1) and ($$self{Model} !~ /^(ILCA-99M2|ILCE-(6100|6400|6600|7C|7M3|7RM3A?|7RM4A?|9M2)|ZV-E10)/) and $$self{Software} !~ /^ILCE-9 (v5.0|v6.0)/',
|
7625
7637
|
Format => 'int32u',
|
7626
7638
|
RawConv => '$val & 0x00ffffff',
|
7627
7639
|
},
|
7628
7640
|
0x0061 => { # only minutes-seconds, not for ILCA-99M2, ILCE-9
|
7629
7641
|
Name => 'SonyTimeMinSec',
|
7630
|
-
Condition => '$$self{Model} !~ /^(ILCA-99M2|ILCE-(6100|6400|6600|7C|7M3|
|
7642
|
+
Condition => '$$self{Model} !~ /^(ILCA-99M2|ILCE-(6100|6400|6600|7C|7M3|7RM3A?|7RM4A?|9|9M2)|ZV-E10)/',
|
7631
7643
|
Format => 'undef[2]',
|
7632
7644
|
ValueConv => q{
|
7633
7645
|
my @v = unpack('C*', $val);
|
@@ -7636,17 +7648,17 @@ my %isoSetting2010 = (
|
|
7636
7648
|
},
|
7637
7649
|
0x006b => {
|
7638
7650
|
Name => 'ReleaseMode2',
|
7639
|
-
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|
|
7651
|
+
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7RM4A?|9M2)|ZV-E10)/ or $$self{Software} =~ /^ILCE-9 (v5.0|v6.0)/',
|
7640
7652
|
%releaseMode2,
|
7641
7653
|
},
|
7642
7654
|
0x006d => {
|
7643
7655
|
Name => 'ReleaseMode2',
|
7644
|
-
Condition => '$$self{Model} =~ /^(ILCE-(7M3|
|
7656
|
+
Condition => '$$self{Model} =~ /^(ILCE-(7M3|7RM3A?))/',
|
7645
7657
|
%releaseMode2,
|
7646
7658
|
},
|
7647
7659
|
0x0073 => {
|
7648
7660
|
Name => 'ReleaseMode2',
|
7649
|
-
Condition => '$$self{Model} !~ /^(ILCE-(6100|6400|6600|7C|7M3|
|
7661
|
+
Condition => '$$self{Model} !~ /^(ILCE-(6100|6400|6600|7C|7M3|7RM3A?|7RM4A?|9M2)|ZV-E10)/ and $$self{Software} !~ /^ILCE-9 (v5.0|v6.0)/',
|
7650
7662
|
%releaseMode2,
|
7651
7663
|
},
|
7652
7664
|
0x0088 => {
|
@@ -7725,7 +7737,7 @@ my %isoSetting2010 = (
|
|
7725
7737
|
#
|
7726
7738
|
0x019f => {
|
7727
7739
|
Name => 'ShutterCount3',
|
7728
|
-
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7M3|
|
7740
|
+
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7M3|7RM3A?|7RM4A?|9|9M2)|ZV-E10)\b/',
|
7729
7741
|
Format => 'int32u',
|
7730
7742
|
RawConv => '$val == 0 ? undef : $val',
|
7731
7743
|
},
|
@@ -7743,7 +7755,7 @@ my %isoSetting2010 = (
|
|
7743
7755
|
},
|
7744
7756
|
0x01eb => {
|
7745
7757
|
Name => 'APS-CSizeCapture',
|
7746
|
-
Condition => '$$self{Model} =~ /^ILCE-(
|
7758
|
+
Condition => '$$self{Model} =~ /^ILCE-(7RM4A?|7C|9M2)|ZV-E10/ or $$self{Software} =~ /^ILCE-9 (v5.0|v6.0)/',
|
7747
7759
|
PrintConv => {
|
7748
7760
|
0 => 'Off',
|
7749
7761
|
1 => 'On',
|
@@ -7751,7 +7763,7 @@ my %isoSetting2010 = (
|
|
7751
7763
|
},
|
7752
7764
|
0x01ed => {
|
7753
7765
|
Name => 'LensSpecFeatures',
|
7754
|
-
Condition => '$$self{Model} =~ /^ILCE-(
|
7766
|
+
Condition => '$$self{Model} =~ /^ILCE-(7RM4A?|7C|9M2)|ZV-E10/ or $$self{Software} =~ /^ILCE-9 (v5.0|v6.0)/',
|
7755
7767
|
Priority => 0,
|
7756
7768
|
Format => 'undef[2]',
|
7757
7769
|
ValueConv => 'join " ", unpack "H2H2", $val',
|
@@ -7764,7 +7776,7 @@ my %isoSetting2010 = (
|
|
7764
7776
|
},
|
7765
7777
|
0x01ee => {
|
7766
7778
|
Name => 'APS-CSizeCapture',
|
7767
|
-
Condition => '$$self{Model} =~ /^(ILCE-(7M3|
|
7779
|
+
Condition => '$$self{Model} =~ /^(ILCE-(7M3|7RM3A?|9))\b/ and $$self{Software} !~ /^ILCE-9 (v5.0|v6.0)/',
|
7768
7780
|
PrintConv => {
|
7769
7781
|
0 => 'Off',
|
7770
7782
|
1 => 'On',
|
@@ -7772,7 +7784,7 @@ my %isoSetting2010 = (
|
|
7772
7784
|
},
|
7773
7785
|
0x01f0 => {
|
7774
7786
|
Name => 'LensSpecFeatures',
|
7775
|
-
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7M3|
|
7787
|
+
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7M3|7RM3A?|9))\b/ and $$self{Software} !~ /^ILCE-9 (v5.0|v6.0)/',
|
7776
7788
|
Priority => 0,
|
7777
7789
|
Format => 'undef[2]',
|
7778
7790
|
ValueConv => 'join " ", unpack "H2H2", $val',
|
@@ -8361,8 +8373,8 @@ my %isoSetting2010 = (
|
|
8361
8373
|
GROUPS => { 0 => 'MakerNotes', 2 => 'Image' },
|
8362
8374
|
DATAMEMBER => [ 0x04 ],
|
8363
8375
|
0x04 => {
|
8364
|
-
# seen values 0,2,3,18,32,49,50,83,148
|
8365
|
-
# CameraTemperature is valid for all values except 0
|
8376
|
+
# seen values 0,2,3,18,19,32,49,50,83,130,132,148,213,229,255
|
8377
|
+
# CameraTemperature is valid for all values above except ==0 and >=130
|
8366
8378
|
Name => 'TempTest2',
|
8367
8379
|
DataMember => 'TempTest2',
|
8368
8380
|
Hidden => 1,
|
@@ -8683,7 +8695,7 @@ my %isoSetting2010 = (
|
|
8683
8695
|
},
|
8684
8696
|
0x0342 => {
|
8685
8697
|
Name => 'LensZoomPosition',
|
8686
|
-
Condition => '$$self{Model} !~ /^(ILCA-|ILCE-(7RM2|7M3|
|
8698
|
+
Condition => '$$self{Model} !~ /^(ILCA-|ILCE-(7RM2|7M3|7RM3A?|7RM4A?|7SM2|6100|6300|6400|6500|6600|7C|9|9M2)|DSC-(HX80|HX90V|HX99|RX0|RX10M2|RX10M3|RX10M4|RX100M4|RX100M5|RX100M5A|RX100M6|RX100M7|WX500)|ZV-)/',
|
8687
8699
|
Format => 'int16u',
|
8688
8700
|
PrintConv => 'sprintf("%.0f%%",$val/10.24)',
|
8689
8701
|
PrintConvInv => '$val=~s/ ?%$//; $val * 10.24',
|
@@ -8695,7 +8707,7 @@ my %isoSetting2010 = (
|
|
8695
8707
|
},
|
8696
8708
|
0x034e => {
|
8697
8709
|
Name => 'LensZoomPosition',
|
8698
|
-
Condition => '$$self{Model} =~ /^(DSC-(RX100M5|RX100M5A|RX100M6|RX100M7|RX10M4|HX99)|ILCE-(6100|6400|6600|7C|7M3|
|
8710
|
+
Condition => '$$self{Model} =~ /^(DSC-(RX100M5|RX100M5A|RX100M6|RX100M7|RX10M4|HX99)|ILCE-(6100|6400|6600|7C|7M3|7RM3A?|7RM4A?|9M2)|ZV-E10)/',
|
8699
8711
|
Format => 'int16u',
|
8700
8712
|
PrintConv => 'sprintf("%.0f%%",$val/10.24)',
|
8701
8713
|
PrintConvInv => '$val=~s/ ?%$//; $val * 10.24',
|
@@ -8707,7 +8719,7 @@ my %isoSetting2010 = (
|
|
8707
8719
|
},
|
8708
8720
|
0x035c => {
|
8709
8721
|
Name => 'VignettingCorrParams',
|
8710
|
-
Condition => '$$self{Model} =~ /^(ILCA-99M2|ILCE-(6100|6400|6500|6600|7C|7M3|
|
8722
|
+
Condition => '$$self{Model} =~ /^(ILCA-99M2|ILCE-(6100|6400|6500|6600|7C|7M3|7RM3A?|7RM4A?|9|9M2)|ZV-E10)/',
|
8711
8723
|
Format => 'int16s[16]',
|
8712
8724
|
},
|
8713
8725
|
0x035a => {
|
@@ -8744,7 +8756,7 @@ my %isoSetting2010 = (
|
|
8744
8756
|
},
|
8745
8757
|
0x03b8 => {
|
8746
8758
|
Name => 'ChromaticAberrationCorrParams',
|
8747
|
-
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7M3|
|
8759
|
+
Condition => '$$self{Model} =~ /^(ILCE-(6100|6400|6600|7C|7M3|7RM3A?|7RM4A?|9|9M2)|ZV-E10)/',
|
8748
8760
|
Format => 'int16s[32]',
|
8749
8761
|
},
|
8750
8762
|
);
|
@@ -9275,11 +9287,11 @@ my %isoSetting2010 = (
|
|
9275
9287
|
|
9276
9288
|
# 0x1a06 onwards - first seen for ILCE-7RM2: appears to be some kind of metering image
|
9277
9289
|
# but not valid anymore for ILCE-6400, ILCE-9 v5.0x
|
9278
|
-
0x1a06 => { Name => 'TiffMeteringImageWidth', Condition => '$$self{Model} =~ /^(ILCE-(6300|6500|7M3|7RM2|
|
9279
|
-
0x1a07 => { Name => 'TiffMeteringImageHeight', Condition => '$$self{Model} =~ /^(ILCE-(6300|6500|7M3|7RM2|
|
9290
|
+
0x1a06 => { Name => 'TiffMeteringImageWidth', Condition => '$$self{Model} =~ /^(ILCE-(6300|6500|7M3|7RM2|7RM3A?|7SM2|9))\b/ and $$self{Software} !~ /^ILCE-9 (v5.0|v6.0)/' },
|
9291
|
+
0x1a07 => { Name => 'TiffMeteringImageHeight', Condition => '$$self{Model} =~ /^(ILCE-(6300|6500|7M3|7RM2|7RM3A?|7SM2|9))\b/ and $$self{Software} !~ /^ILCE-9 (v5.0|v6.0)/' },
|
9280
9292
|
0x1a08 => { # (2640 bytes: 1 set of 44x30 int16u values)
|
9281
9293
|
Name => 'TiffMeteringImage',
|
9282
|
-
Condition => '$$self{Model} =~ /^(ILCE-(6300|6500|7M3|7RM2|
|
9294
|
+
Condition => '$$self{Model} =~ /^(ILCE-(6300|6500|7M3|7RM2|7RM3A?|7SM2|9))\b/ and $$self{Software} !~ /^ILCE-9 (v5.0|v6.0)/',
|
9283
9295
|
Format => 'undef[2640]',
|
9284
9296
|
Notes => q{
|
9285
9297
|
13(?)-bit intensity data from 1320 (1200) metering segments, extracted as a
|
@@ -10125,10 +10137,16 @@ my %isoSetting2010 = (
|
|
10125
10137
|
PrintConv => 'Image::ExifTool::Exif::PrintFNumber($val)',
|
10126
10138
|
},
|
10127
10139
|
0x8001 => { Name => 'Sony_rtmd_0x8001', Format => 'int16u', %hidUnk },
|
10140
|
+
0x8004 => { Name => 'Sony_rtmd_0x8004', Format => 'int16u', %hidUnk },
|
10141
|
+
0x8005 => { Name => 'Sony_rtmd_0x8005', Format => 'int16u', %hidUnk },
|
10142
|
+
0x800a => { Name => 'Sony_rtmd_0x800a', Format => 'int16u', %hidUnk },
|
10143
|
+
0x800b => { Name => 'Sony_rtmd_0x800b', Format => 'int16u', %hidUnk },
|
10128
10144
|
# 0x8100 - 16 bytes starting with 0x060e2b340401
|
10129
10145
|
0x8100 => { Name => 'Sony_rtmd_0x8100', Format => 'int8u', %hidUnk },
|
10130
10146
|
0x8101 => { Name => 'Sony_rtmd_0x8101', Format => 'int8u', %hidUnk }, # seen: 0,1
|
10131
|
-
|
10147
|
+
0x8104 => { Name => 'Sony_rtmd_0x8104', Format => 'int16u', %hidUnk }, # seen: 35616
|
10148
|
+
0x8105 => { Name => 'Sony_rtmd_0x8105', Format => 'int16u', %hidUnk }, # seen: 20092
|
10149
|
+
0x8106 => { Name => 'Sony_rtmd_0x8106', Format => 'int32u', %hidUnk }, # seen: "25 1","24000 1001" frame rate?
|
10132
10150
|
0x8109 => { #forum12218
|
10133
10151
|
Name => 'ExposureTime',
|
10134
10152
|
Format => 'rational64u',
|
@@ -10224,7 +10242,7 @@ my %isoSetting2010 = (
|
|
10224
10242
|
},
|
10225
10243
|
0xe000 => { Name => 'Sony_rtmd_0xe000', Format => 'int8u', %hidUnk }, # (16 bytes)
|
10226
10244
|
0xe300 => { Name => 'Sony_rtmd_0xe300', Format => 'int8u', %hidUnk }, # seen: 0,1
|
10227
|
-
0xe301 => { Name => 'Sony_rtmd_0xe301', Format => 'int32u', %hidUnk }, # seen: 100,1600
|
10245
|
+
0xe301 => { Name => 'Sony_rtmd_0xe301', Format => 'int32u', %hidUnk }, # seen: 100,1600,12800
|
10228
10246
|
0xe302 => { Name => 'Sony_rtmd_0xe302', Format => 'int8u', %hidUnk }, # seen: 1
|
10229
10247
|
0xe303 => { #forum12218
|
10230
10248
|
Name => 'WhiteBalance',
|
@@ -10245,6 +10263,19 @@ my %isoSetting2010 = (
|
|
10245
10263
|
ValueConv => 'my @a=unpack("x1H4H2H2H2H2H2",$val); "$a[0]:$a[1]:$a[2] $a[3]:$a[4]:$a[5]"',
|
10246
10264
|
PrintConv => '$self->ConvertDateTime($val)',
|
10247
10265
|
},
|
10266
|
+
0xe435 => { Name => 'Sony_rtmd_0xe435', Format => 'int32u', %hidUnk }, # seen: 2000
|
10267
|
+
0xe437 => { Name => 'Sony_rtmd_0xe437', Format => 'int32s', %hidUnk }, # seen: -3800 to -3400
|
10268
|
+
0xe43b => {
|
10269
|
+
Name => 'PitchRollYaw',
|
10270
|
+
Format => 'int16s',
|
10271
|
+
RawConv => 'substr($val, 8)',
|
10272
|
+
},
|
10273
|
+
0xe445 => { Name => 'Sony_rtmd_0xe445', Format => 'int32u', %hidUnk }, # seen: 2000
|
10274
|
+
0xe44b => {
|
10275
|
+
Name => 'Accelerometer', # (NC)
|
10276
|
+
Format => 'int16s',
|
10277
|
+
RawConv => 'substr($val, 8)',
|
10278
|
+
},
|
10248
10279
|
# f010 - 2048 bytes
|
10249
10280
|
# f020 - 543 bytes
|
10250
10281
|
);
|
@@ -10292,6 +10323,26 @@ my %isoSetting2010 = (
|
|
10292
10323
|
ValueConv => '"$val[0] $val[1]Z"',
|
10293
10324
|
PrintConv => '$self->ConvertDateTime($val)',
|
10294
10325
|
},
|
10326
|
+
GPSLatitude => {
|
10327
|
+
SubDoc => 1, # generate for all sub-documents
|
10328
|
+
Groups => { 2 => 'Location' },
|
10329
|
+
Require => {
|
10330
|
+
0 => 'Sony:GPSLatitude',
|
10331
|
+
1 => 'Sony:GPSLatitudeRef',
|
10332
|
+
},
|
10333
|
+
ValueConv => '$val[1] =~ /^S/i ? -$val[0] : $val[0]',
|
10334
|
+
PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "N")',
|
10335
|
+
},
|
10336
|
+
GPSLongitude => {
|
10337
|
+
SubDoc => 1, # generate for all sub-documents
|
10338
|
+
Groups => { 2 => 'Location' },
|
10339
|
+
Require => {
|
10340
|
+
0 => 'Sony:GPSLongitude',
|
10341
|
+
1 => 'Sony:GPSLongitudeRef',
|
10342
|
+
},
|
10343
|
+
ValueConv => '$val[1] =~ /^W/i ? -$val[0] : $val[0]',
|
10344
|
+
PrintConv => 'Image::ExifTool::GPS::ToDMS($self, $val, 1, "E")',
|
10345
|
+
},
|
10295
10346
|
);
|
10296
10347
|
|
10297
10348
|
# add our composite tags
|