Skip to content

mattcarrollcode/whisper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whisper

This repo contains the files that are created as a result of running OpenAI's Whisper project on a video's audio (Ben Holmes' interview with Dan Abramov about React Server components). Below are instructions on how to use Whisper.

Setup

Python

  1. Install pyenv
  2. Install pyenv-virtualenv
  3. Install Python 3.10.9: pyenv install 3.10.9
  4. Setup a virtual envirnment for this project: pyenv virtualenv 3.10.9 whisper
  5. use this virutalenv for this folder: cd to this directory and run pyenv local whisper you should now see (whisper) before your command prompt

Dependencies

  1. Install ffmpeg
    Operating System Installation Instructions
    macOS Install Homebrew then run: brew install ffmpeg in a terminal
    Linux (Debian) Run sudo apt update && sudo apt install ffmpeg in a terminal
    Windows Install Chocolatey then run: choco install ffmpeg in a terminal
  2. Install the whisper python library: pip install git+https://github.com/openai/whisper.git

Running

  1. run whisper PATH/TO/audio.wav

Other

Convert mp4 to wav

ffmpeg -i <infile> -ac 2 -f wav <outfile>

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published