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.
Questions tagged [exiftool]
73 questions
23
votes
3 answers
Change rotation flag in MP4 video (without losing metadata)
I just want to change the rotation flag in a .mp4 video file.
Many similar questions exist, most answers suggest using
ffmpeg -i input.mp4 -map_metadata 0 -metadata:s:v rotate=90 -codec copy output.mp4
My problem with those solutions is that even…
aXeL-HH
- 930
- 1
- 8
- 15
21
votes
3 answers
How can I modify the EXIF orientation tag of an image?
I want to change the EXIF orientation tag in my JPEG images but without actual rotating of them. I want to do this to use them as a test case for an application I made.
How I can do that in Linux? Can I do it with exiftool? And if so, how?
Wazery
- 792
- 3
- 8
- 20
16
votes
1 answer
How do I edit a JPEG's EXIF data with Gimp?
I would like to edit a JPG EXIF data in Gimp. Perhaps I need a plugin or something, but I don't know how to search for and download the plugin. Plus, when Gimp opens a JPG it converts it to XCF format. Hopefully when I export it again the EXIF data…
John Sonderson
- 3,496
- 14
- 49
- 68
15
votes
5 answers
How to automatically rotate images based on EXIF data?
I know how to do it manually. Now I would like to automate that based on EXIF data.
I already have exiftool installed, but looks like it can only read the data, but can not rotate the image.
There is a similar question on SU about Ubuntu. But I'm…
LA_
- 616
- 3
- 8
- 26
11
votes
2 answers
How to prevent recovering metadata when using ExifTool?
When using exiftool -all:all= file.pdf this message appears:
ExifTool PDF edits are reversible. Deleted tags may be recovered!
Can tag recovery be prevented when ExifTool is used? Can it just wipe/overwrite them without saving previous info?
PDF…
homocomputeris
- 272
- 2
- 10
10
votes
3 answers
exiftool: delete exif data but preserve some specific tags
Currently I use exiftool with the -all= option and it deletes all the EXIF data from my photos:
exiftool -overwrite_original -all= /Users/andyl/photos/*.jpg
Now I want exiftool to delete all the EXIF information but NOT the photo's title, caption…
Sunny Reborn Pony
- 441
- 1
- 5
- 12
5
votes
2 answers
Edit "Media Duration" metadata on MP4 file
I have some video files which were converted to MP4, but not quite correctly. When I examine one with exiftool, I see these metadata values:
Duration : 0:11:23
Track Duration : 0:11:23
Media Duration …
Sam Kauffman
- 291
- 3
- 11
5
votes
4 answers
Changing dates on mp4 metadata
I've been trying to change the metadata dates in mp4 files using exiftool. I can only get it to change the "Date" (whatever that is) and "Media created" fields as displayed in Windows file explorer. However, I organise my pics and videos using…
WokingWounded
- 51
- 1
- 1
- 3
4
votes
2 answers
Author of the document a pdf was created from?
I teach in a college, and a wee while ago I had some fun spotting students who copied other students work by simply taking their word file and "paraphrasing" the sentences. So student A would innocently lend their file to student B, who would…
user1729
- 141
- 1
- 5
4
votes
0 answers
Metadata editor for quicktime (.mov) files
My photo camera records video as .mov files. They have some metadata (in the XMP format?), which I can read using exiftool. For example, to get only the metadata related to dates/times I can do:
$ exiftool MVI_3735.MOV | grep -i Date
File…
Filipe Correia
- 219
- 2
- 9
4
votes
1 answer
ExifTool: Remove all meta data except specific tags
I am trying to remove all meta data from JPEG files except common photo tags as listed with exiftool -common (camera model, shutter speed, aperture, ISO, etc.) lens model, color space and embedded ICC profile.
Using the answer from question…
Kyselejsyreček
- 394
- 3
- 12
4
votes
1 answer
Extract Thumbnail from CR2 Image using exiftool
I am attempting to extract a JPEG thumbnail image from a CR2 image, using exiftool, in Windows.
I was successful in doing so using this program, QuickJPGFromCR2. From the description, it appears to extract the JPEG preview from the EXIF data. The…
Johndt
- 145
- 1
- 6
4
votes
2 answers
How to add missing file extensions for multiple files using ExifTool in Windows
I lost only the file extensions at the end of the file names for a few thousand .docx and .pdf files. So how do I attach them in one batch at the end of the existing FileName using ExifTool ?
Note 1. The file are in no way altered, only the file…
adobh
- 43
- 1
- 3
3
votes
1 answer
exiftool width and height of resized images not match the new sizes
$ convert original.jpg -resize 50% test.jpg
$ exiftool test.jpg
...
Exif Image Width : 1200
Exif Image Height : 1600
Image Width : 600
Image Height : 800
Image Size …
Tim
- 16,963
- 69
- 181
- 260
3
votes
1 answer
Exiftool: Copy GPS information from NEF to XMP
I've got a number of files I previously geotagged using exiftool. Now they have tags such as:
"EXIF:GPSVersionID": "2 2 0 0",
"EXIF:GPSLatitudeRef": "N",
"EXIF:GPSLatitude": 37.7641210370361,
"EXIF:GPSLongitudeRef": "E",
"EXIF:GPSLongitude":…
bomm
- 31
- 1