Main Menu

Recent posts

#1
Hmmm, that's bad news.

Previously I was using the options
"-FileName<CreateDate"
and
-dateFormat "${working_photos_drive}:\Working Photos\%Y Photos\%Y-%m %B\%Y-%m-%d\%Y-%m-%d $event_name_or_location\PSC_%Y%m%d_%%-4f%%+c.%%e"

to rename images (to PSC_20250405_8729.CR3 for example) and copy them to my date-based folder hierarchy (working_photos_drive and event_name_or_location are Powershell variables that were set earlier in the script).

Now for selected videos with names like A_0001C011A250412_160033EJ_CANON.MP4 I want to rename to something like PSC_250412_0001C011.MP4, and after figuring out what %%-4f meant in my pattern above (I had to do some research because I had forgotten), I discovered I could use %%X.Yf to extract the relevant pieces of the filename (characters 3-10) in the new pattern.
#2
Bug Reports / Feature Requests / Re: AROT Missing
Last post by Neal Krawetz - Today at 01:40:06 PM
Wonderful! Thank you!
#3
Bug Reports / Feature Requests / Re: AROT Missing
Last post by Phil Harvey - Today at 01:32:25 PM
ExifTool 13.28 will decode this as HDRGainCurveSize, and I'll put this in a new AROT group as you suggest.

- Phil
#4
Bug Reports / Feature Requests / Re: AROT Missing
Last post by Neal Krawetz - Today at 01:08:16 PM
For my own uses, I was turning the AROT warning into a separate header for the AROT field. The new "HDR Gain Curve" doesn't help since it doesn't tell the number of lines (N).

< ===== AROT =====
< Records             : 165
78a75,76
> ===== JPEG =====
> HDR Gain Curve      : (Binary data 1126 bytes)

Any chance you could extract this separately?
E.g., instead of:
---- JPEG ----
HDR Gain Curve                  : (Binary data 1126 bytes, use -b option to extract)
Use:
---- AROT ----
HDR Gain Curve Count:  188
HDR Gain Curve                  : (Binary data 1126 bytes, use -b option to extract)
HDR Gain Curve Count, HDR Gain Curve Rows, AROT Rows, whatever. But that number is really important to me.
#5
Bug Reports / Feature Requests / Re: AROT Missing
Last post by StarGeek - Today at 11:30:18 AM
Maybe version 13.05?
QuoteDecode APP10 AROT HDRGainCurve and APP2 URN UniformResourceName

So the tag you would be looking for would be the HDRGainCurve. Though the output probably isn't as simple as N=### anymore.
#6
Bug Reports / Feature Requests / Re: AROT Missing
Last post by Phil Harvey - Today at 11:28:48 AM
Ah, here is the reason:

Dec. 4, 2024 - Version 13.05
  - Decode APP10 AROT HDRGainCurve and APP2 URN UniformResourceName


- Phil
#7
No. Only text, Common Date Format Codes, and file path codes with doubled percent signs (see the -w (-TextOut) option) can be used in a date format string. No tags names can be used.

If the time stamp needs to be split, then the DateFmt helper function must be used. See Writing "FileName" and "Directory" tags example #13.
#8
Metadata / Re: Movie Title, Description, ...
Last post by wywh - Today at 08:50:41 AM
I did a quick test. Sequoia 15.4.1 QuickTime Player does a good job trimming (Edit > Trim...) iPhone 16 Pro .mov with  without losing Keys:GPSCoordinates or any other metadata that QuickTime Player displays. Also a simple split (Edit > Split Clip) preserves metadata.

But doing a split and deleting the middle part or more advanced editing does remove all metadata from the saved version.

Writing GPS with exiftool preserves GPS that QuickTime Player displays (even if it was lost after that more advanced QuickTime Player split edit). Notice that by default exiftool writes to ItemList:GPSCoordinates which QuickTime Player does not read. UserData:GPSCoordinates would work but Apple's devices prefer Keys:GPSCoordinates as well as other Keys metadata such as Description, Keywords, Title, Author, and CreationDate.

exiftool -m -P -overwrite_original -Keys:GPSCoordinates='-36.6101, -66.91515, 119.9' movie.mov
When testing and reporting possible flaws you should also take into account the iOS/iPadOS version, the device, and whether it is a .mp4, .m4v or .mov because they behave differently. Also describe the workflow you used for trimming or cutting the movie in detail. Also use the latest exiftool version.

BTW ffmpeg versions 4-7 still do not properly support movie metadata so it is best to copy it from the originals with exiftool. Apple's apps do not read such ffmpeg generated metadata but surprisingly Google Photos does.

- Matti
#9
Just to confirm, can I use filename regexes in the format string parameter to the -dateFormat option?
#10
ExifTool GUI / Re: ExitToolGui 6.3.8.0 - unkn...
Last post by FrankB - Today at 01:53:23 AM
Glad you got it working!

You will know this by now, but for others reading this thread. The GUI installer CAN also download and install the latest version of ExifTool. But it will not do that automatically, you have to enable that.

Install_ExifTool.jpg

Frank