Assets custom metadata

Avatar

Avatar

deepakt84913413

Avatar

deepakt84913413

deepakt84913413

16-05-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

17-05-2019

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

Answers (6)

Answers (6)

Avatar

Avatar

deepakt84913413

Avatar

deepakt84913413

deepakt84913413

17-05-2019

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. 😕

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

17-05-2019

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

1754753_pastedImage_0.png

Screenshot 2

1754754_pastedImage_1.png

Avatar

Avatar

deepakt84913413

Avatar

deepakt84913413

deepakt84913413

17-05-2019

I want to populate them when the asset is uploaded.

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

17-05-2019

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

Avatar

Avatar

deepakt84913413

Avatar

deepakt84913413

deepakt84913413

16-05-2019

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?

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

16-05-2019

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