- Joined
- Jan 12, 2022
- Messages
- 48
This explains how to install the full build of FFmpeg on Windows 11, and how to add it to the system PATH so that ffmpeg, ffprobe, and ffplay can be used from any terminal or external application.
ffmpeg -version
ffprobe -version
ffplay -version
from any Command Prompt / PowerShell window.
Method A – via Start menu
You can also test:
to confirm those tools are available too.
To clean this up:
Using FFmpeg in Your Own Apps
Once FFmpeg is in PATH, any application can call it just by using the command name ffmpeg without needing a hard-coded full path.
When redistributing FFmpeg binaries or using it in your software, make sure you comply with the relevant licenses.
What You Get
With a proper full installation you will have:- ffmpeg.exe – main tool for audio/video conversion and processing
- ffprobe.exe – tool for inspecting media files (codecs, streams, metadata, etc.)
- ffplay.exe – simple media player based on FFmpeg
ffmpeg -version
ffprobe -version
ffplay -version
from any Command Prompt / PowerShell window.
1. Download FFmpeg Full Build
- Open your browser and go to the official FFmpeg website:
- https://ffmpeg.org → Download → Windows
- In the Windows builds section, choose a trusted build provider, for example:
- Gyan FFmpeg Builds (attached in this post)
- or BtbN Builds
- Download a 64-bit full build (often called full_build or similar), usually a .zip file, e.g.:
- ffmpeg-7.x-full_build.zip
- Once the download finishes, extract the .zip file. You should see something like:
ffmpeg-7.x-full_build/
bin/
ffmpeg.exe
ffprobe.exe
ffplay.exe
doc/
presets/
...
2. Choose an Installation Folder
Do not leave FFmpeg inside Downloads. Instead, move it to a stable location, for example:- C:\ffmpeg or
- C:\Program Files\ffmpeg
Example
- Create the folder: C:\ffmpeg
- Move the extracted content into C:\ffmpeg, so that you have:
C:\ffmpeg\bin\ffmpeg.exe
C:\ffmpeg\bin\ffprobe.exe
C:\ffmpeg\bin\ffplay.exe
3. Add FFmpeg to the PATH (Windows 11)
To use ffmpeg from any Command Prompt / PowerShell window, you must add its bin folder to the PATH environment variable.3.1 Open Environment Variables
You can do this in two ways.Method A – via Start menu
- Press Win and type: env
- Click “Edit the system environment variables”.
- In the System Properties window, click “Environment Variables…”.
- Press Win + I to open Settings.
- Go to System → About.
- Click “Advanced system settings”.
- Click “Environment Variables…”.
3.2 Add the
You can add FFmpeg to:- User variables (only your user account can use it), or
- System variables (all accounts can use it – requires admin rights).
- In the Environment Variables window, in the top section “User variables for ”, locate Path.
- Select Path and click “Edit…”.
- In the Edit environment variable window:
- Click OK on all open dialog windows to save the changes.
- Click “New”
- Add the path to FFmpeg’s bin folder, for example: C:\ffmpeg\bin
Make sure you add the bin folder, not just C:\ffmpeg.
4. Verify the Installation
- Close all existing terminal windows (Command Prompt, PowerShell, Windows Terminal, etc.).
- Open a new Command Prompt:
- Press Win, type cmd, and press Enter.
- Run: ffmpeg -version
ffmpeg version 7.x Copyright (c) ...
configuration: ...
libavutil ...
libavcodec ...
...
You can also test:
ffprobe -version
ffplay -version
to confirm those tools are available too.
5. Common Issues & Fixes
5.1
If you see:'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.
then:
- Double-check you added the correct pathto the Path variable, e.g.:
- C:\ffmpeg\bin
- Make sure you clicked OK on all windows after editing Path.
- Close and reopen the terminal window.
- If you had multiple FFmpeg installations, ensure the correct path is present and at the top of the list.
5.2 Multiple FFmpeg Versions in PATH
If you had older FFmpeg installations (e.g. C:\Program Files\ffmpeg-old\bin), Windows might use the first entry in Path.To clean this up:
- Open Environment Variables again.
- Edit Path and remove any obsolete FFmpeg entries.
- Keep only the path you want, e.g.: C:\ffmpeg\bin
- Optionally, move this entry to the top of the list.
Using FFmpeg in Your Own Apps
Once FFmpeg is in PATH, any application can call it just by using the command name ffmpeg without needing a hard-coded full path.
Example: Python (subprocess)
This will work as long as FFmpeg is installed and the PATH is configured correctly.import subprocess
cmd = [
"ffmpeg",
"-i", "input.mp4",
"-vn",
"-acodec", "mp3",
"output.mp3",
]
result = subprocess.run(cmd, capture_output=True, text=True)
print(result.stdout)
print(result.stderr)
7. Uninstall or Move FFmpeg
If you want to move or remove FFmpeg:- Remove its entry from the Path environment variable.
- Delete or move the C:\ffmpeg folder (or whichever folder you used).
- Restart your terminal. Running ffmpeg -version should now fail, confirming it is removed.
8. License
FFmpeg is licensed under the LGPL/GPL (depending on how it is built and which libraries are included). For detailed licensing information, see:When redistributing FFmpeg binaries or using it in your software, make sure you comply with the relevant licenses.