Last updated: February 5, 2025

<span aria-hidden="true" id="how-to-install-ffmpeg-on-windows-a-complete-guide"></span>

# How to install FFmpeg on Windows: a complete guide

![Tim Koschützki](/assets/images/teammates/avatar-tim-kos-1.jpg?dpl=dpl_5eQDcFwLGbzg3PfkSEW2a2j2x5pY)

**Tim Koschützki**

Co-founder · Berlin, Germany · Show bio

[](https://x.com/tim%5Fkos)[](https://github.com/tim-kos)

FFmpeg is a powerful multimedia framework for handling audio and video files. This guide explains how to install FFmpeg on Windows, including download options, system requirements, and troubleshooting tips.

<span aria-hidden="true" id="prerequisites"></span>

## Prerequisites

Before installing FFmpeg, ensure your system meets these requirements:

* For gyan.dev essentials build: Windows 7 or later.
* For gyan.dev full build: Windows 10 or later with a CPU supporting SSE4.1.
* For BtbN builds: Windows 10 22H2 or later.
* Administrator privileges on your system.
* An active Internet connection for downloading FFmpeg.

<span aria-hidden="true" id="installation-methods"></span>

## Installation methods

You can install FFmpeg using package managers or through a manual installation.

<span aria-hidden="true" id="using-package-managers"></span>

### Using package managers

You can install FFmpeg easily using popular package managers:

Using Chocolatey:

```powershell
choco install ffmpeg

```

Using Winget:

```powershell
winget install ffmpeg

```

Using Scoop:

```powershell
scoop install ffmpeg

```

<span aria-hidden="true" id="manual-installation"></span>

### Manual installation

<span aria-hidden="true" id="step-1-download-ffmpeg"></span>

#### Step 1: Download FFmpeg

Choose one of the following sources to download FFmpeg:

* Visit [gyan.dev/ffmpeg/builds/⁠](https://www.gyan.dev/ffmpeg/builds/) (recommended for Windows)
  * Choose `ffmpeg-release-essentials.7z` for most users.
  * Choose `ffmpeg-release-full.7z` if you need additional codecs.\
    OR
* Visit [GitHub - BtbN/FFmpeg-Builds⁠](https://github.com/BtbN/FFmpeg-Builds/releases) (alternative source)
  * Select the appropriate win64 build (gpl, lgpl, or shared) that matches your needs.

For more options, refer to the [official FFmpeg download page⁠](https://ffmpeg.org/download.html).

<span aria-hidden="true" id="step-2-verify-download-integrity"></span>

#### Step 2: Verify download integrity

1. Download both the FFmpeg archive and its corresponding `.sha256` file.
2. Open PowerShell and navigate to your download directory.
3. Run:

```powershell
Get-FileHash ffmpeg-release-essentials.7z | Format-List

```

1. Compare the computed hash with the contents of the `.sha256` file.

<span aria-hidden="true" id="step-3-extract-the-archive"></span>

#### Step 3: Extract the archive

1. Right-click the downloaded `.7z` file.
2. Select 'Extract All...'
3. Choose a destination folder (e.g., `C:\FFmpeg`).
4. Click 'Extract'.

<span aria-hidden="true" id="step-4-add-ffmpeg-to-the-system-path"></span>

#### Step 4: Add FFmpeg to the system path

1. Press Windows + X and select "System."
2. Click "Advanced system settings."
3. Click "Environment Variables."
4. Under "System variables," select `Path` and click "Edit."
5. Click "New" and add the path to the `bin` folder (e.g., `C:\FFmpeg\bin`).
6. Click "OK" on all dialogs to apply the changes.

<span aria-hidden="true" id="choosing-between-static-and-shared-builds"></span>

## Choosing between static and shared builds

FFmpeg is available in both static and shared builds:

* Static builds bundle all necessary libraries within the executable, offering a hassle-free setup.
* Shared builds require the corresponding dynamic libraries (DLLs) to be present on your system.

For simplicity, we recommend using static builds unless you need a specific shared library feature.

<span aria-hidden="true" id="verifying-the-installation"></span>

## Verifying the installation

1. Open Command Prompt or PowerShell.
2. Run:

```bash
ffmpeg -version  
```

3. You should see version information that includes:
   * The FFmpeg version number.
   * Configuration options.
   * A list of included libraries.

<span aria-hidden="true" id="troubleshooting-common-issues"></span>

## Troubleshooting common issues

<span aria-hidden="true" id="ffmpeg-not-recognized"></span>

### FFmpeg not recognized

If you encounter the error "'ffmpeg' is not recognized":

* Ensure the PATH is set correctly.
* Log out and log in again, or restart your computer.

<span aria-hidden="true" id="missing-dll-errors"></span>

### Missing dll errors

If you see errors such as "MSVCR100.dll is missing":

* Install the latest Visual C++ Redistributable.
* Alternatively, use a static build to bypass DLL dependencies.

<span aria-hidden="true" id="shared-library-issues"></span>

### Shared library issues

If you receive errors like "Error while loading shared libraries":

* Consider using the static build.
* Verify that all required Visual C++ Redistributables are installed.

<span aria-hidden="true" id="permission-issues"></span>

### Permission issues

If you experience permission errors:

* Run Command Prompt as Administrator.
* Check the file permissions of the FFmpeg directory.

<span aria-hidden="true" id="basic-ffmpeg-commands"></span>

## Basic FFmpeg commands

Here are a few common commands to help you get started:

* Convert a video format:

```bash
ffmpeg -i input.mp4 output.avi

```

* Extract audio from a video:

```bash
ffmpeg -i input.mp4 -q:a 0 -map a output.mp3

```

* Resize a video:

```bash
ffmpeg -i input.mp4 -vf scale=1280:720 output.mp4

```

<span aria-hidden="true" id="updating-ffmpeg"></span>

## Updating FFmpeg

To update FFmpeg:

1. Download the latest build from one of the sources listed above.
2. Extract the new archive to a folder.
3. Replace your existing FFmpeg installation with the new files.
4. Ensure that your system PATH points to the updated installation.

<span aria-hidden="true" id="leveraging-hardware-acceleration"></span>

## Leveraging hardware acceleration

If your system supports hardware acceleration (such as Intel Quick Sync or NVIDIA NVENC), you can enable faster encoding. Consult the official FFmpeg[documentation⁠](https://ffmpeg.org/documentation.html) for the appropriate flags and configuration options.

<span aria-hidden="true" id="conclusion"></span>

## Conclusion

You now have FFmpeg installed and ready to use on your Windows system. This guide has covered essential steps—from downloading and verifying FFmpeg to troubleshooting common issues and exploring basic commands. For more advanced usage and further details, refer to the official[FFmpeg documentation⁠](https://ffmpeg.org/documentation.html).

For developers working with video processing at scale, Transloadit's platform can run your FFmpeg commands in the cloud, offering autoscaling and parallel processing capabilities.[Learn more about our video encoding capabilities](/services/video-encoding.md).

\#ffmpeg#windows#installation#video-encoding-service#video-encode-robot

### 👩‍💻 Join 20k+ developers

Sign up for our [monthly newsletter](/newsletters.md) to receive direct links to 3 exclusive tech — and 2 product updates. No less, no more.

Your email:

Get access

## File uploading and encoding. Made simple.

Transloadit streamlines file handling for developers, trusted by brands like Coursera and The New York Times. We’re known for a reliable API, top-notch support, and a strong commitment to open source, with projects like [Uppy⁠](https://uppy.io) and [Tus⁠](https://tus.io) setting standards in file processing.

[Sign up](/c/)[Book a Demo](https://survey.typeform.com/to/kRg47Xi5)

No credit card needed

Cancel anytime
