• 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 import caption file srt thru scripting

Community Beginner ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

Hi

 

I'm trying to import srt caption file into timeline. File imports but not to timeline; i tried insertClip too, but nothing happens.

 

Seems there is a class QECaption, but its not accessible.

 

Any clue, suggesstion is appreciated. Thank you

TOPICS
Error or problem , How to , Import , SDK

Views

250

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

You're right, there's capability to access a caption track; I was hoping it'd import correctly, using insertClip().

Further, there's no API around PPro's new captions workflows. 


Votes

Translate

Translate
Adobe Employee ,
Aug 18, 2021 Aug 18, 2021

Copy link to clipboard

Copied

The QE DOM is neither supported, nor recommended. 

Once you import an .srt file into the project (using (app.project.importFiles()), you can add it to a sequence using insert()

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

Copy link to clipboard

Copied

Thank you for the immidiate respone. Sorry I can see there is only "insertClip" function, which returns no error, though not adding to timeline.

 

Moreover seems there are only two types of track; audio and video; no caption track. Could you please share a sample?

 

thanks again!

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

Copy link to clipboard

Copied

You're right, there's capability to access a caption track; I was hoping it'd import correctly, using insertClip().

Further, there's no API around PPro's new captions workflows. 


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

Copy link to clipboard

Copied

LATEST

Thats very disappointing; thank you for the imm response.

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