Vidtranslate is an application that translates video subtitles to English. It allows users to download both the translated English version and the original subtitles.
- This application is developed using Python and Streamlit.
- It is designed to run on Windows. It might work on other operating systems, but this has not been confirmed.
Chocolatey is a package manager for Windows. You can install it by following the instructions at Install Chocolatey.
Once Chocolatey is installed, you can use it to install ffmpeg:
- Open Command Prompt as an Administrator.
- Run the following command to install ffmpeg:
choco install ffmpeg
- Open Command Prompt.
- Navigate to the directory where your
app.py
file is located. - Run the following command:
streamlit run app.py
Vidtranslate allows you to obtain video subtitles translated to English. You can then download both the translated English subtitles and the original subtitles.
-
Installation Issues: Ensure you are running Command Prompt or PowerShell as an Administrator.
-
ffmpeg Not Found: Verify that ffmpeg was installed correctly by typing
ffmpeg -version
in Command Prompt. -
Streamlit Not Found: Ensure that Streamlit is installed by running
pip install streamlit
. -
Model Performance: The application uses OpenAI Whisper for obtaining transcripts. The default model is "medium" which requires ~5 GB of VRAM and has a relative speed of 2x. Depending on your system's specifications, you may need to adjust the model:
- tiny: Requires ~1 GB VRAM, 32x speed
- base: Requires ~1 GB VRAM, 16x speed
- small: Requires ~2 GB VRAM, 6x speed
- medium: Requires ~5 GB VRAM, 2x speed (default)
- large: Requires ~10 GB VRAM, 1x speed
Lower models will result in lower quality but faster processing times, and vice versa.
Currently, contributions are managed solely by the original author. You can view the project on GitHub: GitHub Profile
For questions or support, please reach out through the GitHub repository.