Assets custom metadata | Community
Skip to main content
deepakt84913413
Level 4
May 16, 2019 9:57 PM UTC
Solved

Assets custom metadata

Hi,

I need some extra metadata for the assets I upload in DAM to be populated in my asset metadata schema..

Images

  1. Orientation

Videos

  1. Orientation
  2. Duration
  3. Frame size

Is this possible out of the box?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Bharath_valse
Bharath_valseAccepted solution
Level 4
May 17, 2019 6:55 PM UTC

You could use tools like exiftool or ffmpeg to view metadata of an asset. Below are few commands

Read all metadata

exiftool abc.mp4

Read XMP metadata (metadata from creative cloud tools like PS, AE ..)

exiftool -xmp -b -m -scanForXMP abc.mp4 > out.xmp

Reference

https://owl.phy.queensu.ca/~phil/exiftool/examples.html

7 replies

Bharath_valse
Bharath_valseAccepted solution
Level 4
May 17, 2019 6:55 PM UTC

You could use tools like exiftool or ffmpeg to view metadata of an asset. Below are few commands

Read all metadata

exiftool abc.mp4

Read XMP metadata (metadata from creative cloud tools like PS, AE ..)

exiftool -xmp -b -m -scanForXMP abc.mp4 > out.xmp

Reference

https://owl.phy.queensu.ca/~phil/exiftool/examples.html

Translate
deepakt84913413
Level 4
May 17, 2019 6:29 PM UTC

Right. Okay , so I guess I have to write something custom for that metadata. I am just not sure whether this information could be retrieved out of the box or should I be running the image through a tool like ffmpeg. :/

Translate
Bharath_valse
Level 4
May 17, 2019 5:44 PM UTC

In this case AEM 6.4 should auto populate these custom metadata fields if you match the schema to the the image metadata value. If you have a namespace which is custom, one needs to create custom namespaces as well

Screenshot 1

Screenshot 2

Translate
deepakt84913413
Level 4
May 17, 2019 5:29 PM UTC

I want to populate them when the asset is uploaded.

Translate
Bharath_valse
Level 4
May 17, 2019 5:20 PM UTC

, Do you want to auto populate these metadata fields when and asset is uploaded? Or do you want to programmatically read the stored metadata?

Translate
deepakt84913413
Level 4
May 17, 2019 1:26 AM UTC

Right. I know I am able to do that. But capturing that information is what I am struggling with. Is there any out of the box feature that captures the above mentioned metadata?

Translate
Bharath_valse
Level 4
May 16, 2019 10:05 PM UTC

You could use metadata schemas [0] to create the extra fields for assets and apply them to the folders which require the change.

Please refer [0]

[0]

Metadata Schemas

Translate