Tutorial

Setting Up Dynamic Subtitles in After Effects with Templater®

Published October 22, 2024Last modified November 18, 2024

This blog post will guide you through the process of setting up dynamic subtitles using Templater® and its Dynamic Subtitles rigging utility in Adobe® After Effects®. See the related support document for further insights into this process.

What You’ll Need

Before you begin, you should have:

  • Templater 3.4 or later installed. Dynamic Subtitles is an Autograf Rigging Utility that became available in this version.
  • An After Effects project with at least one dynamic footage layer linked to your data source.
  • An SRT file referenced in your data source. This will provide the subtitle data for your video.

Understanding Data Sources in Templater

Templater uses a data source to dynamically update the elements in your After Effects compositions. A data source is essential for Templater to function and can be any of these:

  • A QUE Campaign from your Dataclay QUE account
  • A native Google Sheets document
  • A tab-separated value file (TSV)
  • A plain text file containing JSON data
  • Remote JSON data sourced from a URL feed

Each row in your spreadsheet or object in a JSON array will represent a different render job that Templater will create. Each column or property key will represent a dynamic layer element in your video template, such as your subtitles. The individual cells in the spreadsheet will contain the text, URLs, or file paths that will be rendered in the output when that row is selected.

Linking Your Subtitles

Google Sheet with srt-data property
The “srt-data” property in this Google Sheet is a reserved column for Templater that specifies the full path to a folder and filename for an SRT file used in dynamic subtitles.
  1. Add an “srt-data” property in your data source. This property should reference the location of your SRT file. Make sure to note the frames per second (FPS) of your composition to ensure the subtitles are synced properly.
  2. Select your composition in After Effects, and then click Composition > Composition Settings to see your FPS.

Setting up the SRT Rig

The SRT Rig acts as the base framework for your dynamic subtitles.Opening Dynamic Subtitles Window

  1. Select the Dynamic Footage Layer in your composition where you want your subtitles to appear.
  2. Open the Autograf Rigging Utilities window by clicking the wrench icon in the Templater panel.
  3. Launch Dynamic Subtitles by clicking the (CC) icon.
  4. Select your composition and the dynamic footage layer where you want to superimpose subtitles.Dynamic Subtitle Setup Window - SRT Rig
  5. Choose a Label Color to identify the subtitle layers in your timeline. This won’t impact the text or background color of your composition.
  6. Choose whether to enable subtitle markers by default. Subtitle markers let you see when each subtitle will play.
  7. Select the checkbox to add a background layer by default to the SRT Rig. The background is helpful in the design phase and can be removed later.
  8. Click Create.

Adding the SRT Rig will introduce these new layers:

  • srt-display: lets you configure settings for all subtitles, such as font, color, size, and position.
  • srt-bg: allows you to configure the background layer separately.
  • srt-data: allows you to configure the subtitle data separately.

Styling the SRT Rig

Go to the srt-display layer in your composition.

Open the Effect Controls pane for this layer to access its controllers. Configure the style settings for the SRT Rig, such as:

  • Templater Settings
  • Position
  • Font color
  • Font Size
  • Background padding
  • Background color
  • Background roundness
  • Background opacity

Note that you shouldn’t configure the srt-data layer due to how subtitles are matched to the video.

Using the SRT Stack

Dynamic Subtitle Setup Window - SRT Stack

The SRT Stack expands the SRT Rig by creating a series of layers for each individual subtitle. This lets you fine-tune the style of each subtitle separately.

  1. Select the composition that contains your SRT Rig.
  2. Open the Autograf Rigging Utilities window.
  3. Launch Dynamic Subtitles.
  4. Select the composition for your SRT Stack layers.
  5. Click the SRT Stack tab.
  6. Select a Label Color for the individual subtitle layers. This functions the same as selecting a Label Color for your SRT Rig.
  7. Choose whether to display Subtitles in layer markers by default.
  8. Select whether to add a background layer to each subtitle by default.
  9. Select whether to detach layers from the rig by default. This detaches the layers for every subtitle so you can adjust them individually. Note that after detaching a layer, if you reattach it, the properties revert back to the default rig settings.
  10. Choose a different Detached Label Color from the SRT Rig for easy identification.
  11. Click Create.

Deleting the SRT Rig or Stack

You can delete either the SRT Rig or SRT Stack at any time.

  1. Select the composition containing the elements you want to delete.
  2. Open the Autograf Rigging Utilities window.
  3. Launch Dynamic Subtitles.
  4. Click the composition you want to delete.
  5. To delete the SRT Rig: Click Delete and confirm by clicking Yes.
  6. To delete the SRT Stack: Click the SRT Stack tab, click Delete, and confirm by clicking Yes.

Using Templater’s Dynamic Subtitles rigging utility can drastically streamline your video production workflow. You can quickly create and modify subtitle templates and generate multiple versions with various data sources.

Allan Barnwell

Allan Barnwell leads Sales and Marketing at Dataclay, bringing extensive experience as a creative professional and thought leader in media creation tools. With a strong entrepreneurial spirit, Allan has a diverse background in live broadcasting, film production, writing, graphic design, illustration, web and database development, technology consulting, and marketing. His passion for empowering creative professionals drives his mission to provide innovative solutions that elevate media workflows across industries.

Leave the first comment

Sign up

Stay up to date with Datclay's newsletter. We won't spam your inbox.

Newsletter Signup
Name
Name
First
Last

By submitting your email, you agree to our Terms and Privacy Policy. You can opt out at any time.