How to Install FFmpeg and Add It to the PATH in Windows 10 and 11
Install FFmpeg on Windows 10 or 11 with one winget command, or by hand: download the build, unpack it and add its bin folder to the PATH.
3 min readBy Shailabh
Reviewed by the AmazingRDP technical team

Long encoding jobs tie up a PC for hours. See our Encoding RDP plans. See Encoding RDP from $12.99
FFmpeg is the free command-line tool behind a large part of the world's video conversion. It has no installer on Windows: it is a set of three programs (ffmpeg, ffprobe, ffplay) that you put in a folder. For the command to work from any terminal, that folder must be in the PATH.
The quick way: winget
winget install Gyan.FFmpeg
This downloads a current build and takes care of the PATH. Open a new terminal and check:
ffmpeg -version
If that prints a version, you are done. The rest of this page is the manual way, which also explains what the PATH is for.
By hand
1. Download a build
Go to ffmpeg.org, open Download, and choose Windows. The site links to two makers of ready-made builds, gyan.dev and BtbN. Take a release build; "essentials" is enough for normal use, "full" adds rarely used codecs.
2. Unpack it
Extract the archive (a .7z file needs 7-Zip; the .zip variant opens with Windows itself). Rename the folder to ffmpeg and move it to C:\, so that the programs lie in C:\ffmpeg\bin.
3. Add the folder to the PATH
- Open the Start menu, type environment, and open Edit the system environment variables.
- Click Environment Variables.

- Under User variables select Path and click Edit. (Choose the Path under System variables if every user of the PC should have FFmpeg.)
- Click New, type
C:\ffmpeg\bin, and confirm every window with OK. - Open a new terminal and run
ffmpeg -version.
The same from PowerShell, for your own user:
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\ffmpeg\bin", "User")
What the PATH does
When you type a command, Windows looks for a program of that name in the current folder and then in each folder listed in the PATH. Without the entry, ffmpeg works only when you type its full location, C:\ffmpeg\bin\ffmpeg.exe.
First commands
ffmpeg -i input.mov output.mp4
ffmpeg -i input.mp4 -vn audio.mp3
ffmpeg -i input.mp4 -vf scale=1280:-2 -crf 23 smaller.mp4
ffmpeg -ss 00:01:00 -i input.mp4 -t 30 -c copy clip.mp4
ffprobe input.mp4
In order: convert to MP4; take out the sound as MP3; scale down to 1280 pixels wide; cut 30 seconds from minute one without re-encoding; show what is inside a file.
Problems
| Sign | Cause |
|---|---|
| 'ffmpeg' is not recognized | The terminal was open before the PATH changed, or the entry points at the folder above bin. Check with where ffmpeg |
| An old version answers | Another copy comes first in the PATH. where ffmpeg lists all of them in order |
| Windows warns about the downloaded file | Normal for programs from the internet. Download only through the links on ffmpeg.org |
| A program still cannot find FFmpeg | It was running when you changed the PATH. Restart it |
Update and remove
With winget: winget upgrade Gyan.FFmpeg. By hand: replace the folder with a newer build. To remove, delete the folder and the PATH entry.
On a shared remote desktop
Without administrator rights you cannot change the system PATH, and you do not need to: unpack FFmpeg into your own folder and edit the Path under User variables. For long conversions, our Encoding RDP plans exist so that your own PC stays free. Using it from code: FFmpeg in Python. The same PATH repair for another tool: 'node' is not recognized.
Questions
How do I install FFmpeg on Windows?
Run winget install Gyan.FFmpeg, or download a build through ffmpeg.org, unpack it and add its bin folder to the PATH.
How do I add FFmpeg to the PATH?
Open "Edit the system environment variables", click Environment Variables, edit Path and add the folder that contains ffmpeg.exe.
How do I check that FFmpeg is installed?
Open a new terminal and run ffmpeg -version.
Is FFmpeg free?
Yes. It is free, open-source software.