r/learnpython • u/Successful-Action315 • 13d ago
What’s the best way to automate dual/bilingual subtitles (English + Slovak)?
Hi everyone,
I’m trying to find a way to create one SRT subtitle file containing both English and Slovak,
My grandad is Slovak and doesn't understand English, and I struggle to hear dialogue clearly in movies without subtitles. I want us to be able to watch movies together with both languages displayed at once.
I watch movies locally on my Samsung TV using its built-in media player and an external HDD, so I need a single .srt file that works alongside the movie.
Ideally, the process would:
- Find English and Slovak subtitles for the correct movie version.
- Make sure both subtitles are synchronised.
- Match the dialogue between the two languages accurately.
- Combine everything into one SRT file.
What's the best way to achieve this as automatically as possible? Should I use Python, OpenAI Codex, another AI tool, or existing software? Would I need to use Codex each time I process a movie, or could it help me build something that does the whole job automatically?
Thanks!