How to install and use FFmpeg on Windows 11

To install FFmpeg on Windows 11, run winget install --id Gyan.FFmpeg in Terminal, open a new window, and type ffmpeg -version to confirm it works.

This guide also covers the manual ZIP install, adding FFmpeg to the Path, Chocolatey, the commands you will use most, and how to remove it again.

Install & use FFmpeg on Windows 11/10

FFmpeg has no setup wizard. The FFmpeg project only publishes source code and links to ready-made Windows builds, and winget installs one of those builds for you.

  1. Right-click Start and select Terminal.
  2. Type winget search ffmpeg and press Enter to see the available packages and their IDs.
  3. Type winget install --id Gyan.FFmpeg and press Enter.
  4. Accept the source agreement if winget asks, then wait for the install to finish.
  5. Close Terminal and open a new window so it picks up the updated Path.
  6. Type ffmpeg -version and press Enter. A version number and build details mean FFmpeg is ready.
  7. Convert a file with ffmpeg -i input.avi output.mp4, replacing the names with your own files.

If you would rather pick the build yourself, use the manual ZIP route below or compare the FFmpeg download options for Windows, Mac and Linux.

What is the use of FFmpeg?

FFmpeg is a free, open-source multimedia framework that can decode, encode, transcode, stream, filter and play almost any audio or video format. A Windows build gives you three command-line tools.

Tool What it does Typical use
ffmpeg.exe Converts media files between formats Turn an AVI into an MP4, pull the audio out of a video, cut a clip
ffprobe.exe Analyses media streams See the codec, resolution, bitrate and length of a file
ffplay.exe Plays media with a simple player built on the FFmpeg libraries Preview a file or test a stream

Many video editors, converters and media servers use the FFmpeg libraries internally, so some apps ask you to install FFmpeg before a feature works.

FFmpeg uses across its three tools: ffmpeg, ffplay and ffprobe
A Windows build gives you all three: ffmpeg converts files, ffplay plays them and ffprobe analyses their streams. (Image: ffmpeg.org)

FFmpeg install for Windows: winget, ZIP build or Chocolatey

Your situation Use this Why
You want the fastest install on Windows 11 winget One command, and winget can update or remove it later
You want to choose the exact build or keep FFmpeg in your own folder ZIP build linked from ffmpeg.org No package manager needed, and the files stay where you put them
You already manage apps with Chocolatey choco install ffmpeg The package installs the static essentials build
You need a custom build with your own options Compile from source ffmpeg.org documents MSYS2 and MSVC builds for Windows

Download FFmpeg for Windows 11 from the official site

The download page on ffmpeg.org links two Windows builders: Windows builds from gyan.dev and Windows builds by BtbN. Both are prebuilt; the FFmpeg project itself ships only source code.

  1. Open ffmpeg.org/download.html in your browser.
  2. Under Get packages & executable files, select the Windows logo.
  3. Select Windows builds from gyan.dev or Windows builds by BtbN, then download a release build ZIP from that page.
  4. Right-click the ZIP file and select Extract All.
  5. Move the extracted folder to a short path such as C:\ffmpeg so it is easy to type and reference.
  6. Open the folder and its bin subfolder. It holds ffmpeg.exe, ffprobe.exe and ffplay.exe.
  7. Copy the address of the bin folder, for example C:\ffmpeg\bin, for the Path step below.

Until the bin folder is on your Path, FFmpeg only runs from inside that folder.

How to install and use FFmpeg on Windows 11
Select the Windows logo under Get packages & executable files to reveal the gyan.dev and BtbN build links. (Image: ffmpeg.org)

Add FFmpeg to Windows path using Environment variables

Adding the bin folder to the Path lets you type ffmpeg in any Command Prompt or PowerShell window. Windows stores the change in the registry with your other environment variables, so it survives restarts.

  1. Select Start, type Advanced system settings, and open it. You can also press Windows key + R, type SystemPropertiesAdvanced and press Enter.
  2. On the Advanced tab, select Environment Variables….
  3. Under the variables for your user account, select Path and then select Edit.
  4. Select New and paste the bin folder path, for example C:\ffmpeg\bin.
  5. Select OK in each open window to save the change.
  6. Close every Command Prompt, PowerShell and Terminal window, then open a new one.

Add it to the system Path instead of your user Path only if other accounts on the PC need FFmpeg too. That requires administrator rights.

Add FFmpeg to Windows path in the Edit environment variable window
Select New, paste the bin folder path such as C:\ffmpeg\bin, then select OK in each open window. (Image: Microsoft Q&A)

Add FFmpeg to the Path with PowerShell

This does the same job as the Environment Variables window in one line. It appends the folder to your user Path, which persists outside the current session.

[Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path', 'User') + ';C:\ffmpeg\bin', 'User')

Reads your current user Path, adds C:\ffmpeg\bin to the end with a semicolon separator, and saves it in the User scope. Change the folder if you extracted FFmpeg somewhere else.

You should see: The command returns no output. Open a new PowerShell window and run ffmpeg -version to see the version banner.

Typing $Env:PATH += ';C:\ffmpeg\bin' instead changes the Path only for the current window. If you use PowerShell 7, both lines work the same way.

Install FFmpeg with Chocolatey on Windows 11

If you use the Chocolatey package manager, its community package installs the stable static essentials build of FFmpeg from gyan.dev.

  1. Right-click Start and select Terminal (Admin).
  2. Type choco install ffmpeg -y and press Enter.
  3. Wait for Chocolatey to report that the install finished.
  4. Open a new Terminal window and run ffmpeg -version.
  5. Update it later with choco upgrade ffmpeg -y.
Install FFmpeg with Chocolatey from the community FFmpeg package page
The package page lists the current FFmpeg version and its Install, Upgrade and Uninstall commands; run them from Terminal (Admin). (Image: community.chocolatey.org)

How to make sure FFmpeg is installed

Check from a fresh Command Prompt window, because windows opened before the install still use the old Path.

  1. Press Windows key + R, type cmd and press Enter.
  2. Type ffmpeg -version and press Enter.
  3. Look for a first line that starts with ffmpeg version followed by the build details and library versions.
  4. Run ffprobe -version to confirm the analysis tool is on the Path too.
  5. Run ffmpeg -encoders if you need a specific encoder, and check that its name is in the list.

If Command Prompt says ffmpeg is not recognized, the Path entry is missing or points at the wrong folder. The fixes are below.

How to use FFmpeg on Windows

Every FFmpeg command follows the same shape: ffmpeg, the input after -i, any options, then the output file name. FFmpeg picks the output format from the file extension.

Job Command What the options do
Convert a video to MP4 ffmpeg -i input.avi output.mp4 Re-encodes into the format the extension names
Change container without re-encoding ffmpeg -i input.mkv -c copy output.mp4 -c copy copies the streams as they are, so it is fast and lossless
Extract the audio from a video ffmpeg -i input.mp4 -vn output.mp3 -vn drops the video stream
Remove the sound from a video ffmpeg -i input.mp4 -an -c:v copy output.mp4 -an drops audio; -c:v copy keeps the video untouched
Cut a clip ffmpeg -ss 00:01:00 -i input.mp4 -t 30 -c copy clip.mp4 -ss seeks to 1 minute, -t 30 keeps 30 seconds
Change the frame rate ffmpeg -i input.avi -r 24 output.mp4 -r 24 writes the output at 24 fps
Save one frame per second as images ffmpeg -i input.mp4 -r 1 frame-%03d.jpeg Writes frame-001.jpeg, frame-002.jpeg and so on
Inspect a file ffprobe input.mp4 Prints the streams, codecs and duration

Times accept HH:MM:SS or plain seconds. Add -y to overwrite an existing output file without a prompt, or -n to stop instead.

How to run FFmpeg on a video file in Windows 11

FFmpeg looks for files in the folder your command window is in, so move there first.

  1. Open the folder with your video in File Explorer and copy its address from the address bar.
  2. Open Command Prompt or Terminal.
  3. Type cd /d "C:\Users\you\Videos", using the address you copied, and press Enter.
  4. Type ffmpeg -i input.avi output.mp4 with your real file names. Put names that contain spaces in double quotes.
  5. Press Enter and watch the progress line count up frames and time.
  6. Open the new file from the same folder when FFmpeg returns to the prompt.

FFmpeg is not recognized as an internal or external command

'ffmpeg' is not recognized in Command Prompt

The bin folder is not on the Path, or the window was open before you changed it.

  1. Close every command window and open a new one, then run ffmpeg -version again.
  2. Open Environment Variables… and check that the Path entry ends in \bin, not the parent folder.
  3. Confirm that ffmpeg.exe really is in that folder in File Explorer.

FFmpeg works only inside its own folder

The files were extracted but the Path step was skipped.

  1. Add the bin folder with the Environment Variables steps or the PowerShell command above.
  2. Open a new window and run ffmpeg -version from any folder.

FFmpeg asks whether to overwrite the output file

A file with the output name already exists in the folder.

  1. Type y to replace it or n to cancel.
  2. Add -y to the command to overwrite without asking, or -n to exit instead.
  3. Give the output a new name if you want to keep both files.

FFmpeg says an encoder is unknown

The build you installed does not include that encoder.

  1. Run ffmpeg -encoders to list what your build supports.
  2. Pick an encoder from that list, or install a fuller build from the links on ffmpeg.org.

How to uninstall FFmpeg on Windows 11

  1. If you used winget, run winget uninstall --id Gyan.FFmpeg in Terminal.
  2. If you used Chocolatey, run choco uninstall ffmpeg in an administrator Terminal.
  3. If you used a ZIP build, delete the folder you extracted, such as C:\ffmpeg.
  4. Open Advanced system settings > Environment Variables…, select Path > Edit, select the FFmpeg entry and select Delete.
  5. Select OK in each window, then open a new Command Prompt and check that ffmpeg -version is no longer found.
Uninstall FFmpeg on Windows 11 by opening Environment Variables in System Properties
On the Advanced tab of System Properties, select Environment Variables, then remove the FFmpeg bin entry from Path. (Image: Microsoft Q&A)

FFmpeg on Windows 11 FAQ

How do I install FFmpeg on Windows?

Run winget install –id Gyan.FFmpeg in Terminal, or download a Windows build linked from ffmpeg.org, extract it and add its bin folder to the Path. Open a new command window and run ffmpeg -version to confirm it works.

Does FFmpeg work on Windows?

Yes. FFmpeg compiles and runs on Microsoft Windows as well as Linux, macOS and the BSDs. The project links ready-made 64-bit Windows builds from gyan.dev and BtbN on its download page.

How do I run FFmpeg?

FFmpeg has no window of its own. Open Command Prompt or PowerShell, move to the folder with your file using cd, and type a command such as ffmpeg -i input.avi output.mp4.

How do I make sure FFmpeg is installed?

Open a new Command Prompt and type ffmpeg -version. If FFmpeg is installed and on the Path, it prints its version, build configuration and library versions. A not recognized error means the Path entry is missing.

What is the use of FFmpeg?

FFmpeg converts, records, streams and edits audio and video from the command line. It can change formats, extract audio, cut clips, change frame rates and save frames as images, and many other apps use its libraries.

How do I build FFmpeg on Windows?

Install MSYS2 and use one of its MinGW-w64 environments, such as UCRT64, CLANG64 or CLANGARM64 for Windows on ARM. FFmpeg can also be built with MSVC 2019 16.8 or later by running configure with –toolchain=msvc.

How do I install FFmpeg on Linux?

Install it from your distribution's package manager. ffmpeg.org links official packages for Debian, Ubuntu, Fedora and Red Hat Enterprise Linux, plus 64-bit static builds for other distributions.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *