Questions tagged [exiftool]
ExifTool is a platform-independent library & CLI application for reading/writing metadata in a wide variety of file types. Most notably, ExifTool can modify EXIF tags in digital images, and ID3 tags in songs.
84 questions
1
vote
1
answer
146
views
Loop through subfolders and execute a command on each file
I have the following folder tree (for example)
C:\test\subfolder1\maybeSubsubfolder1\maybeMoreSubfolders
\maybeSubsubfolder2\maybeMoreSubfolders
\...
\...
7
votes
2
answers
511
views
Find jpg files without Keywords/Subject in Iptc/Xmp and copy them
I have 10s of thousands of JPG photos in multiple sub-folders under a single folder and quite a few of these picture files have no keywords in their metadata.
I want to find a way to scan through all ...
1
vote
1
answer
121
views
ExifTool warning: "Skipping 'moov' atom > 32 MiB" when calculating total MP4 duration
I'm trying to calculate the total duration of multiple .mp4 files using exiftool. The command I’m using successfully outputs the total duration, but I receive the following warning for one of the ...
0
votes
1
answer
221
views
How do I change the DPI in a JPG from the command line (eg exiftool) and have the new DPI be recognized by Photoshop?
I am generating jpgs which default to 72dpi when born. I want to change the dpi from the command line. I can use exiftool to change dpi metadata like this:
exiftool -a -XResolution=300 -YResolution=...
1
vote
1
answer
307
views
Recursively setting all .mp4 files name as it title
This script is supposed to copy the file name and set it as the title (EXIF metadata) of the video, I got the ExifTool command to from the Video Stack Exchange, and it worked as expected, but I now ...
1
vote
1
answer
2k
views
How to use ffmpeg or exiftool to write tags into meta data of mp4 file?
I have the following command executed under Ubuntu App on Windows 11:
ffmpeg -i "$mp4_file" \
-metadata:s:s:0 language=eng \
-metadata title="My Title Is Here Guys!" \
-...
2
votes
2
answers
3k
views
EXIFTOOL, track creation date, and timezone
I am trying to make sense of the QuickTime/TrackCreateDate value obtained for a file created by camera recording on an iPhone 15, latest OS. In this case, I was in Japan at the time. According to ...
4
votes
1
answer
4k
views
how to fix timezone of images using exiftool
I received some photos from a photographer.
When I use exiftool I discover that the timezone of the photographer's camera was incorrect.
Create Date : 2024:04:21 05:40:41-05:00
...
-1
votes
1
answer
269
views
Video to geotagged images using powershell
I have an MP4 from a GoPro with a gpstrack included. Now I am trying to extract a geotagged image sequence from that video.
For that I am currently using FFmpeg and exiftool; I'm open to better ...
4
votes
3
answers
2k
views
Is it possible to change tags that are not writable by exiftool?
I have a (Dolby Vision) video file test.mp4 but has hev1 in video track Codec ID (ffmpeg) or Compressor ID (exiftool)
exiftool -CompatibleBrands -CompressorID test.mp4
Compatible Brands :...
1
vote
1
answer
816
views
Safely strip metadata from images in a folder, add a value to some tags
I have a directory structure that contains a lot of JPEG/JPG, PNG, SVG, and WEBP images in several subdirectories. I want to strip all metadata from these images except anything that would be ...
0
votes
0
answers
278
views
Geotag with exiftool failed
After looking at examples in man exiftool, it seemed the right command would be
exiftool -geotag dir-1/…175814.gpx -geosync=-3600 dir-2
All 36 photos (.jpg) and videos (.mp4) were taken with the ...
1
vote
1
answer
675
views
Using REGEX only, copy last (delimited) word to every comma separated value?
I have a series of lines with arbitrary number of comma separated values, and then a hash marked comment. The challenge is, using only PCRE2 regex for use in PERL, to do the following:
Store the ...
0
votes
1
answer
555
views
How to set the location of an image with exiftool?
ExifTool is a powerful tool for modifying meta data on images. What is the simple command line to specify the location for an image?
7
votes
3
answers
13k
views
How to set an image's date and time with timezone with exiftool?
ExifTool is a powerful tool for modifying meta data on images. What is the simple command line to specify the date and time for an image?