exiftool-vendored.pl 12.44.0 → 12.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/Changes +112 -3
- package/bin/MANIFEST +9 -0
- package/bin/META.json +1 -1
- package/bin/META.yml +1 -1
- package/bin/README +45 -44
- package/bin/config_files/acdsee.config +2 -1
- package/bin/config_files/frameCount.config +56 -0
- package/bin/config_files/tiff_version.config +1 -1
- package/bin/exiftool +85 -73
- package/bin/fmt_files/gpx.fmt +3 -0
- package/bin/fmt_files/gpx_wpt.fmt +3 -0
- package/bin/lib/Image/ExifTool/Apple.pm +6 -2
- package/bin/lib/Image/ExifTool/BuildTagLookup.pm +17 -9
- package/bin/lib/Image/ExifTool/Canon.pm +33 -15
- package/bin/lib/Image/ExifTool/CanonRaw.pm +8 -1
- package/bin/lib/Image/ExifTool/CanonVRD.pm +7 -8
- package/bin/lib/Image/ExifTool/EXE.pm +9 -1
- package/bin/lib/Image/ExifTool/Exif.pm +11 -7
- package/bin/lib/Image/ExifTool/FLAC.pm +17 -3
- package/bin/lib/Image/ExifTool/FLIR.pm +4 -3
- package/bin/lib/Image/ExifTool/FlashPix.pm +4 -2
- package/bin/lib/Image/ExifTool/FujiFilm.pm +31 -5
- package/bin/lib/Image/ExifTool/GPS.pm +2 -2
- package/bin/lib/Image/ExifTool/ICC_Profile.pm +3 -2
- package/bin/lib/Image/ExifTool/ICO.pm +141 -0
- package/bin/lib/Image/ExifTool/ID3.pm +6 -6
- package/bin/lib/Image/ExifTool/M2TS.pm +55 -8
- package/bin/lib/Image/ExifTool/MIE.pm +9 -3
- package/bin/lib/Image/ExifTool/MISB.pm +494 -0
- package/bin/lib/Image/ExifTool/MakerNotes.pm +3 -1
- package/bin/lib/Image/ExifTool/Matroska.pm +24 -16
- package/bin/lib/Image/ExifTool/Nikon.pm +39 -31
- package/bin/lib/Image/ExifTool/NikonSettings.pm +5 -3
- package/bin/lib/Image/ExifTool/Panasonic.pm +21 -4
- package/bin/lib/Image/ExifTool/PanasonicRaw.pm +25 -5
- package/bin/lib/Image/ExifTool/Photoshop.pm +29 -3
- package/bin/lib/Image/ExifTool/QuickTime.pm +113 -8
- package/bin/lib/Image/ExifTool/QuickTimeStream.pl +44 -6
- package/bin/lib/Image/ExifTool/README +1 -1
- package/bin/lib/Image/ExifTool/RIFF.pm +106 -9
- package/bin/lib/Image/ExifTool/Samsung.pm +2 -2
- package/bin/lib/Image/ExifTool/Sigma.pm +27 -1
- package/bin/lib/Image/ExifTool/SigmaRaw.pm +37 -13
- package/bin/lib/Image/ExifTool/Sony.pm +8 -3
- package/bin/lib/Image/ExifTool/TagLookup.pm +188 -7
- package/bin/lib/Image/ExifTool/TagNames.pod +3051 -2732
- package/bin/lib/Image/ExifTool/Text.pm +3 -4
- package/bin/lib/Image/ExifTool/Torrent.pm +2 -3
- package/bin/lib/Image/ExifTool/Validate.pm +3 -3
- package/bin/lib/Image/ExifTool/WriteCanonRaw.pl +7 -0
- package/bin/lib/Image/ExifTool/WriteExif.pl +100 -23
- package/bin/lib/Image/ExifTool/WriteIPTC.pl +2 -6
- package/bin/lib/Image/ExifTool/WriteRIFF.pl +359 -0
- package/bin/lib/Image/ExifTool/Writer.pl +10 -3
- package/bin/lib/Image/ExifTool/XMP.pm +76 -58
- package/bin/lib/Image/ExifTool/XMP2.pl +11 -4
- package/bin/lib/Image/ExifTool.pm +75 -15
- package/bin/lib/Image/ExifTool.pod +61 -57
- package/bin/perl-Image-ExifTool.spec +43 -43
- package/bin/pp_build_exe.args +7 -4
- package/package.json +2 -2
package/bin/Changes
CHANGED
|
@@ -7,6 +7,115 @@ RSS feed: https://exiftool.org/rss.xml
|
|
|
7
7
|
Note: The most recent production release is Version 12.42. (Other versions are
|
|
8
8
|
considered development releases, and are not uploaded to MetaCPAN.)
|
|
9
9
|
|
|
10
|
+
Oct. 19, 2022 - Version 12.49
|
|
11
|
+
|
|
12
|
+
- Added read support for Windows ICO and CUR files
|
|
13
|
+
- Added ability to shift EXIF OffsetTime tags (eg. "-OffsetTime+=+02:00")
|
|
14
|
+
- Added a few new XMP tags and print conversions
|
|
15
|
+
- Added a print conversion for Photoshop:PrintFlags
|
|
16
|
+
- Added a new SonyModelID (thanks LibRaw)
|
|
17
|
+
- Added a few new Canon RF LensType values (thanks Norbert Wasser)
|
|
18
|
+
- Added a new Canon LensType
|
|
19
|
+
- Added a new Nikon LensID
|
|
20
|
+
- Decode 'riff' metadata blocks in FLAC audio files
|
|
21
|
+
- Decode RIFF 'acid' chunk written by Acidizer
|
|
22
|
+
- Enhanced the -d option %f sub-second date/time format code to allow the
|
|
23
|
+
decimal point to be dropped (eg. "%-3f")
|
|
24
|
+
- Patched another Sigma Photo Pro incompatibility when writing X3F images
|
|
25
|
+
(Sigma will also fix this at their end in the next SPP release)
|
|
26
|
+
|
|
27
|
+
Oct. 13, 2022 - Version 12.48
|
|
28
|
+
|
|
29
|
+
- Added support for new XMP-photoshop:CameraProfiles structure
|
|
30
|
+
- Added a new SonyModelID and Sony LensType (thanks Jos Roost)
|
|
31
|
+
- Decode more tags for the Sony ILME-FX30 (thanks Jos Roost)
|
|
32
|
+
- Decode a couple of new Panasonic tags, and improved decoding of others
|
|
33
|
+
- Decode STANAG-4609 MISB timed metadata from M2TS videos
|
|
34
|
+
- Decode a new Nikon tag (thanks Warren Hatch)
|
|
35
|
+
- Decode a couple of new FujiFilm tags (thanks Honza Pokorny)
|
|
36
|
+
- Improved round-off errors when writing QuickTime:MatrixStructure via the
|
|
37
|
+
Composite:Rotation tag
|
|
38
|
+
- Increased Verbose level of "nothing changed" message added in 12.45
|
|
39
|
+
- Removed "Z" (Zulu) designation from some of the MS-DOC date/time tags
|
|
40
|
+
because they most certainly are in local time as written by Word 2011 for
|
|
41
|
+
Mac (while some other MS-DOC and FlashPix date/time tags extracted without a
|
|
42
|
+
"Z" are actually in Zulu time -- a bit of a mess really)
|
|
43
|
+
- Prevent dynamically-generated Unknown tags from being extracted when the
|
|
44
|
+
-validate option is used without -u
|
|
45
|
+
- Patched to better handle irregular timestamps in streaming GPS of NextBase
|
|
46
|
+
dashcam videos
|
|
47
|
+
- Fixed incompatibility with Sigma Photo Pro which could result in Sigma Photo
|
|
48
|
+
Pro corrupting an ExifTool-edited X3F image (the section length in the
|
|
49
|
+
footer needed to include the padding to a 4-byte boundary, thanks Sigma
|
|
50
|
+
engineer Yuki Miyahara)
|
|
51
|
+
- Fixed problem which could prevent ExifTool from reading all GPS points from
|
|
52
|
+
some INNOV M2TS videos
|
|
53
|
+
|
|
54
|
+
Oct. 3, 2022 - Version 12.47
|
|
55
|
+
|
|
56
|
+
- Added a new Nikon LensID (thanks David Puschel)
|
|
57
|
+
- Fixed bug introduced in 12.46 which resulted in a runtime error when -j was
|
|
58
|
+
combined with -b
|
|
59
|
+
|
|
60
|
+
Oct. 1, 2022 - Version 12.46 - "Write WEBP"
|
|
61
|
+
|
|
62
|
+
- Added WEBP write support
|
|
63
|
+
- Added the abilty to write Panasonic GH6 RW2 files
|
|
64
|
+
- Added a new Canon LensType
|
|
65
|
+
- Added a number of new Sigma LensType values (thanks LibRaw)
|
|
66
|
+
- Added support for BigTIFF format code 16 in Apple ProRaw maker notes
|
|
67
|
+
- Added config_files/frameCount.config to extract MP4 FrameCount
|
|
68
|
+
- Added a MIE OriginalImageSize tag
|
|
69
|
+
- Added some extra -validate checks for RIFF-based file formats
|
|
70
|
+
- Extract FrameRate from MP4 tmcd box
|
|
71
|
+
- Decode a new Apple tag (thanks Neal Krawetz)
|
|
72
|
+
- Decode more information from Nikon Z-camera videos
|
|
73
|
+
- Decode streaming GPS from Garmin DriveAssist 51 MP4 videos
|
|
74
|
+
- Changed the names of two FujiFilm FirmwareVersion tags
|
|
75
|
+
- Enhanced WEBP FileType identification to denote Extended WEBP
|
|
76
|
+
- Preserve fractional seconds when extracting Samsung TimeStamp times
|
|
77
|
+
- Patched to avoid reporting Photoshop:ProgressiveScans unless PhotoshopFormat
|
|
78
|
+
is Progressive
|
|
79
|
+
- Patched to test QuickTime UserData tags with default 0x0000 language code to
|
|
80
|
+
see if they contain UTF8 characters, and if so assume UTF8 encoding and
|
|
81
|
+
ignore the CharsetQuickTime setting
|
|
82
|
+
- Patched to avoid potential deep recursion when reading/writing malicious CRW
|
|
83
|
+
images
|
|
84
|
+
- Fixed "Invalid ID3 frame size" problem when reading ID3v2 with an extended
|
|
85
|
+
header (very uncommon, but Audacity uses this)
|
|
86
|
+
- Fixed typo in the name of a new DNG 1.6 tag
|
|
87
|
+
- Fixed some verbose warnings when reading Nikon Z-camera NEF files
|
|
88
|
+
- Fixed decoding of a couple of Nikon Z9 tags for newer firmware versions
|
|
89
|
+
(thanks Warren Hatch)
|
|
90
|
+
|
|
91
|
+
Sept. 16, 2022 - Version 12.45
|
|
92
|
+
|
|
93
|
+
- Added new IPTC Video Metadata version 1.3 tags
|
|
94
|
+
- Added a couple of new Canon lenses (thanks Norbert Wasser)
|
|
95
|
+
- Added a new Sony LensType (thanks Jos Roost)
|
|
96
|
+
- Added known Unknown value for IPTC ChromaticityColorant (thanks Herb)
|
|
97
|
+
- Added new Nikon WhiteBalanceFineTune tag (thanks Milos Komarcevic)
|
|
98
|
+
- Extract the raw thermal data from all frames of a SEQ file when -ee2 is used
|
|
99
|
+
- Decode individual tags in QuickTime ColorRepresentation
|
|
100
|
+
- Decode a new Matroska tag
|
|
101
|
+
- Improved verbose "nothing changed" messages when writing
|
|
102
|
+
- Patched -ee option to extract metadata after the first Cluster in MKV videos
|
|
103
|
+
(previously only -U and -v did this)
|
|
104
|
+
- Patched to differentiate Java bytecode .class files from Mach-O fat binaries
|
|
105
|
+
- Patched to avoid "Use of uninitialized value" warning when deleting GPS
|
|
106
|
+
coordinates via the newly writable Composite tags
|
|
107
|
+
- Patched to avoid duplicating raw data when writing Sony ARW images where the
|
|
108
|
+
raw data is double-referenced as both strips and tiles (affects ARW images
|
|
109
|
+
from some newer models like the ILCE-1 when SonyRawFileType is "Lossless
|
|
110
|
+
Compressed RAW 2")
|
|
111
|
+
- Patched to avoid "fixing" the order of IFD entries in TIFF-based RAW files
|
|
112
|
+
to improve compatibility with some RAW viewers
|
|
113
|
+
- Minor change to Composite FileNumber to remove "-" when -n is used
|
|
114
|
+
- Fixed problem extracting some timed metadata when "-api ignoretags=all" was
|
|
115
|
+
used with "-api requesttags" to request the specific information
|
|
116
|
+
- Fixed -validate feature to avoid incorrectly warning about non-capitalized
|
|
117
|
+
boolean values in XMP
|
|
118
|
+
|
|
10
119
|
July 21, 2022 - Version 12.44
|
|
11
120
|
|
|
12
121
|
- Added a few new Sony lenses (thanks Jos Roost)
|
|
@@ -276,6 +385,8 @@ Aug. 12, 2021 - Version 12.30 (production release)
|
|
|
276
385
|
currently can't be created)
|
|
277
386
|
- Patched to remove 2 GB size limit when reading Photoshop ImageSourceData
|
|
278
387
|
|
|
388
|
+
History of older versions (back to Nov. 19, 2003 - Version 1.00) -->
|
|
389
|
+
|
|
279
390
|
July 9, 2021 - Version 12.29
|
|
280
391
|
|
|
281
392
|
- Added a few new Nikon and Olympus lenses (thanks LibRaw)
|
|
@@ -330,8 +441,6 @@ May 20, 2021 - Version 12.26 (production release)
|
|
|
330
441
|
- Fixed problem which could cause a "Wide character" warning and generate a
|
|
331
442
|
corrupted output file when writing some illegal values
|
|
332
443
|
|
|
333
|
-
History of older versions (back to Nov. 19, 2003 - Version 1.00) -->
|
|
334
|
-
|
|
335
444
|
Apr. 22, 2021 - Version 12.25
|
|
336
445
|
|
|
337
446
|
- JPEG XL support is now official
|
|
@@ -647,7 +756,7 @@ Aug. 10, 2020 - Version 12.04
|
|
|
647
756
|
- Moved new QuckTime ItemList tags added in version 12.02 to the proper group
|
|
648
757
|
(they were incorrectly added to the Keys group)
|
|
649
758
|
- Improved QuickTime -v3 output to show default language codes
|
|
650
|
-
- Patched -lang option to work for the values of
|
|
759
|
+
- Patched -lang option to work for the values of some tags with coded
|
|
651
760
|
translations
|
|
652
761
|
- Patched the format of a number of QuickTime tags when writing for improved
|
|
653
762
|
compatibility with iTunes and AtomicParsley
|
package/bin/MANIFEST
CHANGED
|
@@ -23,6 +23,7 @@ config_files/cuepointlist.config
|
|
|
23
23
|
config_files/depthmap.config
|
|
24
24
|
config_files/example.config
|
|
25
25
|
config_files/fotoware.config
|
|
26
|
+
config_files/frameCount.config
|
|
26
27
|
config_files/gps2utm.config
|
|
27
28
|
config_files/nksc.config
|
|
28
29
|
config_files/photoshop_paths.config
|
|
@@ -84,6 +85,7 @@ html/TagNames/H264.html
|
|
|
84
85
|
html/TagNames/HP.html
|
|
85
86
|
html/TagNames/HTML.html
|
|
86
87
|
html/TagNames/ICC_Profile.html
|
|
88
|
+
html/TagNames/ICO.html
|
|
87
89
|
html/TagNames/ID3.html
|
|
88
90
|
html/TagNames/IPTC.html
|
|
89
91
|
html/TagNames/ISO.html
|
|
@@ -102,6 +104,7 @@ html/TagNames/Lytro.html
|
|
|
102
104
|
html/TagNames/M2TS.html
|
|
103
105
|
html/TagNames/MIE.html
|
|
104
106
|
html/TagNames/MIFF.html
|
|
107
|
+
html/TagNames/MISB.html
|
|
105
108
|
html/TagNames/MNG.html
|
|
106
109
|
html/TagNames/MOI.html
|
|
107
110
|
html/TagNames/MPC.html
|
|
@@ -291,6 +294,7 @@ lib/Image/ExifTool/HP.pm
|
|
|
291
294
|
lib/Image/ExifTool/HTML.pm
|
|
292
295
|
lib/Image/ExifTool/HtmlDump.pm
|
|
293
296
|
lib/Image/ExifTool/ICC_Profile.pm
|
|
297
|
+
lib/Image/ExifTool/ICO.pm
|
|
294
298
|
lib/Image/ExifTool/ID3.pm
|
|
295
299
|
lib/Image/ExifTool/IPTC.pm
|
|
296
300
|
lib/Image/ExifTool/ISO.pm
|
|
@@ -329,6 +333,7 @@ lib/Image/ExifTool/M2TS.pm
|
|
|
329
333
|
lib/Image/ExifTool/MIE.pm
|
|
330
334
|
lib/Image/ExifTool/MIEUnits.pod
|
|
331
335
|
lib/Image/ExifTool/MIFF.pm
|
|
336
|
+
lib/Image/ExifTool/MISB.pm
|
|
332
337
|
lib/Image/ExifTool/MNG.pm
|
|
333
338
|
lib/Image/ExifTool/MOI.pm
|
|
334
339
|
lib/Image/ExifTool/MPC.pm
|
|
@@ -417,6 +422,7 @@ lib/Image/ExifTool/WritePNG.pl
|
|
|
417
422
|
lib/Image/ExifTool/WritePhotoshop.pl
|
|
418
423
|
lib/Image/ExifTool/WritePostScript.pl
|
|
419
424
|
lib/Image/ExifTool/WriteQuickTime.pl
|
|
425
|
+
lib/Image/ExifTool/WriteRIFF.pl
|
|
420
426
|
lib/Image/ExifTool/WriteXMP.pl
|
|
421
427
|
lib/Image/ExifTool/Writer.pl
|
|
422
428
|
lib/Image/ExifTool/XMP.pm
|
|
@@ -792,6 +798,9 @@ t/RIFF.t
|
|
|
792
798
|
t/RIFF_2.out
|
|
793
799
|
t/RIFF_3.out
|
|
794
800
|
t/RIFF_4.out
|
|
801
|
+
t/RIFF_5.out
|
|
802
|
+
t/RIFF_6.out
|
|
803
|
+
t/RIFF_7.out
|
|
795
804
|
t/RTF.t
|
|
796
805
|
t/RTF_2.out
|
|
797
806
|
t/Radiance.t
|
package/bin/META.json
CHANGED
package/bin/META.yml
CHANGED
package/bin/README
CHANGED
|
@@ -14,48 +14,48 @@ supported by ExifTool (r = read, w = write, c = create):
|
|
|
14
14
|
|
|
15
15
|
File Types
|
|
16
16
|
------------+-------------+-------------+-------------+------------
|
|
17
|
-
360 r/w |
|
|
18
|
-
3FR r |
|
|
19
|
-
3G2 r/w |
|
|
20
|
-
3GP r/w |
|
|
21
|
-
A r |
|
|
22
|
-
AA r |
|
|
23
|
-
AAE r |
|
|
24
|
-
AAX r/w |
|
|
25
|
-
ACR r |
|
|
26
|
-
AFM r |
|
|
27
|
-
AI r/w |
|
|
28
|
-
AIFF r |
|
|
29
|
-
APE r |
|
|
30
|
-
ARQ r/w |
|
|
31
|
-
ARW r/w |
|
|
32
|
-
ASF r |
|
|
33
|
-
AVI r |
|
|
34
|
-
AVIF r/w |
|
|
35
|
-
AZW r |
|
|
36
|
-
BMP r |
|
|
37
|
-
BPG r |
|
|
38
|
-
BTF r |
|
|
39
|
-
CHM r |
|
|
40
|
-
COS r |
|
|
41
|
-
CR2 r/w |
|
|
42
|
-
CR3 r/w |
|
|
43
|
-
CRM r/w |
|
|
44
|
-
CRW r/w |
|
|
45
|
-
CS1 r/w |
|
|
46
|
-
CSV r |
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
17
|
+
360 r/w | DPX r | ITC r | NRW r/w | RAM r
|
|
18
|
+
3FR r | DR4 r/w/c | J2C r | NUMBERS r | RAR r
|
|
19
|
+
3G2 r/w | DSS r | JNG r/w | O r | RAW r/w
|
|
20
|
+
3GP r/w | DV r | JP2 r/w | ODP r | RIFF r
|
|
21
|
+
A r | DVB r/w | JPEG r/w | ODS r | RSRC r
|
|
22
|
+
AA r | DVR-MS r | JSON r | ODT r | RTF r
|
|
23
|
+
AAE r | DYLIB r | JXL r | OFR r | RW2 r/w
|
|
24
|
+
AAX r/w | EIP r | K25 r | OGG r | RWL r/w
|
|
25
|
+
ACR r | EPS r/w | KDC r | OGV r | RWZ r
|
|
26
|
+
AFM r | EPUB r | KEY r | ONP r | RM r
|
|
27
|
+
AI r/w | ERF r/w | LA r | OPUS r | SEQ r
|
|
28
|
+
AIFF r | EXE r | LFP r | ORF r/w | SKETCH r
|
|
29
|
+
APE r | EXIF r/w/c | LIF r | ORI r/w | SO r
|
|
30
|
+
ARQ r/w | EXR r | LNK r | OTF r | SR2 r/w
|
|
31
|
+
ARW r/w | EXV r/w/c | LRV r/w | PAC r | SRF r
|
|
32
|
+
ASF r | F4A/V r/w | M2TS r | PAGES r | SRW r/w
|
|
33
|
+
AVI r | FFF r/w | M4A/V r/w | PBM r/w | SVG r
|
|
34
|
+
AVIF r/w | FITS r | MACOS r | PCD r | SWF r
|
|
35
|
+
AZW r | FLA r | MAX r | PCX r | THM r/w
|
|
36
|
+
BMP r | FLAC r | MEF r/w | PDB r | TIFF r/w
|
|
37
|
+
BPG r | FLIF r/w | MIE r/w/c | PDF r/w | TORRENT r
|
|
38
|
+
BTF r | FLV r | MIFF r | PEF r/w | TTC r
|
|
39
|
+
CHM r | FPF r | MKA r | PFA r | TTF r
|
|
40
|
+
COS r | FPX r | MKS r | PFB r | TXT r
|
|
41
|
+
CR2 r/w | GIF r/w | MKV r | PFM r | VCF r
|
|
42
|
+
CR3 r/w | GPR r/w | MNG r/w | PGF r | VRD r/w/c
|
|
43
|
+
CRM r/w | GZ r | MOBI r | PGM r/w | VSD r
|
|
44
|
+
CRW r/w | HDP r/w | MODD r | PLIST r | WAV r
|
|
45
|
+
CS1 r/w | HDR r | MOI r | PICT r | WDP r/w
|
|
46
|
+
CSV r | HEIC r/w | MOS r/w | PMP r | WEBP r/w
|
|
47
|
+
CUR r | HEIF r/w | MOV r/w | PNG r/w | WEBM r
|
|
48
|
+
CZI r | HTML r | MP3 r | PPM r/w | WMA r
|
|
49
|
+
DCM r | ICC r/w/c | MP4 r/w | PPT r | WMV r
|
|
50
|
+
DCP r/w | ICO r | MPC r | PPTX r | WTV r
|
|
51
|
+
DCR r | ICS r | MPG r | PS r/w | WV r
|
|
52
|
+
DFONT r | IDML r | MPO r/w | PSB r/w | X3F r/w
|
|
53
|
+
DIVX r | IIQ r/w | MQV r/w | PSD r/w | XCF r
|
|
54
|
+
DJVU r | IND r/w | MRC r | PSP r | XLS r
|
|
55
|
+
DLL r | INSP r/w | MRW r/w | QTIF r/w | XLSX r
|
|
56
|
+
DNG r/w | INSV r | MXF r | R3D r | XMP r/w/c
|
|
57
|
+
DOC r | INX r | NEF r/w | RA r | ZIP r
|
|
58
|
+
DOCX r | ISO r | NKSC r/w | RAF r/w |
|
|
59
59
|
|
|
60
60
|
Meta Information
|
|
61
61
|
----------------------+----------------------+---------------------
|
|
@@ -107,8 +107,8 @@ your home directory, then you would type the following commands in a
|
|
|
107
107
|
terminal window to extract and run ExifTool:
|
|
108
108
|
|
|
109
109
|
cd ~/Desktop
|
|
110
|
-
gzip -dc Image-ExifTool-12.
|
|
111
|
-
cd Image-ExifTool-12.
|
|
110
|
+
gzip -dc Image-ExifTool-12.49.tar.gz | tar -xf -
|
|
111
|
+
cd Image-ExifTool-12.49
|
|
112
112
|
./exiftool t/images/ExifTool.jpg
|
|
113
113
|
|
|
114
114
|
Note: These commands extract meta information from one of the test images.
|
|
@@ -199,6 +199,7 @@ distribution package:
|
|
|
199
199
|
depthmap.config - Extract Google DepthMap images
|
|
200
200
|
example.config - General example showing config features
|
|
201
201
|
fotoware.config - Definitions for writing Fotoware XMP tags
|
|
202
|
+
frameCount.config - Extract FrameCount from MP4 videos
|
|
202
203
|
gps2utm.config - Generate UTM coordinate tags from GPS info
|
|
203
204
|
gpsdatetime.config - Make GPSDateTime from CreateDate+SampleTime
|
|
204
205
|
nksc.config - Decode tags in Nikon ViewNX NKSC files
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
# from original names to new names, for example
|
|
64
64
|
# "RegionInfoACDSeeAppliedToDimensions*" -> "ACDSeeRegionAppliedToDimensions*"
|
|
65
65
|
# "RegionInfoACDSeeRegionList* -> "ACDSeeRegion*"
|
|
66
|
+
# 2022/10/03 - PH Set group name properly to XMP-acdsee-rs
|
|
66
67
|
#------------------------------------------------------------------------------
|
|
67
68
|
use Data::Dumper;
|
|
68
69
|
|
|
@@ -211,7 +212,7 @@ my %sACDSeeRegionStruct = (
|
|
|
211
212
|
);
|
|
212
213
|
|
|
213
214
|
%Image::ExifTool::UserDefined::ACDSeeRegions = (
|
|
214
|
-
GROUPS => { 0 => 'XMP', 1 => 'XMP-acdsee', 2 => 'Image' },
|
|
215
|
+
GROUPS => { 0 => 'XMP', 1 => 'XMP-acdsee-rs', 2 => 'Image' },
|
|
215
216
|
NAMESPACE => { 'acdsee-rs' => 'http://ns.acdsee.com/regions/' },
|
|
216
217
|
WRITABLE => 'string', # (default to string-type tags)
|
|
217
218
|
Regions => {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
#------------------------------------------------------------------------------
|
|
2
|
+
# File: frameCount.config
|
|
3
|
+
#
|
|
4
|
+
# Description: ExifTool config file to extract MP4 video FrameCount
|
|
5
|
+
#
|
|
6
|
+
# Usage: exiftool -config frameCount.config -frameCount FILE
|
|
7
|
+
#
|
|
8
|
+
# Requires: ExifTool version 7.99 or later
|
|
9
|
+
#
|
|
10
|
+
# Revisions: 2022-09-22 - P. Harvey Created
|
|
11
|
+
#
|
|
12
|
+
# Notes: Enables Unknown option to extract the required SampleSizes atom
|
|
13
|
+
#------------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
%Image::ExifTool::UserDefined = (
|
|
16
|
+
'Image::ExifTool::Composite' => {
|
|
17
|
+
'FrameCount' => {
|
|
18
|
+
Require => {
|
|
19
|
+
0 => 'HandlerType',
|
|
20
|
+
},
|
|
21
|
+
Desire => {
|
|
22
|
+
1 => 'SampleSizes',
|
|
23
|
+
2 => 'CompactSampleSizes',
|
|
24
|
+
},
|
|
25
|
+
Groups => { 2 => 'Video' },
|
|
26
|
+
ValueConv => q{
|
|
27
|
+
my ($i, $tag, $ptr);
|
|
28
|
+
my $key = 'HandlerType';
|
|
29
|
+
# find video track number
|
|
30
|
+
for ($i=1; defined $val[0]; ++$i) {
|
|
31
|
+
last if $val[0] eq 'Video Track';
|
|
32
|
+
$key = "HandlerType ($i)";
|
|
33
|
+
$val[0] = $self->GetValue($key);
|
|
34
|
+
}
|
|
35
|
+
my $trk = $self->GetGroup($key, 1);
|
|
36
|
+
# search for SampleSizes or CompactSampleSizes for this track
|
|
37
|
+
foreach $tag ('SampleSizes', 'CompactSampleSizes') {
|
|
38
|
+
$key = $tag;
|
|
39
|
+
for ($i=1; ; ++$i) {
|
|
40
|
+
$ptr = $self->GetValue($key);
|
|
41
|
+
last unless $ptr;
|
|
42
|
+
last if $self->GetGroup($key, 1) eq $trk;
|
|
43
|
+
$key = "$tag ($i)";
|
|
44
|
+
}
|
|
45
|
+
last if $ptr;
|
|
46
|
+
}
|
|
47
|
+
return undef unless $ptr;
|
|
48
|
+
return unpack('x8N', $$ptr);
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
%Image::ExifTool::UserDefined::Options = (
|
|
55
|
+
Unknown => 1, # (otherwise SampleSizes won't be extracted)
|
|
56
|
+
);
|
|
@@ -113,7 +113,7 @@ sub has_defined {
|
|
|
113
113
|
],
|
|
114
114
|
);
|
|
115
115
|
|
|
116
|
-
# Must set
|
|
116
|
+
# Must set SaveFormat option to provide access to the tag format types
|
|
117
117
|
%Image::ExifTool::UserDefined::Options = (
|
|
118
118
|
SaveFormat => 1,
|
|
119
119
|
);
|