0
New Here
,
/t5/premiere-pro-discussions/can-i-get-projectitem-source-resolution-height-and-width-via-scripting/td-p/13241697
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
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!
Adobe Employee
,
/t5/premiere-pro-discussions/can-i-get-projectitem-source-resolution-height-and-width-via-scripting/m-p/13241764#M433385
Oct 03, 2022
Oct 03, 2022
Copy link to clipboard
Copied
No.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
LATEST
/t5/premiere-pro-discussions/can-i-get-projectitem-source-resolution-height-and-width-via-scripting/m-p/13244260#M433575
Oct 04, 2022
Oct 04, 2022
Copy link to clipboard
Copied
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!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

