Languages Available:English 繁體中文
ytvideo-whisper is a Python script for downloading YouTube videos and generating SRT subtitles with ease.
- Download YouTube videos and generate SRT subtitles.
- Easily set up and run on local systems or Google Colab.
- Support for custom models.
- Optimized for faster API usage.
- Ensure the runtime type is set to GPU: Runtime -> Change Runtime Type
- Update the settings in the settings code block.
- Click: Runtime -> Run all (CTRL+F9)
- Connect to Google Drive.
- Generated subtitles (SRT) will appear in:
Google Drive -> Whisper -> result
- Install Python on your system.
- Run the setup script to set up a virtual environment and install dependencies:
./setup-requirement.sh
- Run the main script:
./run-script.sh
- Create a Python virtual environment:
python3 -m venv ./.virtualenv
- Activate the virtual environment:
- Bash/Zsh:
source ./.virtualenv/bin/activate
- Csh/Tcsh:
source ./.virtualenv/bin/activate.csh
- Fish:
source ./.virtualenv/bin/activate.fish
- Powershell:
- Allow script execution:
Set-ExecutionPolicy -ExecutionPolicy Bypass
- Activate the virtual environment:
.\.virtualenv\Scripts\activate
- Allow script execution:
- Bash/Zsh:
- Add Windows GPU support.
- Implement faster API.
- Support custom models.
- Add an installation script.
- blusewill – Creator and local environment tester.
- 機器狼 – Google Colab tester.
- 刺蝟瑞歐的小行星 – Test video provider.
Feel free to contribute and make this project even better! 🎉