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

How can we differentiate subclip items from normal original media files in Premiere project

Participant ,
Apr 26, 2021 Apr 26, 2021

Copy link to clipboard

Copied

Hi All,

 

Is there a way to differentiate the subclip items in a project from the normal original/master media file items?

We have checked the projectItem(app.project.rootItem.items[x]) properties and functions, but cannot find anything.

 

Thanks and Regards,

Anoop NR

TOPICS
Error or problem , Export , SDK

Views

271

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

Participant , Apr 26, 2021 Apr 26, 2021

Hi Bruce,

 

For both master clips and subclips we get simlar private project metadata from app.project.rootItem.children[x].getProjectMetadata().

One difference we can consistantly find is the presense of following subclip related properties only in subclip metadata.

<premierePrivateProjectMetaData:Column.Intrinsic.SubclipStart>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipEnd>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipDuration>

We are planning to relay on any of these properti

...

Votes

Translate

Translate
Adobe Employee ,
Apr 26, 2021 Apr 26, 2021

Copy link to clipboard

Copied


@emam-dev wrote:

Hi All,

 

Is there a way to differentiate the subclip items in a project from the normal original/master media file items?

We have checked the projectItem(app.project.rootItem.items[x]) properties and functions, but cannot find anything.

 

Thanks and Regards,

Anoop NR




 

I think you just found it; check for the presence of private project metadata.

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
Participant ,
Apr 26, 2021 Apr 26, 2021

Copy link to clipboard

Copied

Hi Bruce,

 

For both master clips and subclips we get simlar private project metadata from app.project.rootItem.children[x].getProjectMetadata().

One difference we can consistantly find is the presense of following subclip related properties only in subclip metadata.

<premierePrivateProjectMetaData:Column.Intrinsic.SubclipStart>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipEnd>
<premierePrivateProjectMetaData:Column.Intrinsic.SubclipDuration>

We are planning to relay on any of these properties to identlfy the clip as a subclip?

 

Thanks

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
Adobe Employee ,
Apr 26, 2021 Apr 26, 2021

Copy link to clipboard

Copied

LATEST

It would seem that the presence of those properties indicates you have a sub-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