exiftool

Example of how to parse exiftool JSON output in Haskell

谁都会走 提交于 2020-01-01 05:35:13
问题 I can't make sense of any of the documentation. Can someone please provide an example of how I can parse the following shortened exiftool output using the Haskell module Text.JSON ? The data is generating using the command exiftool -G -j <files.jpg> . [{ "SourceFile": "DSC00690.JPG", "ExifTool:ExifToolVersion": 7.82, "File:FileName": "DSC00690.JPG", "Composite:LightValue": 11.6 }, { "SourceFile": "DSC00693.JPG", "ExifTool:ExifToolVersion": 7.82, "File:FileName": "DSC00693.JPG", "EXIF

Edit MP4 Metadata with exiftool

旧城冷巷雨未停 提交于 2019-12-22 09:11:06
问题 I have an MP4 file with Title metadata: exiftool movie.mp4 Which gives: Audio Bits Per Sample : 16 Audio Sample Rate : 48000 Handler Type : Metadata Handler Vendor ID : Apple Title : Movie Title I want to completely remove this Title metadata. I have tried overwriting the title: exiftool -Title="" movie.mp4 exiftool -Title= movie.mp4 exiftool -Title="" -overwrite_original movie.mp4 The command takes awhile to execute, but exits with: 0 image files updated 1 image files unchanged What am I

How to extract the Photo/Video component of a MVIMG?

☆樱花仙子☆ 提交于 2019-12-22 04:05:40
问题 The Google Pixel 2 and probably other phones since have the capability to cover "Motion Photos". These are saved as MVIMG and comparatively big. I’m looking for a way to remove/extract the video. So far I found a promising exif tag $ exiftool -xmp:all MVIMG_123.jpg XMP Toolkit : Adobe XMP Core 5.1.0-jc003 Micro Video : 1 Micro Video Version : 1 Micro Video Offset : 4032524 I thought the video might be present at the specified offset, but this doesn’t work: $ dd if=MVIMG_123.jpg of=video.mp4

Which EXIF tag to store keyword/tag for a photo?

扶醉桌前 提交于 2019-12-21 04:41:37
问题 I am developing a photo gallery which will read/write EXIF tags. I will put photo title in the EXIF tag DocumentName and description in EXIF tag ImageDescription. I also plan to use the geo-tags. But what about photo tags/categories? I want to store a space-separated string of the tags a photo is tagged with in my system. Is there any EXIF tag that is normally used for this type of information? I could write my own (i.e. PhotoTags) but I guess that is not really of any use except for

Distinguish between transparency and extra alpha channels?

点点圈 提交于 2019-12-12 03:52:10
问题 I am sorry in advance if I am not explaining my question really well. I am not 100% aware of the stuff I am asking. Lets say that I have some CMYK tiff files. Is there a way that I can distinguish the difference between transparency and extra alpha channel ? I used exiftools in the terminal with the command : exiftool -G -S filename.tif and I got a tag (ExtraSamples) that provides information about the alpha channel. Is there a way that I can distinguish the aforementioned difference ? Thanks

Troubleshooting “no writeable tags set” error

孤街醉人 提交于 2019-12-11 16:06:50
问题 I'm trying to (ultimately) modify a batch of files but getting stuck in the basics as I try to modify a single file before running a batch command. If someone could help me troubleshoot the command I'm inputting, that would be fantastic. I'm sure it's something very simple. Thanks a lot for any help you can provide! Here's the abbreviated image exif data: -ExifToolVersion=10.10 -FileName=2018_11_13_1.jpeg -Directory=. -FileSize=2.8 MB -FileModifyDate=2019:07:12 15:40:38-07:00 -FileAccessDate

How to compensate for incomplete date/time info in filename

℡╲_俬逩灬. 提交于 2019-12-11 11:51:48
问题 For some reason I'm getting no writeable tags when I run the standard exiftool "-alldates<$filename command. I've kicked around and my best guess is that it has to do with the date format in the filename. I've got files named with the format YYYY_MM_DD_? where I'm not... entirely sure what that ? is supposed to be. Sometimes it's one character, sometimes two (thanks a lot, export tool). Am I on the right track? If so, how can I adjust my command to compensate? If not, can anyone diagnose the

Exported Google+ photos, how do I convert JSON data into EXIF?

こ雲淡風輕ζ 提交于 2019-12-10 21:38:40
问题 Recently used Google Takeout to download 60GB+ of photos and video from Google+. This has resulted in plenty of files -- but valuable metadata including the original dates for photos and often location is stored in a separate metadata.json file for every album, instead of in EXIF. This means I can't import it to any other photo service without essentially scrambling all the dates based on what G+ made automatic edits to the photos. Can't find an answer anywhere -- solving this should help

How to add GPS latitude and longitude using Exiftool in mac (how to edit meta data in jpeg)

不羁的心 提交于 2019-12-07 22:55:17
问题 I have a bunch jpeg image that is obtained from FLIR camera. Along with that images I collected the GPS coordinates also. Now I'm trying to take the GPS latitude and longitude to the metadata of the image. I wrote a program in R programming language to find the GPS location of each image with respect to the time(when ever the GPS location time and the camera time matches, I took that coordinates). ie, for a particular image, I have GPSLatitude <- 19.33423 and GPSLongitude <- 72.090834 But now

Java api to exiftool

依然范特西╮ 提交于 2019-12-07 01:47:16
问题 I am interesting in parsing the exiftool result with a java api or something like that. I have been researching, but I didn't find any example. For example, how could I get these results in my java project? ExifTool Version Number : 8.22 File Name : ExifTool.jpg Directory : t/images File Size : 24 kB File Modification Date/Time Etc.. I am looking for a 'how to' or something like that. 回答1: ExifTool (for Java) is designed to be a simple-to-use and robust Java abstraction of Phil Harvey's