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

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

New Here ,
Oct 03, 2022 Oct 03, 2022

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
209
Translate
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!

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

No.

Translate
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
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!

Translate
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