Skip to main content
Participant
September 23, 2025
Answered

video track manipulation via api

  • September 23, 2025
  • 1 reply
  • 400 views

Hi, I have spent the last couple hours browsing the UXP, C++, and ExtendScript docs for a way to retriveve the frames from a clip for external processing. Is this possible? 

Correct answer bbb_999

Yes, the specific clip frames captured, I want to place back into the project after having altered them . To make things easier, I dont have to apply PPro effects  for that but rather 'mark' them programatically once i have the coordinates. It may sounds a bit convoluted but the external endpoint is very necessary 🙂 .

So really I need to need to capture clip frames -> post to endpoint (simple)  ->  transfer new clip to project panel. 

The docs mention getClipVideo/sweatpea suite manipulation with PPixHandlers so that is something to go on.  A big confusion is really plugin type, this isnt really a importer or an exporter...


If you want PPro to honor the changes you've made to those images, you'd need to write a (AE API) video effect, OR render new media (into a format PPro understands, and replace some-or-all of the source trackItem (from which the media came) with a new trackItem, created from the new media (projectItem) you've just imported. That second workflow sounds very fragile; even if you get exactly the right visual results, you will have just changed the editor's sequence, in potentially confusing ways; different number of trackItems, for example.


1 reply

bbb_999
Community Manager
Community Manager
September 23, 2025

C++ Exporters receive rendered frames from PPro, to encode however they wish. 

C++ Effect plugins receive input frames, but are expected to return modified frames. 

ExtendScript and UXP can both render sequences, using pre-defined output presets (.epr files). If your external processing supports the output format in use, you could process them that way.

Dobey_Author
Participant
September 24, 2025

Awesome, this is helpful Although, I should be a bit more specific in my use case, I dont want to exactly export but send a couple frames to an endpoint and apply a pre-existing premiere pro effect to specific x, y cordinates of the frame. I was thinking the After Effects sdk would be better suited for this but would like to go without the tacked on requirement of it. 

bbb_999
Community Manager
Community Manager
September 24, 2025

>...send a couple frames to an endpoint and apply a pre-existing premiere pro effect to specific x, y cordinates of the frame.

Presumably, you're returning something back into PPro, in order to inform the application of the pre-existing PPro  effect, right? What would you be returning?