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

ExtendScript in PPro : Clip-names

New Here ,
Apr 20, 2015 Apr 20, 2015

Copy link to clipboard

Copied

Using ExtendScript, I am trying to access the clip-names of a track, and I can't figure out how to do this.

Here is what I am trying:

app.project.activeSequence.videoTracks[0].clips[0]

Result: [object TrackItem]

app.project.activeSequence.videoTracks[0].clips[0].name

Result: undefined

app.project.activeSequence.videoTracks[0].clips[0].reflect.properties

Result: duration,start,end,type,mediaType,__proto__

app.project.activeSequence.videoTracks[0].clips[0].__proto__.reflect.properties

Result: __proto__,__count__,__class__,reflect

app.project.activeSequence.videoTracks[0].clips[0].__proto__.__proto__.reflect.properties

app.project.activeSequence.videoTracks[0].clips[0].reflect.methods

Result: bind,unbind,setTimeout

...

What am I missing?

The context is:

We have a process in the studio, in which we use a track with clips representing the shot-names and their duration on the timeline.

We use this information later to insert the duration of the shots to our pipeline's database, as well as extract audio files for each shot, to be inserted to 3dsmax for lip-sync purposes.

Our current process involves exporting an EDL and then processing it externally.

This has some issues we want to avoid, so I want to have this process happen within a custom-tool inside PPro.

TOPICS
SDK

Views

1.0K

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

Adobe Employee , Apr 20, 2015 Apr 20, 2015

There's no supported API that will provide those clip names, today.

You could save out the FCP XML for that sequence, and parse that.

Please write me directly [ b b b at adobe dot com], with an overview of what you'd like to accomplish, and I can provide better guidance.

Votes

Translate

Translate
Adobe Employee ,
Apr 20, 2015 Apr 20, 2015

Copy link to clipboard

Copied

There's no supported API that will provide those clip names, today.

You could save out the FCP XML for that sequence, and parse that.

Please write me directly [ b b b at adobe dot com], with an overview of what you'd like to accomplish, and I can provide better guidance.

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
Enthusiast ,
Jan 10, 2018 Jan 10, 2018

Copy link to clipboard

Copied

LATEST

As of Premiere Pro CC 2018 (v12.0.0) this is doable! See some simple example code here.

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