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

102

Likes

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 proper...

Likes

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.

Likes

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

Likes

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.

Likes

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