DC 5.9 Configuration of upload metadata tags

The application requires Ghostscript (Link), Dotnet 8 (Link), and a version of ImageMagick (Link) to be installed on the machine running the tool

"Upload metadata tags" are metadata fields populated with information about the physical file or information embedded in the physical file.

This could, for instance, be:

Each metafield definition has a field called Upload-tag-Name on the metafield label tab.

This field should be populated with the key of the value to be inserted. An example could be “JPEG:Compression Type = Baseline“, where “JPEG:Compression Type“ is the key, and “Baseline“ is the value.

These key-value pairs are found using this tool.

The embedded tool takes as input the physical file path used as a reference and prints out a list of key-value pairs.

MediaTagExtractor.exe C:\path\To\My\File.jpg

The output, as mentioned, will be a list of key-value pairs that look like this:

Output
JPEG:Compression Type = Baseline JPEG:Data Precision = 8 bits JPEG:Image Height = 4888 pixels JPEG:Image Width = 7199 pixels JPEG:Number of Components = 3 JPEG:Component 1 = Y component: Quantization table 0, Sampling factors 1 horiz/1 vert JPEG:Component 2 = Cb component: Quantization table 1, Sampling factors 1 horiz/1 vert JPEG:Component 3 = Cr component: Quantization table 1, Sampling factors 1 horiz/1 vert Exif IFD0:Image Description = The entrance to Michael Jordan Steak House on the Magnificient Mile in Chicago. Photo by: www.caughtinpixels.com Exif IFD0:Make = NIKON CORPORATION Exif IFD0:Model = NIKON D800 Exif IFD0:X Resolution = 240 dots per inch Exif IFD0:Y Resolution = 240 dots per inch Exif IFD0:Resolution Unit = Inch Exif IFD0:Software = Adobe Photoshop Lightroom 5.0 (Windows) Exif IFD0:Date/Time = 2014:03:28 09:41:12

Where the left-hand side is the key, and the right-hand side is the value.

The key is then populated in the Upload-tag-Name on the metafield label tab.

 

The DAM Center uses the exact same logic to extract the tags.

This means that the keys and values you see in the output of this program are the same ones used by the DAM Center.

 

Example guide:

click on image-20240531-113843.png the settings icon: → System administration → METADATA → Asset info → click on image-20240531-115116.png and add new meta field

Fields to fill out: Name, Field type and upload tag name - as shown below:

 

image-20240531-114010.png

 

image-20240531-114053.png

Audio information tags

Tag prefix

  • mediainfo_audio

Tags

Upload-tag-Name

Short description

Upload-tag-Name

Short description

mediainfo_audio:Codec

Codec specifies in short terms the encoding or decoding algorithm for the audio file.

mediainfo_audio:Duration

Extract the time span of the audio file.

mediainfo_audio:Bitrate

Measured in bits/seconds.

mediainfo_audio:Channel

The audio channel amount.

mediainfo_audio:SamplingRate

Measured in Hertz.

mediainfo_audio:BitDepth

 

mediainfo_audio:BitrateMode

Possibles values: cq needs to be written

mediainfo_audio:Format

Extract the audio format. Examples: MP3, WAV etc…

mediainfo_audio:CodecName

Extract which software is used to encode/decode the audio

mediainfo_audio:CodecDescription

Description of the codec, detailing how it compresses and decrompesses the audio.

mediainfo_audio:AudioChannelsFriendly

This refers to stereo sound, or multiple channels for a more immersive audio experience.

Video information tags

Tag prefix

  • mediainfo_video

Tags

Tags

Upload-tag-Name

Short description

Tags

Upload-tag-Name

Short description

FrameRate

mediainfo_video:FrameRate

Images displayed in seconds.

FrameRateMode

mediainfo_video:FrameRateMode

Possible values: Constant and varaible

Width

mediainfo_video:Width

Extracts the width of the video in pixels.

Height

mediainfo_video:Height

Extracts the height of the video in pixels.

Bitrate

mediainfo_video:Bitrate

Bitrate refers to the amount of data processed per unit of time. Measured in bits per second.

Interlaced

mediainfo_video:Interlaced

Returns a boolean (true/false) whether the video is interlaced or not.

Stereoscopic

mediainfo_video:Stereoscopic

Possible outcomes: Mono, stereo, sideBySideLeft, TopBottomRight, TopBottomLeft, CheckerboardRight, CheckerboardLeft, RowInterleavedRight, RowInterleavedLeft, ColumnInterleavedRight, ColumnInterleavedLeft, AnaglyphCyanRed, SideBySideRight, AnaglyphGreenMagenta, BothEyesLacedLeft, BothEyesLacedRight.

Format

mediainfo_video:Format

Extract the format of the video. (Mpeg4, Mpeg4Is0Sp , Mpeg4Is0Asp, etc.)

Codec

mediainfo_video:Codec

Codec in short terms is encoding or decoding the video file. To ensure faster data transmission.

Standard

mediainfo_video:Standard

Possible values: NTSC and PAL.

ColorSpace

mediainfo_video:ColorSpace

Possible outcomes: Generic, PrintingDensity, NTSC, PAl etc…

Duration

mediainfo_video:Duration

Extracts the length of video.

Hdr

mediainfo_video:hdr

Possible values: none, HDR10, HDR10Plus etc…

BitDepth

mediainfo_video:BitDepth

Extracts the number of bits used to represent the colors of each pixels.

CodecName

mediainfo_video:CodecName

Extract the technology used to compress/decompress the video.

Resolution

mediainfo_video:Resolution

Extract the resolution of the video.

Size

mediainfo_video:Size

Extract the size of the video. (width and height properties)