FFmpeg is an open-source media tool you can use to convert any video format into the one you need. The tool is command-line only, which means it doesn't have a graphical, clickable interface. If you're used to installing regular graphical Windows programs, installing FFmpeg may seem complicated at first—but don't worry, it's actually pretty easy! This wikiHow teaches you the simplest way to install FFmpeg on your Windows PC.

Steps

  1. 1
    Go to https://ffmpeg.org/download.html. This brings you to a page containing the latest FFmpeg install packages and binary files.
    • If you don't have an app that can decompress files ending with the .7z file extension, such as WinRAR or 7Zip, you must install one before you can continue.
  2. 2
    Click the Windows logo. It's the blue square with a white window inside.
    Advertisement
  3. 3
    Click Windows builds from gyan.dev. This takes you to a page that contains FFmpeg builds specifically for Windows that contains all of the hardware libraries you could possibly need.
    • If you prefer, you could click Windows builds by BtbN instead, which is another Windows build of FFmpeg. There are a variety of builds available from different websites—the official FFmpeg website may add more as they become available.
  4. 4
    Scroll down to the "git" section. It's about halfway down the page between the set of green boxes and the "release" sections.
  5. 5
    Click the link to download ffmpeg-git-full.7z. The full text of the link is https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z. This link downloads the latest FFmpeg files to your PC in a compressed format.
  6. 6
    Extract the downloaded file. Here's how:
    • Right-click the Windows/Start button and select File Explorer.
    • Click the Downloads folder in the left panel (you may have to click This PC first to find it).
    • Right-click ffmpeg-*-git-*full_build.7z (the file name will vary depending on the current release).
    • Select Extract Here and wait for the files to extract. This creates a new folder with the same name as the .7z file.
  7. 7
    Rename the extracted folder to FFmpeg. To do this, just right-click the folder, type FFmpeg, and press the Enter key.
  8. 8
    Click the FFmpeg folder once and press Control+X. This "cuts" the folder from the Downloads folder so you can paste it into the root of your hard drive.
  9. 9
    Click This PC in File Explorer. It's the computer icon in the left panel.
  10. 10
    Double-click your hard drive. It's usually called "Windows (C:)" or "Local Disk (C:)" but the name and drive letter may vary.
  11. 11
    Right-click a blank area of the right panel and select Paste. This moves the folder to the root of your hard drive.
  12. 12
    Open the system environment variables control panel. Here's how:
    • Press Windows key + S to open the search bar.
    • Type system variables into the search bar.
    • Click Edit the system environment variables in the search results.
    • Click the Environment variables button in the bottom-right area of the window.
  13. 13
    Select the Path variable under "User variables for (your name)" and click Edit. A list of paths will appear.
  14. 14
    Add the FFmpeg binary directory to the path. This will allow you to easily run FFmpeg commands at the command prompt without having to type out the full path to FFmpeg. Here's how:
    • Click the New button to open a new blank line below the bottom-most path.
    • Type C:\ffmpeg\bin. Or, if you placed the FFmpeg folder on a different drive or in a different folder, replace this path with that location instead (remember to leave \bin at the end).
    • Click OK. Now you'll see the FFmpeg path and the end of the "Path" variable in the upper portion of the window.
  15. 15
    Click OK to save your changes. You've now installed FFmpeg and set the proper environment variables. To confirm that FFmpeg is working, open the command prompt and run this command to see the version number: ffmpeg -version
  16. Advertisement

Community Q&A

  • Question
    How can I watch HEVC videos?
    Community Answer
    Community Answer
    The newest version of VLC can play HEVC. FFplay, which comes with FFmpeg, can also play them.
  • Question
    What versions of Windows does FFmpeg work with?
    Community Answer
    Community Answer
    Windows 7 or above, MacOS 10.x.x.x or above.
  • Question
    Why is 'ffmpeg-version' not recognized as an internal or external command, operable program or batch file?
    Community Answer
    Community Answer
    Insert a space between "ffmpeg" and "-version"; -version is a switch on the ffmpeg command/program.
Advertisement

Warnings

  • FFmpeg is a command line-only program, which means that you can only use it in Command Prompt. This may prove difficult for users who aren't familiar with Command Prompt.
    ⧼thumbs_response⧽
  • You must be on an administrator account in order to install FFmpeg.
    ⧼thumbs_response⧽



Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 1,472,747 times.
How helpful is this?
Co-authors: 31
Updated: November 3, 2022
Views: 1,472,747
Categories: Windows
Article SummaryX

1. Download FFmpeg from https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z.
2. Extract the file.
3. Rename the extracted folder to "FFmpeg."
4. Move the "FFmpeg" folder to the root of your hard drive.
5. Right-click the Start menu and select Command prompt (Admin).
6. Run this command: setx /m PATH "C:\FFmpeg\bin;%PATH%"

Did this summary help you?
Advertisement