• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Video Usage access for Footage

Explorer ,
May 19, 2017 May 19, 2017

Copy link to clipboard

Copied

Screen Shot 2017-05-19 at 1.05.08 PM.png

Within the Project Panel's Metadata Display, I have been using the "Video Usage" feature to tell if any of my clips have been used.

Is there a way to access this info? I would like to combine all unused footage into a bin at the end of a project?

TOPICS
SDK

Views

670

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
Engaged ,
May 20, 2017 May 20, 2017

Copy link to clipboard

Copied

LATEST

There is...

app.project.rootItem[index].getProjectMetadata();

This should give you an XML object with all of the metadata being presented in the metadata panel of Premiere.

Inside there is a child "<premierePrivateProjectMetaData:Column.Intrinsic.VideoUsage>".

It seems it is a string though, but this you can split as well by above string to give you the number.

You can also wrap it into an XML object

var theXML = new XML(app.project.rootItem.children[2].getProjectMetadata());

and eventually you will find the correct child.

var usageCount = theXML.child(0).child(0).child('premierePrivateProjectMetaData:Column.Intrinsic.VideoUsage');

Depends on what you're trying to achieve.

Votes

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