How dimitris02/subtitler works
Main Components
a. Input/Output Layer
• Video Input Component
• Subtitled Video Output Component
b. Processing Components
• Audio Extraction Module
• Speech Recognition Module (Google Speech Recognition)
• Translation Module (DeepL Scraper)
• Subtitle Generation Module
c. External Services
• Google Speech Recognition API
• DeepL.com (via Selenium WebDriver)
Processing pipeline with distinct components
• Audio Extraction (using moviepy/pydub)
• Speech Recognition (using speech_recognition)
• Translation (using selenium/deepl_scraper)
• Subtitle Integration
Technical Details
• Key Python libraries: speech_recognition, selenium, moviepy, pydub
• Language configuration options (LANG, TRANSLATE_TO)
• Configurable parameters (SILENCE, THRESH)
Important Notes
• A note about geckodriver.exe being required for Selenium
• Configuration parameters that can be adjusted
• Supported input/output formats