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

Can I get ProjectItem source resolution (Height and Width) via scripting ?

New Here ,
Oct 03, 2022 Oct 03, 2022

Copy link to clipboard

Copied

Hello everyone,

I'd like to know if it is posslible to get my clip source (img/vidéo) resolution via scripting.

 

Thank you!

TOPICS
SDK

Views

121

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

New Here , Oct 04, 2022 Oct 04, 2022

Hello Bruce,
I finally managed to find the dimensions thanks to the metadata.

var jsonMetadata = app.project.sequences[index].videoTracks[index].clips[index].projectItem.getProjectColumnsMetadata();
var metadata = JSON.parse(jsonMetadata)
var stringWightHeight = metadata[12].ColumnValue

best regards!

Votes

Translate

Translate
Adobe Employee ,
Oct 03, 2022 Oct 03, 2022

Copy link to clipboard

Copied

No.

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
New Here ,
Oct 04, 2022 Oct 04, 2022

Copy link to clipboard

Copied

LATEST

Hello Bruce,
I finally managed to find the dimensions thanks to the metadata.

var jsonMetadata = app.project.sequences[index].videoTracks[index].clips[index].projectItem.getProjectColumnsMetadata();
var metadata = JSON.parse(jsonMetadata)
var stringWightHeight = metadata[12].ColumnValue

best regards!

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