It sounds like your task involves 2 separate things:
1) Getting Premiere Pro to recognize your .srt file
2) Getting the .srt files in a sequence at the proper timecodes
For the first point, there is already a plug-in that supports this for Windows: EZTitles
To do this, they have implemented an importer plug-in that supports the .srt filetype. The importer API is described in chapter 5 of the Premiere Pro SDK.
For the second point, you may be able to generate a sequence in the Final Cut XML format that has all the clips at the desired times in the sequence. Then import the sequence into PPro and the clips will appear at the appropriate time in the sequence.
Thanks for your response.
We have tried the option of using a Final Cut XML file, but the problem is that the imported titles appear without the black border around them, so we need another option here.
Is there a function in the Premiere SDK API that can take a .prtl file and add it to the sequenece (like the function invoked from the Premiere Import menu) or can we get a sample code that implements a similar functionality? That will help us a lot.
So the problem is that your titles do not appear with a black border around the text? Are you using the EZTitles plug-in, or have you implemented your own importer plug-in? Let's explore this current route further.
We are implementing our own importer plug-in.
this would be an incredilbly helpful plugin. is there a roadmap for this?
i am working on a chinese documentary. people are translating rough cuts to .srt files, it would be so handy if i could import that..
i'd be happy to do any testing. (premiere 5.5 win)
keep up the good work,
i am also trying to figure out how to bring subtitels into premiere. i manage to bring in titles from FCP timeline, and i found out how to change their size in the xml, what i cant find out for the past many days is how to set the titles position, all the titles come in at
position x and position y of 100.00 and 100.00
if only there was a way to figure out how to translate these value within the xml before imorting that could have been a great and would solve half the world's problem...
any chance we can get help from adobe people?
right now i use the after effects plugin:
but putting in the AE file directly on the premiere track makes everything really slow. so i export the subtitles from AE and import that video file in premiere. quite a workaround.
why can't premiere just have a subtitle track, like video track and audio track? drop a SRT on the track, apply setting for font etc to the whole track at once. it can't be that complicated. any video player does srt automatically.
i really think the issue is that Adobe is USA oriented, where subtiltes are not so important. they don't really seem to care or know that the rest of the world uses subtitles a lot.
i do hope roi's plugin can do the trick in the near future.
If the files are brought in using your own importer plug-in, then you can solve this problem by changing the background from transparent to black, in the areas where you want a black border.
Ok, but how can I import a Final Cut XML file into Premiere's sequence using the importer plug-in? I am able only to import some arbitrary file and read its contents using the importer plug-in.
There is no example in the Premiere SDK on how to add subtitles to the sequence.
Is there some function call that I can use here?
Hi zac, is there any where to find out the properties of the values in the title editor
right now i dont manage to find a way to tell the titler where to put the titles ( i can bring them in alright and have them on the timeline as many text titles), and they are always brought to a default value.
i am sure it is possible as you can save a templete, and that will load the values again, but i didnt figure out the values in the prsl files...
can you direct me in a direction?
1 person found this helpful
Programatically triggering an XML importer is beyond the scope of the Premiere Pro API. This isn't possible using a plug-in. If this is the last step to bring the subtitles in, would it work to instruct the user to import the XML manually?
Roki86, I think this belongs in a different thread in the main Premiere Pro forum, not in the Premiere Pro SDK forum. The clip's instrinsic Motion properties is something that needs to be specified in the Final Cut XML, not through any plug-in involvement. You can also go to the source by reading the Final Cut XML documentation on Apple's website here: