Capítulo 839 de 988

Chapter 839: Exporting subtitles

Core Idea

If you export a video in the square layout, then the subtitles will be burned into the video.

Key Concepts

  • Non-landscape layout
  • Landscape layout
  • Burn subtitles

Code Examples

-  // During rendering, you will get the actual .srt file instead of the preview.
-  if (useRemotionEnvironment().isRendering) {
-    return null;
-  }
  • What it demonstrates: Usage pattern for Exporting subtitles from the official docs.

Key Takeaways

  1. Understand non-landscape layout when working with Exporting subtitles.
  2. Understand landscape layout when working with Exporting subtitles.
  3. Understand burn subtitles when working with Exporting subtitles.

Connects To

  • Captions: related page in the Recorder (@remotion/recorder) section.
  • Create: related page in the Recorder (@remotion/recorder) section.
  • Demo: related page in the Recorder (@remotion/recorder) section.