This Python script uses AI to translate videos from one language to another, including both audio and subtitles.
- Extracts audio from input video
- Transcribes and translates audio using OpenAI's Whisper model
- Generates timed subtitles in the target language
- Creates Text-to-Speech (TTS) audio in the target language