Transcribe any YouTube video using OpenAI Whisper
- Download your Python dependencies
pip3 install -r requirements.txt
- Whisper depends on ffmpeg.
# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg
# on Arch Linux
sudo pacman -S ffmpeg
# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg
# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg
# on Windows using Scoop (https://scoop.sh/)
scoop install ffmpeg
In video_urls.json
replace the filler links with the urls of the YouTube videos that you want to download.
Run python3 main.py
to transcribe your YouTube videos. The .txt
files will save to the data/text
folder