FFmpeg is a powerful open-source command-line tool used for converting, editing, recording, compressing, and streaming audio and video files. Installing it on Windows or macOS takes only a few minutes, and once installed, it becomes available from the Terminal or Command Prompt for media-processing tasks.
Install FFmpeg On Windows
Method 1: Install Using Winget
The easiest option on modern Windows systems is Microsoft’s package manager.
Open Command Prompt or PowerShell and run:
winget install Gyan.FFmpeg
After installation completes, open a new Command Prompt window and verify the installation.
Method 2: Manual Installation
If you prefer a manual setup, download a precompiled Windows build from a trusted provider linked by the official FFmpeg website. FFmpeg itself distributes source code, while Windows binaries are typically provided by third-party build maintainers.
After downloading:
- Extract the archive.
- Move the FFmpeg folder to a permanent location such as:
C:\ffmpeg
- Open System Properties.
- Select Advanced System Settings.
- Open Environment Variables.
- Edit the Path variable.
- Add the FFmpeg
bin directory:
C:\ffmpeg\bin
- Save the changes.
- Open a new Command Prompt window.
Install FFmpeg On macOS
The easiest installation method on macOS is Homebrew.
If Homebrew is not installed, install it first using the instructions from the Homebrew project.
Then run:
brew install ffmpeg
Homebrew automatically downloads and installs FFmpeg along with any required dependencies.
Alternative: MacPorts
If you use MacPorts instead of Homebrew, install FFmpeg with:
sudo port install ffmpeg
Verify The Installation
Regardless of your operating system, verify that FFmpeg is available by running:
ffmpeg -version
If FFmpeg is installed correctly, version information and build details will be displayed.
Test FFmpeg With A Simple Command
Once installed, try converting a video:
ffmpeg -i input.mp4 output.avi
Or extract audio from a video:
ffmpeg -i video.mp4 audio.mp3
These simple commands confirm that FFmpeg is functioning properly.
Things To Watch Out For
Several issues can prevent FFmpeg from working correctly after installation.
Common problems include:
- FFmpeg’s
bin folder not being added to the system PATH
- Opening an old Command Prompt window before restarting it
- Downloading an incomplete or outdated build
- Extracting FFmpeg to a temporary folder that later gets deleted
- Typing
ffmpeg before the installation has finished
If you receive a “command not found” or “‘ffmpeg’ is not recognized” error, the PATH configuration is usually the first thing to check.
Why Install FFmpeg?
FFmpeg powers many popular video and audio applications and is widely used by developers, content creators, system administrators, and media professionals.
Common uses include:
- Video conversion
- Audio conversion
- Screen recording
- Video compression
- Streaming
- Thumbnail generation
- Subtitle processing
- Media automation workflows
Join The Discussion
How do you use FFmpeg in your workflow? Have you installed it on Windows, macOS, or multiple platforms, and what challenges did you encounter during setup? Share your favorite FFmpeg commands, troubleshooting tips, automation ideas, and questions to help others get started with this powerful media-processing tool.