Dub a film into English in each actor's own voice
A developer built a setup where Claude Code or Codex dubs films in each actor's copied voice; he reports watchable results, with a full movie taking about seven hours.
Done with Claude Code
What they did
A developer spent weeks writing scripts and an instruction file so a coding agent can dub a video. Claude Code, Codex or Cursor can run it. The setup splits the video and separates voices from music. It writes out the speech with Whisper, a speech-to-text tool, plus two backups. It matches each line to a speaker using voice and video frames. The agent then fixes, translates and times every line. Each line is spoken in a copied voice, mixed in, then turned back into text to check.
How it went
The author shares demos of a Japanese anime and a Japanese film dubbed into English. A short clip takes minutes. A full movie in both voices takes about seven hours of computer time on a laptop with a powerful RTX 4090 graphics card. Using only the actor's voice takes about half that.
Worth knowing
The agent can't hear, so you must judge the voices and the mix yourself. A movie used about 85 GB of disk space until cleanup. Only dub videos you have rights to, and copy voices only with consent.
Try it yourself with Claude Code
Using the dub-anything repo and its AGENTS.md, dub [path to video file] from [source language] into [target language]. First confirm the setup is installed and ask me which voice option I want. Show me the cast list and any lines you are unsure about before rendering the full dub. When finished, give me the dubbed file and a list of timestamps I should listen to and check.
Swap the highlighted [parts] for your own details.
Source: Hacker News · swax · Oct 14, 2026
Written with AI assistance from the original post and checked against our editorial guidelines. Results are as reported by the source, not independently verified.