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

How to access caption track from script.

New Here ,
Jul 21, 2021 Jul 21, 2021

Copy link to clipboard

Copied

Hello.

 

In Premiere Pro, Sequence has caption track.

But i don't find how to access caption track in following document.

https://ppro-scripting.docsforadobe.dev/index.html

 

Do I wait to update ppro script?

TOPICS
SDK

Views

1.6K

Translate

Translate

Report

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 3 Correct answers

Adobe Employee , Jul 21, 2021 Jul 21, 2021

There is no access to captions in the current ExtendScript API; such access will need to wait until PPro implements UXP extensibility.

Votes

Translate

Translate
Adobe Employee , Aug 14, 2021 Aug 14, 2021

It is possible to insert .mogrts, and change any strings which they've exposed as 'editable'.

As previously stated, there is no API around inserting or modifying actual captions.

Votes

Translate

Translate
Adobe Employee , Sep 24, 2023 Sep 24, 2023

There is no API access to caption tracks.
Such access won't be available until PPro moves to UXP-based extensibility; no dates available.

Votes

Translate

Translate
Adobe Employee ,
Jul 21, 2021 Jul 21, 2021

Copy link to clipboard

Copied

There is no access to captions in the current ExtendScript API; such access will need to wait until PPro implements UXP extensibility.

Votes

Translate

Translate

Report

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
New Here ,
Jul 21, 2021 Jul 21, 2021

Copy link to clipboard

Copied

I see.

I will wait for UXP to be available in Premiere Pro.

Votes

Translate

Translate

Report

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 ,
Aug 11, 2021 Aug 11, 2021

Copy link to clipboard

Copied

How far off is that? Trying to decide if a panel is the way to go for XML interchange getting our captions to show up!

 

Thanks!

Votes

Translate

Translate

Report

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
Adobe Employee ,
Aug 11, 2021 Aug 11, 2021

Copy link to clipboard

Copied

No dates for UXP API in PPro are available. Safe bet = "Not this calendar year".

PPro can import captions from .xml files, today...?

Votes

Translate

Translate

Report

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 ,
Aug 13, 2021 Aug 13, 2021

Copy link to clipboard

Copied

Not .xml captions but .xml project interchange. Apologies for being unclear. 😄
And yes, xml captions do currently work! (I might have been the captions guy at some time in the recent past.)

Votes

Translate

Translate

Report

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
New Here ,
Aug 13, 2021 Aug 13, 2021

Copy link to clipboard

Copied

Can I load the caption xml file from script?

I use After Effects to create a template for captions (MoGRT file).

And I automate to insert captions, using load MoGRT file and replace the characters(text source) in the MoGRT.

 

 

Votes

Translate

Translate

Report

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
New Here ,
Aug 13, 2021 Aug 13, 2021

Copy link to clipboard

Copied

quote

Can I load the caption xml file from script?

I use After Effects to create a template for captions (MoGRT file).

And I automate to insert captions, using load MoGRT file and replace the characters(text source) in the MoGRT.

 

 


By @LiuToki

 

To be precise, I put the caption string on the video track instead of the caption function.

Votes

Translate

Translate

Report

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
Adobe Employee ,
Aug 14, 2021 Aug 14, 2021

Copy link to clipboard

Copied

It is possible to insert .mogrts, and change any strings which they've exposed as 'editable'.

As previously stated, there is no API around inserting or modifying actual captions.

Votes

Translate

Translate

Report

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 ,
Sep 24, 2023 Sep 24, 2023

Copy link to clipboard

Copied

how to do this please ?

Votes

Translate

Translate

Report

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
Adobe Employee ,
Sep 24, 2023 Sep 24, 2023

Copy link to clipboard

Copied

There is no API access to caption tracks.
Such access won't be available until PPro moves to UXP-based extensibility; no dates available.

Votes

Translate

Translate

Report

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 ,
Sep 24, 2023 Sep 24, 2023

Copy link to clipboard

Copied

https://www.youtube.com/watch?v=M2vdZc3hG_Q&ab_channel=PremiereGal

howcome this person is doing that plugin ? do they use C++ ? 
I have only the srt file subtitle importer as 'yellow layers' from my script

if (importedSRT) {
var activeSeq = app.project.activeSequence;
if (activeSeq) {
var startAtTime = 0;
var result = app.project.activeSequence.createCaptionTrack(importedSRT, startAtTime);
(- Here is the place i would like to put the .mogrt file to color the subtitle)

.

Votes

Translate

Translate

Report

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
Adobe Employee ,
Sep 24, 2023 Sep 24, 2023

Copy link to clipboard

Copied

I'm not sure how they are doing it, but I can confirm that they're not doing it using any available supported API. 

Votes

Translate

Translate

Report

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 Expert ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

@Bruce Bullis,

 

Just to confirm my belief: there is no PR/AE function, without scripting, that will automatically populate multiple mogrts from a data source. I briefly got excited with the "Data Driven Mogrt" concept, but I now think that can only create a single instance at a time.

 

The feature request would be to select multiple text instances on a PR timeline, and drag a mogrt onto them. The mogrt detects the source text at uses that for that instance of the mogrt.

 

Stan

Votes

Translate

Translate

Report

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
Adobe Employee ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

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 Expert ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

They are exporting srt from the PR captioning unrelated to the Plugin. Then you tell the Plugin where the srt file is, and they use Mogrts to create graphics text with animation. So basically a text file/srt feeds to text data and timing to the Plugin. As Bruce says, none of the plugin function uses PR's caption track or functions.

 

Clever, increasingly popular style request.

 

Stan

 

Votes

Translate

Translate

Report

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