Skip to main content
New Participant
September 16, 2024
Question

Seeking Help with Retrieving Metadata Using ExtendScript in Adobe Premiere Pro and After Effects

  • September 16, 2024
  • 1 reply
  • 520 views

Hello Adobe Community,


I am new to Adobe scripting and ExtendScript, and I'm currently working on automating tasks using ExtendScript in Adobe Premiere Pro and After Effects. However, I am encountering difficulties retrieving specific metadata, such as video codec, audio bit rate, and audio channels from these applications.

If anyone has experience or insights on how to achieve this using ExtendScript, I would greatly appreciate your guidance or suggestions. Your assistance would be invaluable in helping me progress with my project.


Thank you in advance for your support!!

This topic has been closed for replies.

1 reply

Mathias Moehl
Community Expert
September 17, 2024

Access of XMP metadata from a file is documented here:

https://extendscript.docsforadobe.dev/scripting-xmp/index.html

in Pr, you also have methods to access both XMP metadata and the additional "Project metadata" of Premiere Pro:

https://ppro-scripting.docsforadobe.dev/item/projectitem.html#projectitem-getxmpmetadata

https://ppro-scripting.docsforadobe.dev/item/projectitem.html#projectitem-getprojectmetadata

In the Metadata panel of Pr, everything you see in the section "Clip" is "Project metadata" and everything in the category "File" is XMP Metadata.

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
New Participant
September 24, 2024

Thank you for your quick response!

I’ve managed to gather the Metadata using the export XML option. While I can run the script through VS Code, I’ve realized that Premiere Pro doesn’t have a built-in option to execute scripts directly. I’m looking for a way for users to run the .jsx script within Premiere Pro itself.

Could you please guide me on how to achieve this?I’d really appreciate any assistance you can provide!

Thanks once again!

New Participant
September 24, 2024

Thank you once again for your valuable input!

For better clarity and to assist others who might encounter the same issue, I will raise this question in a separate discussion. This way, it can be more easily found and referenced in the future.

Thanks for your continued support!