Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.05 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.05 KB

Transcribing Youtube videos or Podcasts

HT to https://github.com/Uberi/speech_recognition

Requirements

  1. pip install SpeechRecognition
  2. brew install coreutils
  3. brew install ffmpeg
  4. pip install --upgrade google-api-python-client
  5. Install youtube-dl from here: https://github.com/rg3/youtube-dl/
    • FYI - a 1 hour video converts into a 600-700mb wav file
  6. Create a Google API Service Account from https://cloud.google.com/docs/authentication/getting-started#creating_the_service_account
    • Enter the JSON key into transcribe.py where indicated.

Usage

  1. For YOUTUBE ./transcribe.sh youtube YOUTUBE-URL
  • For PODCASTS ./transcribe.sh file PODCAST's-MP3-URL
  1. TimeStamp-RESULTS.txt is your result file.

Tests