Copy link to clipboard
Copied
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
>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
Copy link to clipboard
Copied
>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.
Copy link to clipboard
Copied
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.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more