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

Remixed audio clip loses projectItem reference in Premiere CEP

Explorer ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

An audio clip used in a sequence as a track item has a projectItem property that can be followed to get the project item, which allows getting other info such as the title and the media path for that clip. This is useful for CEP panels that use ExtendScript to analyze the sequence to gather details about the used clips.

 

But when the audio clip is changed by applying the Remix feature (from the Essential Sounds panel for example), then the track item loses reference to the original project item. So the CEP panel has no way to know if all the project items used in the sequence is properly accounted for (for example, uploaded to a server).

 

Can this be fixed or is there a workaround to get the projectItem corresponding to the remixed audio clip?

 

 

TOPICS
Audio , SDK

Views

516

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
Adobe Employee ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

Can you provide step-by-step instructions that reliably reproduce the problem?

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
Explorer ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

Hi Bruce,

 

Here are the steps along with some screenshots:

  • Open Premiere version that supports the Remix feature. I am using 22.2.0 (Build 128).
  • Create or open a project.
  • Drag an audio file to your project bin.
  • Create a sequence with that clip.
  • Now check the output of the following from your CEP panel code, or from ESTK.

 

app.project.activeSequence.audioTracks[0].clips[0].projectItem
  • As you see in this screenshot from ESTK, it says "Result: [object ProjectItem]", which means the project item reference is found.

 

before-remix.PNG

 

  • Now select the clip in your sequence. Go to "Essential Sounds" panel > go to "Edit" tab > select "Music" type > select "Duration" checkbox > reduce the "Target Duration" to e.g. half. You will see arrows like "> >" appear in the waveform in the timeline.
  • Now run and check the above output again. Notice that now it says "Result: null", as seen in this second screenshot. So the project item reference is not found after the the Remix feature is applied.

 

after-remix.PNG

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
Contributor ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

Interesting! As far as I know, this "remixed" audio clip in fact is a hidden sequence, which has recut audio clip inside. You can find it in app.project.sequences.

I guess since it is a hidden sequence, it doesn't have any projectItem associated with it (you don't see any new project item in project panel, right?)

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
Explorer ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

There is no sequence found for it in app.project.sequences. The only sequence found there is the visible main sequence. As you can see in the second screenshot above, the project bin does not show any new item - just the audio clip and the main sequence.

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
Contributor ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

LATEST

> There is no sequence found for it in app.project.sequences.

Hm, probably it was cleaned up by Adobe 🙂 I had one user who reported such possibility.

 

> As you can see in the second screenshot above, the project bin does not show any new item - just the audio clip and the main sequence.

As I mentioned above there is no project item in Project panel, so there is no projectItem associated with "remixed" audio clip.

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