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

Premiere extendscript help with proxies

Community Beginner ,
Dec 07, 2023 Dec 07, 2023

Hi,

 

How would I get the resolution of a proxy via extendscript?  I am thinking I might need to temporarily import the proxy as a project item and the getProjectMetadata()  VideoInfo?

 

Is it possible to detach proxies using extendscript? I thought of setting a clip to offline, but the proxy still hangs around. 

 

Not sure if this is a bug or expected, but ProjectItem.canChangeMediaPath() seems to return true for virtual clips eg. adjustment layers, black video.

 

And +1 to being able to create an adjustment layer using extendscript.

thanks,

 

Jason

TOPICS
SDK
402
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

Adobe Employee , Dec 07, 2023 Dec 07, 2023

>How would I get the resolution of a proxy via extendscript?  I am thinking I might need to temporarily import the proxy as a project item and the getProjectMetadata()  VideoInfo?

That would work.

For PPro to think some media is a proxy, it'd have to be associated with a PPro projectItem, so it'd need to be imported. Metadata will have most of what your looking for; when proxies are active, you could get the projectItem's footageInterpretation.

I'm hopeful that changing the path of a synthetic pro

...
Translate
Adobe Employee ,
Dec 07, 2023 Dec 07, 2023

>How would I get the resolution of a proxy via extendscript?  I am thinking I might need to temporarily import the proxy as a project item and the getProjectMetadata()  VideoInfo?

That would work.

For PPro to think some media is a proxy, it'd have to be associated with a PPro projectItem, so it'd need to be imported. Metadata will have most of what your looking for; when proxies are active, you could get the projectItem's footageInterpretation.

I'm hopeful that changing the path of a synthetic projectItem,  which is never relied upon to have a path, is harmless. 🙂

>Is it possible to detach proxies using extendscript?

Yes

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
Community Beginner ,
Dec 07, 2023 Dec 07, 2023
LATEST

Thanks Bruce!

I could find any docs with ProjectItem.detachProxy() so that is a great discovery!

Regarding the paths of a synthetic projectItem, using   (cProjectItem.canProxy() || ProjectItem.hasProxy())  gave me what I wanted.

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