Skip to main content

Transcribing audio

You can transcribe video or audio in the Studio, with the CLI, or in the browser on remotion.dev/transcribe.

In the Studio​

1 Select a video or audio layer.
2 Click Generate captions in the inspector.

From v4.0.535, you can select a style from caption Elements in the Styles tab. See Styling captions.

With the CLI​

npx remotion whisper transcribe transcribes a local audio or video file.

Transcribe a file
npx remotion whisper transcribe public/interview.mp4

On remotion.dev/transcribe​

remotion.dev/transcribe transcribes audio and video locally in the browser.

Packages​

Remotion maintains several options for transcribing audio to generate captions:

Comparison​

@remotion/whisper-webgpu@remotion/install-whisper-cpp@remotion/openai-whisper@remotion/elevenlabs
EnvironmentBrowser, Node.js, BunNode.js, BunCloud (API)Cloud (API)
SpeedFast (depends on GPU)Fast (depends on hardware)FastFast
CostFreeFreePaid (OpenAI API pricing)Paid (ElevenLabs API pricing)
Offline support✅✅❌❌
No server needed✅❌✅✅
Convert functiontoCaptions()toCaptions()openAiWhisperApiToCaptions()elevenLabsTranscriptToCaptions()
Our recommendation✅

All of these options can output captions in the Caption type format, which is recommended for use with Remotion.

See also​