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.
- 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.
Related agent uses
Index your archive and turn essays into new drafts
A writer used Claude Code to search a large archive, then reused essays as newsletter and thread drafts with a review step.
Build a song, artwork, and clip in one session
Claude Code handled lyrics, audio generation, mastering, cover art, and a short video through one connected workflow.
Run a shared video edit with coding agents
Kino let Luke and Donald work with coding agents on one video timeline at the same time.
Draft and queue your weekly newsletter automatically
Claude Code can pull recent posts, write a newsletter in your style, and send it to Kit for scheduling after you sign off.
Run Claude Code to build a coded animated musical
They let Claude Code work almost entirely on its own to keep creating and refining a fully coded animated musical.
Make a rough cut from a long training video
They used Claude Code to transcribe a 6-hour session locally, remove dead air and mistakes, and prepare a Kdenlive project for cleanup.