Moderator: Paul Tuersley

Topic Author
Posts: 1
Joined: Wed Jun 27, 2012 2:08 am

Script for Exporting Textlayers as Subtitle

Wed Jun 27, 2012 10:57 am


I recently had to create a Caption- / Subtitle File for a Youtube-Video.
I already had positioned all the Text-Layers within After Effects, but there was no way to export them to an .SRT-File (which can be uploaded on Youtube).

So i found the Subtitle Import Script from Paul Tuersley, but as the name says - u only can import! Unfortunately i didn't get any response from him on my request for writing an Export-Script.

So i tried it myself - and it works (AE CS6). There is some code included vom Paul as well.

1. I build this Script only for myown - so it has not been tested very well. This is my first Script! Use it on your own Risk!
2. Select all the Textlayers in your Composition, that you want to export (The Script is searching for the In- and Outpoint of the selected Layers - so you need them to be positioned before running the script!)
3. Run the Script
4. A Textfile will be opend including everything you need for the .SRT-File. Simply save the File as .TXT and rename it to .SRT

This is very rudimental, but maybe someone has the same problem and can use / modifiy the script.
Best, Phil

Subtitle Export Script
(1.2 KiB) Downloaded 1789 times
Posts: 1
Joined: Thu Aug 20, 2015 6:55 am

Re: Script for Exporting Textlayers as Subtitle

Thu Aug 20, 2015 11:38 pm

Wonderfull! I tried this in After Effects CC and it works like a charm. Well done!
Posts: 1
Joined: Wed Sep 27, 2017 3:30 am

Re: Script for Exporting Textlayers as Subtitle

Wed Sep 27, 2017 3:42 am

 I cannot do the same for "Hindi" or Devanagari Script
can you please help
in dire need
screenshot link ... d.jpg?dl=0

Please help

Who is online

Users browsing this forum: No registered users and 2 guests