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
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.
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().
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!
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.
Copy link to clipboard
Copied
Thats very disappointing; thank you for the imm response.