Download and extract FFmpeg
Go to https://ffmpeg.zeranoe.com/builds/ to download the latest “nightly” build if you want all the latest features.
Extract the the ZIP file to a folder on your computer that you would like to store FFmpeg. For example
Add FFmpeg as an environment variable for the user
In order to run the command
ffmpeg in the command line you will have to add the ffmpeg location to the “environment variables” in Windows. Open Start and type either
systempropertiesadvanced. Hit enter to open the “System Properties”.
Click on the Advanced tab and then the “Environment Variables…” button.
Mark “Path” under “User variables for…” and click on “Edit”.
Click on “Browse” to find the location for FFmpeg.
When you add EXE files as an environment variable you should select the folder that actually contains the EXE file. In this case the EXE (ffmpeg.exe) is located in the folder called
bin. So we will have to select
Note that the path does not need to end with a
\ backslash sign. Also the path should not include the EXE itself, just the folder containing the EXE file.
Click OK to close the remaining open windows.
Test if FFmpeg is working
You can now run CMD and enter
ffmpeg to see if it works. If it works you should be able to see the version number and some additional info.
Now that you have added ffmpeg to the environment variables you do not have to write
ffmpeg.exe. You can simply type
ffmpeg 😀 👍