Activity › Forums › Adobe After Effects › Subtitles into afterFX. Is it possible?
-
Subtitles into afterFX. Is it possible?
Posted by Daniel Martinez on September 24, 2005 at 10:32 pmIs it possible to import subtitles into after FX?
Like the Adobe Encore DVD text format?
Or PAC, STL or EBU files – or any other format?Is there a PlugIn that does it??
Thehardmenpath replied 20 years, 7 months ago 3 Members · 6 Replies -
6 Replies
-
Dan Ebberts
September 24, 2005 at 11:11 pmYou should be able to import and parse a text file in one of those formats with a script. It would probably work best if you already had a blank text layer all set up with your font, size, color, positioning and justification choices.
The script wouldn’t be trivial, but it shouldn’t be too tough either.
Dan
-
Daniel Martinez
September 25, 2005 at 5:24 amIn what langauge should i write the script?
Is it expresions? -
Dan Ebberts
September 25, 2005 at 5:57 amNo, expressions can’t do file I/O. It would need to be in AE’s scripting language, which is based on JavaScript. You need AE 6.5 Pro though.
Dan
-
Daniel Martinez
September 25, 2005 at 8:25 amI know I can do this, because I’m pretty good at programing – but
can you with this AE script define when a title should show? I mean does the AE script provide any means for controling how the imported text should behave in relation to the compositions timecode?Because if I was to do it with expresions I would have imported subtitle file, wich format is:
subtitle# starting_timecode ending_timecode subtitle(this is the actual text)
And have all the text with codes in one layer. Then I would rund the text throug my expretion and if the playhead eaquals a given subtitle# IN/OUT time span, it would parse that subtitle to a variable which again is read from another text layer with the expresion to turn the opacity to 100 if the variable is anything but empty.
Does it make sence?
-
Dan Ebberts
September 25, 2005 at 3:43 pmWith scripting, you would use the setValueAtTime() method to create keyframes for the text layer’s Source Text property – either setting the value to the subtitle text at the start time or to blank at the end time. Something like that.
Dan
-
Thehardmenpath
September 25, 2005 at 4:52 pmCheck this out, it probably will spare you a lot of time:
https://www.aenhancers.com/viewtopic.php?t=247
Reply to this Discussion! Login or Sign Up