Skip to content

Metadata

Zac Walker edited this page Apr 28, 2021 · 2 revisions

Metadata is information related to a media file. It may be embedded into the file or contained in a separate associated file.

Diffractor can add or update metadata such as tags, rating, description, or location. It can also understand metadata added by a camera. Diffractor has a database to cache these values for faster searching. However, the values are primarily stored in metadata to allow compatibility with other programs.

Where is metadata stored?

Jpeg, Tiff, Png, and Gif files have internal EXIF, IPTC, and XMP metadata extensions. Raw photos have a separate XMP file similar to Adobe products. MOV, MP4, and MP3 files have standard tags and also include an XMP block. MKV files contain an XMP block, this is not very standard and we plan to support Matroska tags in a future version. AVI files contain an XMP block.

For advanced users, the table below describes the specific metadata fields read or updated by Diffractor:

Diffractor Property XMP EXIF IPTC MP4 ID3 AVI
album xmpDM:album ©alb TALB
album.artist xmpDM:albumArtist aART TPE2
aperture APERTURE_VALUE
artist xmpDM:artist dc:creator BYLINE ©ART TPE1 IA
camera.manufacturer tiff:Make MAKE
camera.model tiff:Model xmpDM:cameraModel MODEL
city photoshop:City CITY
comment exif:UserComment xmpDM:logComment USER_COMMENT
USER_COMMENT_XP
©cmt CO
composer ©wrt
copyright dc:rights COPYRIGHT COPYRIGHT_NOTICE cprt IC
country photoshop:Country COUNTRY_NAME
created DATE_TIME
DATE_TIME_DIGITIZED
DATE_TIME_ORIGINAL
credit photoshop:Credit CREDIT
description dc:description IMAGE_DESCRIPTION CAPTION desc
disk xmpDM:discNumber disk TPOS
Duration TLEN
encoder ©enc
encoding.tool ©too
episode xmpDM:episode tves
exposure EXPOSURE_TIME
fnumber FNUMBER
focal.length FOCAL_LENGTH
genre xmpDM:genre gnre
©gen
TCON
iso ISO_SPEED_RATINGS
latitude exif:GPSLatitude
lens aux:Lens LENS_MODEL
MNOTE_CANON_TAG_LENS
lens aux:Lens
longitude exif:GPSLongitude ©xyz
media.category stik
orientation ORIENTATION
rating xmp:Rating IMAGE_RATING
IMAGE_RATING_PERCENT
rate POPM
season xmpDM:season tvsn
show xmpDM:show tvsh
source photoshop:Source SOURCE
state photoshop:State STATE
synopsis ldes
tag dc:subject KEYWORDS keyw
title dc:title OBJECT_NAME NAME TIT2 INAM
TI
track xmpDM:trackNumber trkn TRCK
year xmp:CreateDate ©day TYER
TDRC
Clone this wiki locally