Attach metadata to video rendered by media encoder using extendScript

New Here ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

Hi,

 

I'm working on an Premiere Extension Panel and was wondering if it's possible to attach the premiere project documentId to the exported video using extendScript.

 

This exported video will then be uploaded online and the goal is to be able to automaticaly fetch the correct video associated to the premiere project id.

TOPICS
Export, SDK

Views

44

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Explorer , Feb 24, 2021 Feb 24, 2021
Typically, your extension would be at the mercy of the metadata output settings in effect, when the export was triggered. I can think of a 'brute force' approach which might work, though... Upon successful programmatic export, your extension will be given the file path to the output media. Your extension could then:import that media into the project, set whatever XMP metadata you like,save the project (to flush the cached metadata to disk),delete the media from the project (put it in a 'deleteMe...

Likes

translate

Translate

Translate
Explorer ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

Typically, your extension would be at the mercy of the metadata output settings in effect, when the export was triggered. 

I can think of a 'brute force' approach which might work, though...

 

Upon successful programmatic export, your extension will be given the file path to the output media. Your extension could then:

  • import that media into the project, 
  • set whatever XMP metadata you like,
  • save the project (to flush the cached metadata to disk),
  • delete the media from the project (put it in a 'deleteMe' bin, delete the bin)
  • save the project again

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines