1 Reply Latest reply on May 21, 2017 5:14 AM by e.d.

    Video Usage access for Footage

    jportell25 Level 1

      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?

        • 1. Re: Video Usage access for Footage
          e.d. Level 3

          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.

          3 people found this helpful