This project provides a PowerShell script that automates the entire FFmpeg installation process on Windows systems. The script handles:
- Downloading: Automatically fetches the latest FFmpeg builds from the official BtbN releases.
- Extraction & Installation: Unpacks the downloaded files and installs FFmpeg.
- Environment Variable Setup: Configures the necessary PATH variables for FFmpeg.
- Reinstallation: Safely removes any existing FFmpeg installation before updating to the latest version.
- Status Feedback: Provides clear status messages during installation and verifies success.
Requirements:
- Windows 10/11
- PowerShell (run as Administrator)
- An active Internet connection
Usage:
- Save the script as
install_ffmpeg.ps1. - Open PowerShell as Administrator and, if necessary, bypass the execution policy:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass - Run the installer script:
.\install_ffmpeg.ps1