Copy link to clipboard
Copied
Hi team,
I want to confirm whether Premiere Pro supports fully programmatic SRT subtitle generation for an active video sequence
Specifically,
Can SRT files be generated automatically (without having the user to export anything for the video sequence) using UXP APIs / CEPs?
If CEP allows it but UXP does not, is SRT export or any caption-export API planned for UXP in the near future?
Is there any official workflow/documentation I can follow for generating SRT from a timeline or caption track entirely through scripting?
Thanks
Yes, PPro can programmatically generate SRT files, using output presets (.epr files) that specify the desired output.
At least one media (audio or video) file is also required, though your panel/plugin is welcome to delete that file, as desired.
There is no documentation specific to caption tracks; the same encodeSequence() call is used for media and caption output (as described above).
Copy link to clipboard
Copied
Yes, PPro can programmatically generate SRT files, using output presets (.epr files) that specify the desired output.
At least one media (audio or video) file is also required, though your panel/plugin is welcome to delete that file, as desired.
There is no documentation specific to caption tracks; the same encodeSequence() call is used for media and caption output (as described above).
Copy link to clipboard
Copied
This is all my understanding, but to be clear:
There is no access to File -> Export -> Captions or from the Text panel/captions tab Export -> SRT type processes?
I assume the sequence must already include a caption track and captions.
When you said "fully programmatic SRT subtitle generation," I wondered if you intended to generate the subtitles as well as creating the SRT file.
Stan
Copy link to clipboard
Copied
>There is no access to File -> Export -> Captions or from the Text panel/captions tab Export -> SRT type processes?
Correct.
>I assume the sequence must already include a caption track and captions.
Yes, to successfully export captions, a caption track must be present. 🙂
Copy link to clipboard
Copied
@Stan Jones Yeah I meant to generate the subtitles and extract it as well. Basically what you already mentioned in your reply "File -> Export -> Captions or from the Text panel/captions tab Export -> SRT type". I was looking for a way to automate all these steps, so that user doesn't need to generate the captions.
Copy link to clipboard
Copied
If you are not aware, see this post:
This does not directly interact with PR scripting, but opens many possibilities.
Stan
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more