Skip to content

Olivia-li/youtube-to-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-to-text

Transcribe any YouTube video using OpenAI Whisper

Setup

  1. Download your Python dependencies pip3 install -r requirements.txt
  2. 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

Transcribe any Youtube file

In video_urls.json replace the filler links with the urls of the YouTube videos that you want to download.image

Run python3 main.py to transcribe your YouTube videos. The .txt files will save to the data/text folder

About

Transcribe any youtube video using openai whisper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published