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

Trying to work around absence of API for captions

Engaged ,
Feb 18, 2024 Feb 18, 2024

Copy link to clipboard

Copied

Hello,

As I am understanding, there is no way to communicate with Captions, whether that is with recommanded documentation or unsupported and unrecommanded codes, right? (If there is any method, then I desire to know before going ahead)

 

1) So I was wondering, is there a method in the official documentation that will allow you to cut a sequence and ALL ITS CONTENT at certain timestamp/point?

So instead of searching for ways to remove captions or add them etc, instead having a method that will remove captions, I want simply a method that cut EVERYTHING on a sequence after a certain given T time (or before t1, or any area of the sequence really)

THe idea is to obtain a sequence that only contain items between t1 and t2. (everything is gone after t2 )

 

2) Is there a way to tell PPRO to explort ONLY A PART of a sequence?

So intead of cutting the sequence, I will leave the captions, but I will simply tell PPRO to render intoa  video only up to a certain T time.

Can that be done?

 

To illustrate the problem here: I have a trackitem that has a duration of X1, and captions thourghest the X1 duration.
I only want to obtain X1/2 duration (or any amount of time, involving ins and outs) as a rendered video, but I want to OBTAIN the captions of that chosen part only.

I am afraid the video will longer if there is captions after a track item video is done anyway, thus me wanting to remove extra portions of captions.

TOPICS
SDK

Views

164

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 1 Correct answer

Adobe Employee , Feb 19, 2024 Feb 19, 2024

>As I am understanding, there is no way to communicate with Captions

There is no API around controlling captions; that will need to wait until UXP extensibility becomes available. 

>1) So I was wondering, is there a method in the official documentation that will allow you to cut a sequence and ALL ITS CONTENT at certain timestamp/point?

As previously stated, there's no such thing as a 'cut', in the API. It is possible to delete and/or retime existing trackItems, to obtain the same result. 

>Is ther

...

Votes

Translate

Translate
Adobe Employee ,
Feb 19, 2024 Feb 19, 2024

Copy link to clipboard

Copied

>As I am understanding, there is no way to communicate with Captions

There is no API around controlling captions; that will need to wait until UXP extensibility becomes available. 

>1) So I was wondering, is there a method in the official documentation that will allow you to cut a sequence and ALL ITS CONTENT at certain timestamp/point?

As previously stated, there's no such thing as a 'cut', in the API. It is possible to delete and/or retime existing trackItems, to obtain the same result. 

>Is there a way to tell PPRO to explort ONLY A PART of a sequence?

Yes.

 

 

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
Engaged ,
Feb 19, 2024 Feb 19, 2024

Copy link to clipboard

Copied

Hello thanks for the answer,

1) When will UXP be available approximately? Will the lines of codes I am using with project items/track items continue working when UXP is here?

 

2) I see work area having 3 types, tell me if My assumption is correct:

- 0: Starts from t0 even if there is empty gaps at the beginning

- 1: Obtain an output that takes all the items between IN and OUT (even empy gapes located before or after the present items as long as they are part of the in-out)

- 2: Only the area located between the first item and the last item? Which constitures a "work area" unless I am missing something?

 

 

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 ,
Feb 19, 2024 Feb 19, 2024

Copy link to clipboard

Copied

> When will UXP be available approximately?


No dates available; work is already in process. 

 

> Will the lines of codes I am using with project items/track items continue working when UXP is here?

 

No; ExtendScript is completely distinct from UXP.

 

> I see work area having 3 types, tell me if My assumption is correct:

> 0: Starts from t0 even if there is empty gaps at the beginning


Yes, "entire timeline" means the whole timeline. 🙂

> 1: Obtain an output that takes all the items between IN and OUT (even empy gapes located before or after the present items as long as they are part of the in-out)

Correct. 

> 2: Only the area located between the first item and the last item?

The user can also determine a work area. Further testing will show you PPro's behavior.

 

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
Engaged ,
Feb 19, 2024 Feb 19, 2024

Copy link to clipboard

Copied

LATEST

Ok thanks for the input, I will explore it further,

I meant I hope extendscript stay "active" even if we move to a new method involving UXP etc.

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