How to create video transcription with ffmpeg and whisper
09.04.2025
11 views
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