Copy link to clipboard
Copied
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!!
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now