Ask Janek AI with Janek

All questions

Auto-Dub Videos with AI in Agentic workflow using ChatGPT Codex · published 17 February 2026

Play at 6:46 Watch on YouTube Dubbing

How long does the first Codex dub take, and what if language detection fails?

I dub the test to Russian, because I can check it, and I ask it to detect the source language. Detection failed. The fallback is English. Once I tell it the source is English, it extracts the audio. The first finished run took 37 minutes.

The test line is hello, this is a test, with gaps on purpose, then a bit about London and a ride on a double-decker. The first run throws errors. I leave them to Codex inside VS Code. It creates a Python environment and installs the language packages. I do not care which packages. I care about the file in the output folder.

The voice is a bit like mine. The problem is the speed. I had told it to match every second of the original, so longer or shorter words get stretched or sped up. ElevenLabs and the other dubbing tools do the same kind of fit. On this clip the stretch was too much.