Questions tagged [exiftool]

ExifTool is a platform-independent Perl library and command-line application for reading, writing and editing meta information in a wide variety of files.

Homepage: http://www.sno.phy.queensu.ca/~phil/exiftool/

375 questions
3
votes
2 answers

Editing/updating the data of photo metadata using pyexiftool

I would like to update the data of photo metadata using exiftool, like data of temperature sensor, height sensor and GPS longitude-altitude. First, I've tried to add new tags of those data using command line within exiftool configuration file and it…
3
votes
1 answer

Read metadata with ExifTool

I'm trying to read illustrator file metadata value by using Exiftool. I tried as per below. File[] images = new File("filepath").listFiles(); ExifTool tool = new ExifTool(Feature.STAY_OPEN); for(File f : images) { if…
chinna_82
  • 6,353
  • 17
  • 79
  • 134
3
votes
1 answer

Rotate a video based on the rotate metadata with ffmpeg?

I know I can transpose the video with the transpose video filter if I know how the video is rotated in advance, and update the metadata using something like this -metadata:s:v:0 rotate=0, but how can I use the correct transpose value dependent on…
qix
  • 7,228
  • 1
  • 55
  • 65
3
votes
2 answers

How can I batch-modify timestamp metadata on MP4 video files

I recently discovered that one of my cameras had its internal clock set almost two-years behind the actual date/time, which upset the ordering of photographs and videos in my library timeline. I quickly discovered the wonderful batch-update…
DrMeers
  • 4,117
  • 2
  • 36
  • 38
3
votes
2 answers

How to write image data such as title, comments, tags etc

Looking for something either using a programming language such as PHP or a desktop utility to essentially write data to an image file. We have folders that contain hundreds of files of images. The images are formatted in this way ARTIST at EVENT by…
pee2pee
  • 3,619
  • 7
  • 52
  • 133
2
votes
2 answers

Either cloning entire metadata from one file to another or simply removing single metadata lines

I am trying to make a file metadata (PDF) identical to another file (PDF). I am on a MacBook Pro and I have installed the exiftool. While the exfitool is mostly able to do the job, there are few lines that I don't want in the destination file (that…
Elegancia
  • 29
  • 3
2
votes
1 answer

How do I add different IPTC keywords to multiple images?

I have a folder containing thousands of images and each image needs a unique list of keywords added to it. I also have a table with fields showing the file path and associated list of desired keywords for each image. For example, one record might…
Jason
  • 153
  • 1
  • 7
2
votes
1 answer

Extracting RIFF data from both .wav and .flac files

Wave files can contain unofficial metadata, such as Sampler Chunk - "smpl": https://sites.google.com/site/musicgapi/technical-documents/wav-file-format#smpl These are used for audio looping players and samplers avoiding to loading multiple…
Kim T
  • 5,770
  • 1
  • 52
  • 79
2
votes
1 answer

Adding multiple 'Tags' for an image in windows explorer using python script

Windows explorer has an option to add tags to image through image properties > Details > Tags Image properties. Can I modify this using python or any other automated method (bash)? I tried using exif library pip install exif But it only allows to…
2
votes
1 answer

How to edit creation date of MP4 files?

Currently, I'm working on a python3 script that helps me sort the Google Photos takeout files. The Takeout service for Google Photos actually strips all the metadata of an image/video into a separate JSON file. This script that I'm working on helps…
2
votes
2 answers

Exiftool::ExiftoolNotInstalled (Exiftool::ExiftoolNotInstalled) after being installed

I'm trying to run a ruby script where I used the exiftool gem, and everytime I'm trying to run it I keep getting this error even after installed it. Also, after running bundler as well. Traceback (most recent call…
2
votes
1 answer

Exiftool export JSON with Python

I´m trying to extract some metadata and store them in a JSON file using Exiftool via Python. If I run the following command (according to the documentation) in the CMD it works fine, generating a temp.json file: exiftool -filename -createdate -json…
aGiral
  • 23
  • 3
2
votes
0 answers

exiftool SubSecDateTimeOriginal is not working on aws lambda?

I am trying to run exiftool on aws lambda and everything runs fine except when I am trying to update image with SubSecDateTimeOriginal, it is not working. I tried below command: cmd = ['/opt/bin/exiftool', '-SubSecDateTimeOriginal="2021:11:30…
code0x00
  • 543
  • 3
  • 18
2
votes
1 answer

Running Exiftool in Alpine Docker

I have been struggling with the installation of Exiftool for my AWS ECS Container. I'm using python:3.7-alpine3.13 as my base image and successfully added exiftool and perl-image-exiftool by adding RUN apk add exiftool perl-image-exiftool to my…
A Campos
  • 753
  • 3
  • 10
  • 31
2
votes
1 answer

Extracting binary data with Exiftool

I am doing a steganography challenge. I have a jpeg file, and when I look the metadata of it with Exiftool, I see something interesting. Red Tone Reproduction Curve : (Binary data 64 bytes, use -b option to extract) Green Tone Reproduction Curve…
largoWinch
  • 377
  • 1
  • 4
  • 20