Main Menu

Recent posts

#11
Newbies / Re: How to use PickLabel Tag i...
Last post by stoffball - Today at 08:40:20 AM
Quote from: keineantwort on Today at 05:17:34 AMWhen I try exiftool -filename -if "$xmp:PickLabel eq '3'" DCIM/Camera/, I get this result:
martin@keineantwort-Mac ~ % exiftool -filename -if "$xmp:PickLabel eq '3'" DCIM/Camera/
    1 directories scanned
   13 files failed condition
    0 image files read

I do not understand, why the last two examples are not working.

On the Mac you need to swap single and double quotes.
On Mac $xmp:PickLabel inside the double quoted string is replaced with the corresponding variable. You must use single quote to prevent this replacement.
#12
Looking at past posts it seems like you've got some corruption in the video file

If you really want to go ahead anyway use the -m flag to ignore the error
#13
Newbies / How to use PickLabel Tag in Co...
Last post by keineantwort - Today at 05:17:34 AM
Hello everyone.

I am quite new to exiftool. I am trying to use exiftool in combination with Hazel to automate my photo backup and sorting workflow.
First I want to use digiKam to set the PickLabel to values 1 (delete), 2 (keep) or 3 (printable). The XMP-Value is set in the file. I verified that with exiftool -s DCIM/Camera/20241118_114409.jpg:
...
Notes                           : Caption MSC TEST
ColorLabel                      : 0
PickLabel                       : 3
Urgency                         : 0 (reserved)
Pick                            : 1
Good                            : True
...

When I try exiftool -a -XMP:PickLabel -s -b DCIM/Camera/20241118_114409.jpg,
martin@keineantwort-Mac ~ % exiftool -a -XMP:PickLabel -s -b DCIM/Camera/20241118_114409.jpg
3% 

When I try exiftool -filename -if "defined $XMP:PickLabel" DCIM/Camera/ I get this result:
martin@keineantwort-Mac ~ % exiftool -filename -if "defined $XMP:PickLabel" DCIM/Camera/
    1 directories scanned
   13 files failed condition
    0 image files read

When I try exiftool -filename -if "$xmp:PickLabel eq '3'" DCIM/Camera/, I get this result:
martin@keineantwort-Mac ~ % exiftool -filename -if "$xmp:PickLabel eq '3'" DCIM/Camera/
    1 directories scanned
   13 files failed condition
    0 image files read

I do not understand, why the last two examples are not working.

I think my goal should be something like
exiftool -filename -if "$xmp:PickLabel eq '3'" DCIM/Camera/

I have no clue how to accomplish that. Do you have any hints?
#14
Hello,

I'm trying to update tags on some videos, but I have this error message, and the tags are not updated:
Error: '0x094c05c4' atom is too large for rewriting (134 MB)

How can I solve this issue ?

Here is a link to one of the videos (but I have hundreds with similar issue):
https://wetransfer.com/downloads/f1ca659b05a506fa00d0f039c5f7103d20241123100002/38dbe2a354f1241469dfadce60a9652720241123100019/28c155?t_exp=1732615202&t_lsid=06100dc2-839b-497c-96d0-8e805699df41&t_network=email&t_rid=ZW1haWx8Njc0MWE3YTJiNjM1NTFjNmY2ZDI4YTJh&t_s=download_link&t_ts=1732356019&utm_campaign=TRN_TDL_01&utm_source=sendgrid&utm_medium=email&trk=TRN_TDL_01

Thanks in advance,

Nice day,

C
#15
Other Discussion / Seeking image samples
Last post by 11august - Today at 04:45:46 AM
Hello all !

For our image analysis software, we are searching samples of original images with the following extensions :

.JFIF
.JIF
.JFI

Sounds like it's quite uncommon, so if by chance you have one somewhere in your files (original i-e with full unmodified metadata if possible), it will be greatly appreciated !

Thank you  :)

#16
Newbies / Re: Exporting GPS coordinates ...
Last post by StarGeek - Today at 02:00:55 AM
The -n (--printConv) option will output the coordinates as simple numbers, e.g. -36.716708/174.74632. The downside to that option is that it is global and will affect the output of other tags you might look at.

The -c (-coordFormat) option can be used to reformat the values any way you would like.
#17
Install Problems / Re: 12.96 [Warning: Library ve...
Last post by Lars E. - Today at 12:11:30 AM
As my search engine lead me here when searching for
"13.03 [Warning: Library version is 11.14]"
I post my solution here.
On my Mac computer (macos) I had installed an earlier version of exiftool by using the macos installer.

Now I decided to install the latest version by using the make process as described in section https://exiftool.org/install.html#Unix resulting in problems with the error message

Undefined subroutine Image::ExifTool::IsPC called at /usr/local/bin/lib/Image/ExifTool.pm line 4292

exiftool -ver resulted in
"13.03 [Warning: Library version is 11.14]"

Solution (after trying the hints given here, witout success) was found on the website, at https://exiftool.org/install.html#MacOS

QuoteNotes:
Both MacOS installation techniques outlined above place exiftool and its lib directory in /usr/local/bin, while the standard Unix "make install" described below puts "exiftool" in /usr/local/bin and the individual libraries in /Library/Perl/#.#.#, where "#.#.#" is your Perl version. If both sets of libraries exist, /usr/local/bin/lib takes precedence for exiftool, but /Library/Perl/#.#.# is the default for any other Perl scripts.

Renaming /usr/local/bin/lib solved the problem with the outdated library:
sudo mv /usr/local/bin/lib lib_2018_exiftool


NB: My fist post, my apologies if this post would be considered off-topic here.
#18
Newbies / Re: Exporting GPS coordinates ...
Last post by kurtm - November 22, 2024, 11:44:53 PM
I'm brand new to this application and so far using the easy drag-drop to exiftool(-k).exe method.

I do have a question about the GPS output format. How do I get exiftool to output a different GPS location string. By default it produces a GPS position string of (eg) "36 deg 43' 0.15" S, 174 deg 44' 46.76" E", however I would like it to be "36.716708° S, 174.74632° E" or "-36.716708°, 174.74632°"

The reason is that it makes it much easier to work with Google Earth which doesn't (in my case) accept the original coordinates. It locates longitude to north instead of south.

Thanks,
Kurt
#19
Metadata / Update CreateDate (Video files...
Last post by vvmobservant - November 22, 2024, 11:37:32 PM
I am trying to educate myself on this tool, so please pardon my ignorance.

Google Takeout - Album of video files - mp4. Filename - vfile.mp4. JSON file is vfile.mp4.json.

WINDOWS 11 - CMD

JSON file has entry
  "photoTakenTime": {
    "timestamp": "1699489616",
    "formatted": "Nov 9, 2023, 12:26:56 AM UTC"
  },

exiftool -time:all -a -G0:1 -s vfile.mp4

results in

[File:System]   FileModifyDate                  : 2024:11:22 19:22:12-06:00
[File:System]   FileAccessDate                  : 2024:11:22 19:25:14-06:00
[File:System]   FileCreateDate                  : 2024:11:22 19:25:14-06:00
[QuickTime]     CreateDate                      : 0000:00:00 00:00:00
[QuickTime]     ModifyDate                      : 0000:00:00 00:00:00
[QuickTime:Track1] TrackCreateDate              : 0000:00:00 00:00:00
[QuickTime:Track1] TrackModifyDate              : 0000:00:00 00:00:00
[QuickTime:Track1] MediaCreateDate              : 0000:00:00 00:00:00
[QuickTime:Track1] MediaModifyDate              : 0000:00:00 00:00:00
[QuickTime:Track2] TrackCreateDate              : 0000:00:00 00:00:00
[QuickTime:Track2] TrackModifyDate              : 0000:00:00 00:00:00
[QuickTime:Track2] MediaCreateDate              : 0000:00:00 00:00:00
[QuickTime:Track2] MediaModifyDate              : 0000:00:00 00:00:00

Command used to update CreateDate tag (which has zeroes currently) with value in JSON file

exiftool -tagsfromfile "%d %F.json" "-Quicktime:CreateDate<PhotoTakenTimeTimestamp" vfile.mp4

However I get an error
Warning: Error opening file -  vfile.mp4.json
    0 image files updated
    1 image files unchanged

Also, do I need UTC in QuickTimeUTC for CreateTag?

json file exists in the current directory only.


#20
Bug Reports / Feature Requests / Re: extended attributes (featu...
Last post by greybeard - November 22, 2024, 02:05:33 PM
To add to Stargeek's response try something like this and see if it does what you want:

exiftool -a -G1 -api RequestAll=2 f1.jpg