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]
82 questions
30
votes
4 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
- 1,129
24
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
- 842
17
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,746
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_
- 656
- 3
- 10
- 29
15
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
- 312
11
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…
7
votes
1 answer
What is the difference between the EXIF tags CreateDate, CreationDate, etc.?
When using exiftool to analyze some videos that I have, I noticed many date tags inherent to the creation of the video itself (so not dates like the last access or modification dates). Namely, here are the ones I found:
Create Date…
Oion Akif
- 549
- 2
- 9
- 21
6
votes
3 answers
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?
Vincent Scheib
- 673
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
- 311
5
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
- 239
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…
5
votes
1 answer
Changing the DPI in a JPEG without re-encoding? with ImageMagick or something else
Sometimes I have image files which I want to contain a certain DPI setting. Note that I mean just the DPI value, i.e. just the value in the image's metadata. I don't want to resize the actual image. So for example a higher DPI would result in a…
RocketNuts
- 1,342
4
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
- 17,743
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
4
votes
3 answers
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 : isom, dby1, iso2, mp41
Compressor ID …
Steven Yang
- 183