About: A fullstack developer inspired by learning and sharing. (him/he)
Location:
Florianópolis, Santa Catarina, Brasil
Joined:
Aug 24, 2019
How to create video transcription with ffmpeg and whisper
Publish Date: Apr 9
5 1
Requirements
ffmpeg
whisper
Python 3.10+ (for Whisper)
Installation
macOS
# Install Homebrew if you don't have it
/bin/bash -c"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"# Install ffmpeg
brew install ffmpeg
# Install Python (if needed)
brew install python
# Install Whisper
pip3 install--upgrade pip
pip3 install git+https://github.com/openai/whisper.git
Windows
# Install Chocolatey if you don't have it# Run in PowerShell as administrator:
Set-ExecutionPolicy Bypass -Scope Process -Force[System.Net.ServicePointManager]::SecurityProtocol =[System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))# Install ffmpeg
choco install ffmpeg
# Install Python (from python.org)# Make sure to check "Add Python to PATH" during installation# Install Whisper
pip install-U openai-whisper
When using that Whisper, no need to input API Key?