Skip to content

🎥 Make videos programmatically with React

1.2 KB
Raw Blame
---
title: Captions
description: Drop-in synchronized caption Elements for Remotion videos.
---

import {ElementLibrary} from '@site/src/components/Elements/ElementLibrary';

# Captions

<ElementLibrary category="captions" />

<div className="caption-library-instructions">

## How to use

### Transcribing in the Studio

<Step>1</Step> Select a video or audio.<br/>
<Step>2</Step> Click <kbd>Generate captions</kbd> in the inspector.<br/>
<Step>3</Step> Keep the default Basic Captions style, or select a caption Element in the <kbd>Styles</kbd> tab.<br/>
<Step>4</Step> Click <kbd>Generate captions</kbd> to transcribe and insert captions using the chosen style.<br/>

Style selection is available from <AvailableFrom v="4.0.535" inline />. Basic Captions works without loading the Element library.

### Importing captions into Studio<AvailableFrom v="4.0.521" />

<Step>1</Step> Install an Element from below.<br/>
<Step>2</Step> Select its caption layer in Studio.<br/>
<Step>3</Step> In the Captions inspector, click <kbd>Import</kbd> and choose a file. <br/>

Supported formats:

- Remotion [`Caption[]`](/docs/captions/caption) JSON
- SRT
- ElevenLabs Speech-to-Text or segmented JSON
- OpenAI Whisper JSON transcript (verbose mode must be on)

</div>