exiftool

Edit MP4 Metadata with exiftool

余生颓废 提交于 2019-12-05 14:31:36
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 doing incorrectly? How can I view what the exiftool error is? How can I remove the Title attribute?

Java api to exiftool

…衆ロ難τιáo~ 提交于 2019-12-05 07:17:40
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. ExifTool (for Java) is designed to be a simple-to-use and robust Java abstraction of Phil Harvey's ExifTool. I just made the first public release this past week after incubating the project under the imgscalr

How can I embed metadata into a custom XMP field with exiftool?

让人想犯罪 __ 提交于 2019-12-05 02:20:23
问题 Can someone please explain how to embed metadata into a custom metadata field in an MP4 file with exiftool? I've searched all the docs and it seems to be related to the config file that needs to be created. Here is what I'm working with. (I know this isnt even close, as its not doing XMP fields, but I havent found a single working example with XMP fields yet. %Image::ExifTool::UserDefined = ( 'Image::ExifTool::Exif::Main' => { 0xd001 => { Name => 'Show', Writable => 'string', WriteGroup =>

How to set a color profile with exiftool?

有些话、适合烂在心里 提交于 2019-12-05 02:15:06
问题 I have some .jpg files without a color profile, and would like to set them to a particular color profile using exiftool . what parameter do I need to supply to do this? 回答1: For exiftool to add a color profile, you need a profile.file You can extract this from any JPEG image by: exiftool -icc_profile -b somefile.jpg > profile.icc Then attach this profile by using exiftool "-icc_profile<=profile.icc" yourfile.jpg 来源: https://stackoverflow.com/questions/6740441/how-to-set-a-color-profile-with

How can I embed metadata into a custom XMP field with exiftool?

删除回忆录丶 提交于 2019-12-03 21:33:12
Can someone please explain how to embed metadata into a custom metadata field in an MP4 file with exiftool? I've searched all the docs and it seems to be related to the config file that needs to be created. Here is what I'm working with. (I know this isnt even close, as its not doing XMP fields, but I havent found a single working example with XMP fields yet. %Image::ExifTool::UserDefined = ( 'Image::ExifTool::Exif::Main' => { 0xd001 => { Name => 'Show', Writable => 'string', WriteGroup => 'IFD0', }, ); 1; #end The command I'm trying to run is: exiftool -config exifToolConfig -show="Lightning"

Example of how to parse exiftool JSON output in Haskell

核能气质少年 提交于 2019-12-03 16:57:58
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:Compression": "JPEG (old-style)", "EXIF:ThumbnailLength": 4817, "Composite:LightValue": 13.0 }, { "SourceFile":

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

人走茶凉 提交于 2019-12-03 15:56:25
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 internally in my system (where this information is stored in a database anyway). I think that will want to look

Editing/updating the data of photo metadata using pyexiftool

帅比萌擦擦* 提交于 2019-12-02 00:57:06
问题 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 works. Now, I want to update the data using python script then someone told me I can use execute() method but I'm so confused and still don't know yet how to use those method. Would anyone can help and give me example of python script within

Editing/updating the data of photo metadata using pyexiftool

耗尽温柔 提交于 2019-12-01 20:45:32
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 works. Now, I want to update the data using python script then someone told me I can use execute() method but I'm so confused and still don't know yet how to use those method. Would anyone can help and give me example of python script within exiftool to edit metadata? The code for your specific problem is: import exiftool et = exiftool.ExifTool("C:

Get last line of shell output as a variable

穿精又带淫゛_ 提交于 2019-12-01 02:29:31
I am working on a shell script with exiftool to automatically change some exif tags on pictures contained in a certain folder and I would like to use the output to get a notification on my NAS (a QNAP) when the job is completed. Everything works already, but - as the notification system truncates the message - I would like to receive just the information I need, i.e. the last line of the shell output, which is for example the following: Warning: [minor] Entries in IFD0 were out of sequence. Fixed. - 2015-07-12 15.41.06.jpg 4512 files failed condition 177 image files updated The problem is that