Skip to main content
Bed30321077z973
Inspiring
February 19, 2024
Answered

Code to upgrade captions into Graphics? + Doing it manually though Third tier program?

  • February 19, 2024
  • 1 reply
  • 630 views

Hello,

Is there any code API, that allow you to convert all captions into graphics somehow?

_

Otherwise, is it possible to program a code that transforms them into text graphics?

The problem is I looked at my project.prproj and its giberrish, I cannot identify where are the text graphics I had to see How I can reproduce them.

In any case I need a solution.

What can we do?

 

Thanks

Correct answer Bruce Bullis

>Is there any code API, that allow you to convert all captions into graphics somehow?

No. As we've said a few times, there is no API around Captions. 

1 reply

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
February 19, 2024

>Is there any code API, that allow you to convert all captions into graphics somehow?

No. As we've said a few times, there is no API around Captions. 

Bed30321077z973
Inspiring
February 19, 2024

What I was looking for is a way to interact with captions, direclty or indireclty, so we stablished there is no API around them, but there might be methods involving PPRO itself that could allow us to interact with the captions.

For instance, PPRO ability to read XML files it seems (https://www.youtube.com/watch?v=pWRLDcrOhIA, as mentioend in the other post, at 3:40 )

So this can be used like the following:

- Import SRT file from captions (manually)

- use a script to modify the srt (indireclty the captions) - If you have useful prior info about the changes needed to be made.

- transform the srt into an XML, with your own local script.

- Import the XML into PPRO and use it to produce TEXT graphics on a video track (just like the youtuber did)

- run the API that can INTERACT WITH TRACK ITEMS, to modify as you see fit

 

Making it possible to actually use the api to interact with the caption (indirectly)

 

All we need to know now is: "How should the XML file be structured?" to be understood by PPRO and be converted into text graphics ? (like it has been done in that youtube video)

 

That's the missing link to achieve interactbility with Captions, and resolving the issue of missing captions api functions.

Participant
October 30, 2025

a bump on this would be nice. it seems UXP has access to Caption Tracks via the API but it seems to be limited what you can do with it. being able to Upgrade Captions to Graphics by selecting and doing the action via API would be a game changer. otherwise, it seems .xml importing into text graphics still works well and might just be accessible by ExtendScript