Exiftool ver 12.13+ will automatically add the local time zone if one is not included when writing. Also of note is that Apple Photos will display wildly inaccurate time if the Quicktime:CreationDate or Quicktime:DateTimeOriginal tags do not include a time zone. It includes a timezone, is supposed to be set to the local time where the video was taken, and is part of the QuickTime Keys Tags. The trouble is that some cameras do not adhere to the specs, so the time that appears in the above tags may not at first seem to be the correct time.ĬreationDate is obviously different. Mandatory tags (indicated by a colon after the Writable type) may be added automatically with default values when creating a new IFD, and the IFD is removed. When writing EXIF information, the default Group listed below is used unless another group is specified. See fourth paragraph on the Exiftool Quicktime tag page. The names of these IFD's correspond to the ExifTool family 1 group names. One thing to take note of is that these three tags are supposed to be recorded in UTC time. Something that might pop up if your editing various video clips together. Video metadata isn't my expertise, but I would guess that Track/MediaCreateDate leaves open the possibility of keeping track of an earlier created video/sound track and muxing them together for a final product. Additionally, if you add -a to your command, you will probably see that TrackCreateDate and MediaCreateDate are duplicated, one for each track in the file (video, audio, etc).ĬreateDate is probably the most accurate, but if the video is coming directly from a digital camera of some sort, it is probably the same value as TrackCreateDate and MediaCreateDate. You can add -G1 to your command to see the group they belong too. The part after "Filter=" is a perl regex substitution and you could further refine it by looking into regex.One minor nitpick, these tags are not EXIF tags, they are Quicktime tags (all EXIF is Metadata, but not all Metadata is EXIF). If Description was "This is Odeon", it would become "This is ". The problem is that both of them result in removing shutter speed, aperture and the embedded ICC profile as can be verified using exiftool with the respective flags. For example, if Location was equal to "Odeon", it would become a blank string. Using the answer from question exiftool: delete exif data but preserve some specific tags, the following commands are produced. It would not remove the tag and if odeon was part of a longer string, the rest of the string would remain. Would remove "odeon" (case insensitive) from all tags in the file. This command:Įxiftool -overwrite_original -api "Filter=s/odeon//gi" -tagsfromfile -all:all FileOrDir If you wanted to remove a certain tag that contains "Odeon" as part of a longer string and be case insensitive, then you could add the -if option.Įxiftool -overwrite_original -if "$TAG=~/odeon/i" -TAG= FileOrDirįinally, there is the shotgun approach using the -api "Filter=…" option. It would not remove "oDeON" or other variations:Įxiftool -overwrite_original -TAG-="Odeon" FileOrDir Note that this command is case sensitive. If you want to be more selective and the tag contains ONLY the text "Odeon", then you could use this command. Take note that this command would remove that tag from all the files if you specify a dir. That would list all the tags that have your info.Īfter you found the tag, you could then remove it without having a backup file with this command, replacing TAG with the name of the tag:Įxiftool -overwrite_original -TAG= FileOrDir In that case, your command line would look like this:Įxiftool -g1 -a -s FileOrDir | Find "Odeon" You can pipe the output through another command line program like Find (since you're on Windows) or Grep (other platforms). ExifTool is commonly incorporated into different types of digital workflows and supports many types of metadata including Exif, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP and ID3, as well as the manufacturer-specific metadata formats of many digital cameras. Unfortunately, Exiftool doesn't have the ability to list only the tags that have matching data. Location is a different tag and you would have check there for that info. The reason that your command doesn't work is because you're only checking the Keywords tag.
0 Comments
Leave a Reply. |