Transcripta Lite requires FFmpeg for audio conversion, playback, and metadata extraction (ffprobe).
This guide explains step-by-step installation for Windows, macOS, and Linux, and how to add FFmpeg to your system PATH.
- Recommended: Gyan's static builds
https://www.gyan.dev/ffmpeg/builds/ - Click "Release builds" and download ffmpeg-release-full.7z .
- Extract the ZIP to a permanent location, for example:
C:\ffmpeg\ - After extraction you should have:
C:\ffmpeg\bin\ffmpeg.exe C:\ffmpeg\bin\ffprobe.exe
- Press
Winand type "Environment Variables" → open Edit the system environment variables. - Click Environment Variables....
- Under System variables, select
Path→ Edit.... - Click New and add the full path to FFmpeg
bin, e.g.:C:\ffmpeg\bin - Click OK to close all dialogs.
- Important: Close and reopen any Command Prompt / PowerShell / IDE (VS Code, Spyder) to pick up the PATH change.
Open Command Prompt and run:
ffmpeg -version
ffprobe -versionIf the commands show version info, installation succeeded.
Open Terminal and run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew install ffmpegHomebrew handles PATH configuration automatically.
ffmpeg -version
ffprobe -versionsudo apt update
sudo apt install ffmpegsudo dnf install ffmpegsudo pacman -S ffmpegIf your distribution does not provide FFmpeg in the default repositories, follow instructions at the official download page: https://ffmpeg.org/download.html
ffmpeg -version
ffprobe -versionFollow the Windows section above (Environment Variables → Path → add ...\\bin), then restart terminal/IDE.
If ffmpeg is installed in a custom location (e.g., /opt/ffmpeg/bin), add it to your shell profile.
For bash (~/.bashrc or ~/.bash_profile):
export PATH="/opt/ffmpeg/bin:$PATH"For zsh (~/.zshrc):
export PATH="/opt/ffmpeg/bin:$PATH"After editing the file, reload the shell:
source ~/.bashrc
# or
source ~/.zshrc-
'ffmpeg' is not recognized / command not found
→ Ensure thebinpath is added to PATH and restart the terminal/IDE. -
ffprobe missing
→ Use a full build (static) that includesffprobe. Avoid minimal or partial builds. -
Permission denied (Linux/macOS)
→ Ensureffmpegbinary has execute permission:chmod +x /path/to/ffmpeg
-
Windows: long path or spaces
→ Use the full path without quotes when adding to PATH; subprocess calls should pass command and arguments as a list to avoid quoting issues.
You can programmatically verify FFmpeg availability:
import subprocess
def ffmpeg_available():
try:
subprocess.run(["ffmpeg", "-version"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True)
subprocess.run(["ffprobe", "-version"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True)
return True
except Exception:
return False
ffmpeg_available()If this returns False, show a friendly message in the app pointing users to docs/FFmpeg_Setup.md.
- Official FFmpeg: https://ffmpeg.org/download.html
- Windows builds (Gyan): https://www.gyan.dev/ffmpeg/builds/
- macOS Homebrew: https://brew.sh