Add permanent subtitles to a movie file

A commenter used Claude Code to put Brazilian Portuguese subtitles into Casper for a neighbor who didn’t speak English.

Done with Claude Code· Intermediate· Mar 2026

What they did
They gave Claude Code the 1995 movie Casper and asked it to embed Brazilian Portuguese subtitles directly into the picture. When the captions vanished too quickly, they told it to use a three-line scrolling style instead. They also connected ElevenLabs APIs so it could produce a consistent voice for each character.
How it went
They said the generated speech sounded good. Claude also proposed changing the actors’ lip movements to better fit Portuguese, but they stopped because that would have required API access they didn’t have.
Tips
For this kind of job, have the agent make a new export and leave the source file alone. Review subtitle timing and readability before asking for extras like dubbing or lip-sync edits.

Try it yourself with Claude Code

I have a video at [file path] and want permanent subtitles in [language]. First, confirm whether ffmpeg is available and whether there is already a subtitle file. If not, make a separate draft .srt by pulling the speech from the audio and converting it into [language], then save it for me to review. If the lines are hard to follow, revise the subtitle style or pacing. Once I approve the subtitle file, render a fresh copy to [output file name] with the subtitles burned in, keep the original unchanged, and pause before any step that would send files, make payments, or change outside services. When the export is finished, verify a few timestamps and tell me where the file was saved.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.