FFmpeg is indeed a powerful video encoder/decoder tool¹. It operates in the command line, as opposed to using a GUI. Command line is that black window you find by typing [windows+r], then cmd in the popup field and hitting enter. This is also called "command prompt". Once setup, you enter FFmpeg commands in one of these windows to use it.

Here are the basic steps to "install" and use it:

Installation

  1. Download the latest FFmpeg build, courtesy of gyan.dev.
  2. Create a folder on your computer to unpack the zip file. This folder will be your "installation" folder. I chose C:\Program Files\ffmpeg\. This is a good idea because you will treat this like a regular program. Unpack the zip file into this folder.
  3. The folder should now contain a number of other folders, including one titled bin where ffmpeg.exe is saved. We're not done yet. Double clicking that file does nothing. Remember, this is a command line program. It runs in cmd.
  4. Before you can use ffmpeg.exe in cmd you have to tell your computer where it can find it. You need to add a new system path. First, right click This PC (Windows 10) or Computer (Windows 7) then click Properties > Advanced System Settings > Advanced tab > Environment Variables.
  5. In the Environment Variables window, click the "Path" row under the "Variable" column, then click Edit
  6. The "Edit environment variable" window looks different for Windows 10 and 7. In Windows 10 click New then paste the path to the folder that you created earlier where ffmpeg.exe is saved. For this example, that is C:\Program Files\ffmpeg\bin\ In Windows 7 all the variables are listed in a single string, separated by a semicolon. Simply go the the end of the string, type a semicolon (;), then paste in the path.
  7. Click Ok on all the windows we just opened up. Just to be sure, reboot your computer before trying any commands.

FFmpeg is now "installed". The Command Prompt will now recognize FFmpeg commands and will attempt to run them. (If you are still having issues with Command Prompt not recognizing FFmpeg try running CMD as an admin. Alternatively, you can use windows powershell instead of cmd. If it still does not work double check to make sure each step was followed to completion.)

Alternative installation methods

I've not tried these myself, but they probably work, and they're easy to do. However, you can accidentally mess up important things if you're not careful.

First, if you open cmd with administrator privileges, you can run setx /m PATH "C:\ffmpeg\bin;%PATH%", and change C:\ffmpeg\bin to your path to FFmpeg. This uses cmd to do all the gui steps listed above. Easy peasy.

Second, user K7AAY reports that you can simply drop the FFmpeg executables in C:\Windows\System32 and run them from there without having to define the path variable because that path is already defined.

Updating FFmpeg

To update FFmpeg, just revisit the download page in step 1 above and download the zip file. Unpack the files and copy them over the old files in the folder you created in step 2.

Using FFmpeg

Using FFmpeg requires that you open a command prompt window, then type FFmpeg specific commands. Here is a typical FFmpeg command:

 ffmpeg -i video.mp4 -vn -ar 44100 -ac 1 -b:a 32k -f mp3 audio.mp3

This command has four parts:

  1. ffmpeg - This command tells cmd that we want to run FFmpeg commands. cmd will first look for ffmpeg.exe in one of the folders from step 6 in the Installation section. If it is found, it will attempt to run the command.
  2. -i video.mp4 - This is an input file. We are going to be doing work on this file.
  3. -vn -ar 44100 -ac 1 -b:a 32k -f mp3 - These are the "arguments". These characters are like mini commands that specify exactly what we want to do. In this case, it is saying create an mp3 file from the input source.
  • -vn - Leave out the video stream
  • -ar 44100 - Specifies audio resolution in hertz.
  • -ac 1 - Audio channels, only 1. This is effectively "make mono".
  • -b:a 32k - Audio bitrate, set to 32 kbps.
  • -f mp3 - Force to MP3 conversion. Without this command, FFmpeg attempts to interpret what you want based on the extension you use in the output file name.
  1. audio.mp3- This is the output file.

As you can probably guess, this short command makes an MP3 audio file from an MP4 file.

To run this command, assuming you have an MP4 file to try this on, follow these steps:

  1. Hit the Windows key + r.
  2. Type cmd then enter.
  3. Change the path to where the file is that you want to work on. Type cd [path]. It should look something like cd C:\Users\name\Desktop\.
  4. Now type the FFmpeg command with the name of your input file. The command will run with some feedback. When it's done, cmd will be available for more commands.

This is the basic way to use FFmpeg. The commands can get far more complicated, but that's only because the program has so much power. Using the FFmpeg documentation, you can learn all the commands and create some very powerful scripts. After that, you can save these scripts into a .bat file so that you just have to double click a file instead of type out the whole command each time. For example, this answer contains a script that will create MP3's from all the MP4's in a folder. Then we would be combining the power of FFmpeg with the power of cmd, and that's a nice place to be when you have to do professional quality video/audio encoding on mountains of files.


  1. As a point if technical accuracy, FFmpeg is itself not an encoder or decoder. FFmpeg is a multimedia framework which can process almost all common and many uncommon media formats. It has thousands of to capture, decode, encode, modify, combine, and stream media, and it can make use of dozens of external libraries to do even more. Gyan.dev provides a succinct description.
Answer from user3643 on Stack Exchange
Top answer
1 of 2
61

FFmpeg is indeed a powerful video encoder/decoder tool¹. It operates in the command line, as opposed to using a GUI. Command line is that black window you find by typing [windows+r], then cmd in the popup field and hitting enter. This is also called "command prompt". Once setup, you enter FFmpeg commands in one of these windows to use it.

Here are the basic steps to "install" and use it:

Installation

  1. Download the latest FFmpeg build, courtesy of gyan.dev.
  2. Create a folder on your computer to unpack the zip file. This folder will be your "installation" folder. I chose C:\Program Files\ffmpeg\. This is a good idea because you will treat this like a regular program. Unpack the zip file into this folder.
  3. The folder should now contain a number of other folders, including one titled bin where ffmpeg.exe is saved. We're not done yet. Double clicking that file does nothing. Remember, this is a command line program. It runs in cmd.
  4. Before you can use ffmpeg.exe in cmd you have to tell your computer where it can find it. You need to add a new system path. First, right click This PC (Windows 10) or Computer (Windows 7) then click Properties > Advanced System Settings > Advanced tab > Environment Variables.
  5. In the Environment Variables window, click the "Path" row under the "Variable" column, then click Edit
  6. The "Edit environment variable" window looks different for Windows 10 and 7. In Windows 10 click New then paste the path to the folder that you created earlier where ffmpeg.exe is saved. For this example, that is C:\Program Files\ffmpeg\bin\ In Windows 7 all the variables are listed in a single string, separated by a semicolon. Simply go the the end of the string, type a semicolon (;), then paste in the path.
  7. Click Ok on all the windows we just opened up. Just to be sure, reboot your computer before trying any commands.

FFmpeg is now "installed". The Command Prompt will now recognize FFmpeg commands and will attempt to run them. (If you are still having issues with Command Prompt not recognizing FFmpeg try running CMD as an admin. Alternatively, you can use windows powershell instead of cmd. If it still does not work double check to make sure each step was followed to completion.)

Alternative installation methods

I've not tried these myself, but they probably work, and they're easy to do. However, you can accidentally mess up important things if you're not careful.

First, if you open cmd with administrator privileges, you can run setx /m PATH "C:\ffmpeg\bin;%PATH%", and change C:\ffmpeg\bin to your path to FFmpeg. This uses cmd to do all the gui steps listed above. Easy peasy.

Second, user K7AAY reports that you can simply drop the FFmpeg executables in C:\Windows\System32 and run them from there without having to define the path variable because that path is already defined.

Updating FFmpeg

To update FFmpeg, just revisit the download page in step 1 above and download the zip file. Unpack the files and copy them over the old files in the folder you created in step 2.

Using FFmpeg

Using FFmpeg requires that you open a command prompt window, then type FFmpeg specific commands. Here is a typical FFmpeg command:

 ffmpeg -i video.mp4 -vn -ar 44100 -ac 1 -b:a 32k -f mp3 audio.mp3

This command has four parts:

  1. ffmpeg - This command tells cmd that we want to run FFmpeg commands. cmd will first look for ffmpeg.exe in one of the folders from step 6 in the Installation section. If it is found, it will attempt to run the command.
  2. -i video.mp4 - This is an input file. We are going to be doing work on this file.
  3. -vn -ar 44100 -ac 1 -b:a 32k -f mp3 - These are the "arguments". These characters are like mini commands that specify exactly what we want to do. In this case, it is saying create an mp3 file from the input source.
  • -vn - Leave out the video stream
  • -ar 44100 - Specifies audio resolution in hertz.
  • -ac 1 - Audio channels, only 1. This is effectively "make mono".
  • -b:a 32k - Audio bitrate, set to 32 kbps.
  • -f mp3 - Force to MP3 conversion. Without this command, FFmpeg attempts to interpret what you want based on the extension you use in the output file name.
  1. audio.mp3- This is the output file.

As you can probably guess, this short command makes an MP3 audio file from an MP4 file.

To run this command, assuming you have an MP4 file to try this on, follow these steps:

  1. Hit the Windows key + r.
  2. Type cmd then enter.
  3. Change the path to where the file is that you want to work on. Type cd [path]. It should look something like cd C:\Users\name\Desktop\.
  4. Now type the FFmpeg command with the name of your input file. The command will run with some feedback. When it's done, cmd will be available for more commands.

This is the basic way to use FFmpeg. The commands can get far more complicated, but that's only because the program has so much power. Using the FFmpeg documentation, you can learn all the commands and create some very powerful scripts. After that, you can save these scripts into a .bat file so that you just have to double click a file instead of type out the whole command each time. For example, this answer contains a script that will create MP3's from all the MP4's in a folder. Then we would be combining the power of FFmpeg with the power of cmd, and that's a nice place to be when you have to do professional quality video/audio encoding on mountains of files.


  1. As a point if technical accuracy, FFmpeg is itself not an encoder or decoder. FFmpeg is a multimedia framework which can process almost all common and many uncommon media formats. It has thousands of to capture, decode, encode, modify, combine, and stream media, and it can make use of dozens of external libraries to do even more. Gyan.dev provides a succinct description.
2 of 2
9

The other answer gives a very good answer that covers the default way of installing it, I'd like to propose two ohter methods that are good for noobs and pros alike:

Option 1

Chocolatey is a package manager, it's a bit like the Microsoft Store, except that it's actually useful, it's all free, and it runs on the commandline. With chocolatey, installing ffmpeg—and setting up the correct $PATH etc.—is as simple as

choco install ffmpeg

It's way quicker and far safer than searching for the right website, finding the download, unzipping it, reading the installation documentation, googling how to set it up, downloading some dependancy etc. etc.

To install Chocolatey you run a command on the commandline, obvs. The website shows you how, but it is a simple cut-n-paste affair. https://chocolatey.org/

You can then check out over 6000 free packages available with choco list <search term here>. There are even non-CLI programs so it's not just for the hardcore. It makes setting up a new install of windows super easy: I have a list of software that I always install and just get chocolatey to do it for me: choco install firefox ffmpeg conemu edgedeflector ditto rainmeter imagemagick… and so on.

As an added bonus upgrading your software is as easy as choco upgrade all

Option 2

Winget is another package manager, that is built-in to recent versions of Windows. The recipe for installing ffmpeg with winget is similar: open a terminal (can be Powershell, wsl, or even cmd if you like banging rocks together) and type

winget install ffmpeg

This will download and install the build of ffmpeg that is hosted by gyan (at the time of writing). It will also work if you don't have admin privileges, which chocolatey prefers.

🌐
FFmpeg
ffmpeg.org › download.html
Download FFmpeg
FFmpeg only provides source code. Below are some links that provide it already compiled and ready to go. Debian – Official packages for Stable-Backports, Testing, Unstable Debian – deb-multimedia packages for Oldstable, Stable, Testing, Unstable Ubuntu – Official packages Fedora and Red Hat Enterprise Linux packages · 64-bit static and shared builds · Windows builds from gyan.dev Windows builds by BtbN ·
Discussions

can i install FFmpeg with a single click?
To be blunt, if you're not happy to play around with the command line, environment variables, etc (or at least willing to learn), you're going to have a very hard time with FFMPEG. You can download the ffmpeg.exe file and put it somewhere, but you'll still have to figure out how to cd to that folder, run FFMPEG with arguments, bring your source files in, etc. Environment variables are just small useful bits of data that your computer stores. The PATH environment variable contains a list of folders where the OS should be looking for programs - you need to add whichever folder you put FFMPEG into that list in order for your computer to be able to see it, and run it from anywhere. FFMPEG isn't designed to be a user-friendly, one-click solution. It's a command-line scripting tool that is mainly used under the hood as part of other software, or by people with a fair amount of technical experience to automate. That said, googling "install ffmpeg windows" brings up about five different guides that give you very clear instructions. Alternatively, a quick query of ChatGPT also gave me a nice step-by-step guide. More on reddit.com
🌐 r/ffmpeg
83
15
April 15, 2023
Install FFmpeg on Windows - Step-by-Step Guide - Tech QnA - Gumlet Community
Accessibility to Windows PowerShell or the Command Prompt. Administrative Rights. Install FFmpeg on Windows 10/11 Step 1: Download the FFmpeg package Visit the official website to get the latest version of the FFmpeg package and binary files. Tap the window i... More on community.gumlet.com
🌐 community.gumlet.com
2
March 3, 2023
How to install ffmpeg
i assume you are using windows Download yt-dlp.exe form this webpage: https://github.com/yt-dlp/yt-dlp/releases/tag/2025.08.22 Download ffmpeg ffmpeg-git-full.7z from this webpage from(git master builds) section: https://www.gyan.dev/ffmpeg/builds/ create folder in your d: or e: drive called yt-dlp paste yt-dlp.exe and extract ffmpeg-git-full.7z copy 3 files in bin folder and paste to yt-dlp folder we are now going to add envrionment variable so terminal can access yt-dlp and ffmpeg go to windows search and search for environment variable, click on it, window dialogue open click on Environment Variables button which is at the bottom in System variables section click on path and press edit button new dialogue opens click on new button paste this path if you are using d drive d:\yt-dlp\ click on ok button restart your pc go to cmd type this cmd: yt-dlp -U above command check for yt-dlp update you dont need to update ffmpeg all the time More on reddit.com
🌐 r/youtubedl
9
6
August 26, 2025
I was instructed to install ffmpeg and add ffmpeg binary to my PATH environment variable. I don't know what this means.
https://ffmpeg.org/download.html If you are on Windows, install and then Google how to add "Environment Variable" to Windows. Add the ffmpeg executable to your environment variables. If on Linux, similar, but add the BIN file instead of executable to path, and Google how to specifically do that for your Linux distro. More on reddit.com
🌐 r/learnpython
3
0
October 10, 2022
People also ask

Isn't the folder path case-sensitive? If you rename it to "FFmpeg" but the path has "C:\...\ffmpeg\bin", won't that cause an error?
Windows directory names are not case-sensitive. Don't worry, it'll definitely work!
🌐
wikihow.com
wikihow.com › computers and electronics › operating systems › windows › how to install ffmpeg on windows: a step-by-step guide
How to Install FFmpeg on Windows: A Step-by-Step Guide
I clicked the following buttons, ffmpeg.exe, ffplay.exe and ffprobe.exe, they turned up for a glance then disappeared. What's happened? Thank you.
These applications can only be run from the command line. If you try to double-click them in File Explorer, you'll experience the behavior you've witnessed. Instead, open Command Prompt, then run the "ffmpeg" command to view all possible command line options.
🌐
wikihow.com
wikihow.com › computers and electronics › operating systems › windows › how to install ffmpeg on windows: a step-by-step guide
How to Install FFmpeg on Windows: A Step-by-Step Guide
How can I get WSL (Ubuntu) to recognize this if I've installed it? Works with Powershell. (Using Windows Terminal)
If you're using Ubuntu via WSL, you have a couple of options. If you want to run the FFmpeg binary, you can cd into /mnt/c/FFmpeg/bin (replace "c" if you put the FFmpeg folder on a different drive letter) and run the command ./ffmpeg.exe (add whichever flags you need), or skip the Windows stuff and just install the FFmpeg package in an Ubuntu terminal with "sudo apt install ffmpeg."
🌐
wikihow.com
wikihow.com › computers and electronics › operating systems › windows › how to install ffmpeg on windows: a step-by-step guide
How to Install FFmpeg on Windows: A Step-by-Step Guide
🌐
Wikihow
wikihow.com › computers and electronics › operating systems › windows › how to install ffmpeg on windows: a step-by-step guide
How to Install FFmpeg on Windows: A Step-by-Step Guide
2 weeks ago - Once you've downloaded the installer, double-click the downloaded file, then follow the on-screen instructions to install. ... Go to www.gyan.dev/ffmpeg/builds. This page hosts the precompiled FFmpeg binary files you'll need for Windows.[1] ...
🌐
Reddit
reddit.com › r/ffmpeg › can i install ffmpeg with a single click?
r/ffmpeg on Reddit: can i install FFmpeg with a single click?
April 15, 2023 -

i want to use FFmpeg because APNG's are the most obscure file type and i can almost cant find any program that supports it apart from FFmpeg
sadly all documentation regarding the installation assumes any prior knowledge regarding windows command prompt and something called PATH (system variables??)
does an easy install exist? or is this just to gatekeep the software to keep simple folk out?

i'm really confused why the install seems to be so complicated

Top answer
1 of 14
7
To be blunt, if you're not happy to play around with the command line, environment variables, etc (or at least willing to learn), you're going to have a very hard time with FFMPEG. You can download the ffmpeg.exe file and put it somewhere, but you'll still have to figure out how to cd to that folder, run FFMPEG with arguments, bring your source files in, etc. Environment variables are just small useful bits of data that your computer stores. The PATH environment variable contains a list of folders where the OS should be looking for programs - you need to add whichever folder you put FFMPEG into that list in order for your computer to be able to see it, and run it from anywhere. FFMPEG isn't designed to be a user-friendly, one-click solution. It's a command-line scripting tool that is mainly used under the hood as part of other software, or by people with a fair amount of technical experience to automate. That said, googling "install ffmpeg windows" brings up about five different guides that give you very clear instructions. Alternatively, a quick query of ChatGPT also gave me a nice step-by-step guide.
2 of 14
4
FFmpeg is a command line utility. If you want to use it, you'll either have to familiarize yourself with it (there are lots and lots of free ressources out there) or you have to find a GUI wrapper for FFmpeg. The command line has a bit of a learning curve but it's very powerful once you figure it out. or is this just to gatekeep the software to keep simple folk out? What? Even “simple folk” can follow a five-step guide with pictures . You could also invoke the FFmpeg executable directly, that way you don't need to add it to the PATH environment variable our you could put it in a directory that is already part of PATH.
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › installing ffmpeg on windows
Installing FFmpeg on Windows {Step-by-Step}
September 3, 2024 - In this guide, you will learn how to install FFmpeg on Windows in four simple steps.
🌐
Transloadit
transloadit.com › devtips › how-to-install-ffmpeg-on-windows-a-complete-guide
How to install FFmpeg on Windows: a complete guide | Transloadit
Learn how to install FFmpeg on Windows with this step-by-step guide. Includes download instructions, PATH setup, and verification tips.
Find elsewhere
🌐
Adaptive Samples
blog.gregzaal.com › how-to-install-ffmpeg-on-windows
How to Install FFmpeg on Windows - Adaptive Samples
July 6, 2016 - See how to install (and get started with) FFmpeg on Windows in this detailed guide with a crapton of screenshots.
🌐
GeeksforGeeks
geeksforgeeks.org › installation guide › how-to-install-ffmpeg-on-windows
How to Install FFmpeg on Windows - GeeksforGeeks
July 23, 2025 - Open your web browser and visit the official website of FFmpeg for Windows. Scroll over the Windows Logo, you'll see 2 options. ... You can click on the second option, it will redirect you to its GitHub page.
🌐
GitHub
github.com › oop7 › ffmpeg-install-guide
GitHub - oop7/ffmpeg-install-guide: FFmpeg installation Guide for Windows, macOS, and Linux. · GitHub
Version: 2.6.0 Developer: oop7 Source Code: Available in this repository Requirements: Windows 10/11 (64-bit) - No .NET installation required ... # Install Homebrew (if not installed) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # Install FFmpeg brew install ffmpeg
Author   oop7
🌐
The Windows Club
thewindowsclub.com › the windows club › downloads › how to install and use ffmpeg on windows 11
How to install and use FFmpeg on Windows 11
February 9, 2025 - To make things simple, all you have to do is install FFmpeg and add the FFmpeg program to the Windows path using Environment variables. This way you can directly access FFmpeg from a Command prompt or Power Shell in any directory.
🌐
Gumlet Community
community.gumlet.com › tech qna
Install FFmpeg on Windows - Step-by-Step Guide - Tech QnA - Gumlet Community
March 3, 2023 - Administrative Rights. Install FFmpeg on Windows 10/11 Step 1: Download the FFmpeg package Visit the official website to get the latest version of the FFmpeg package and binary files. Tap the window i...
🌐
Audacity
support.audacityteam.org › basics › installing-ffmpeg
Installing FFmpeg | Audacity Support
For native Windows ARM build go to https://github.com/tordona/ffmpeg-win-arm64. Run the installer.
🌐
WindowsLoop
windowsloop.com › home › how to › install ffmpeg on windows 10/11: step-by-step guide
Installing FFmpeg on Windows 10 & 11 {Step-by-Step}
September 20, 2023 - That being said, it is just as easy. You can install FFmpeg in four simple steps. i.e., download FFmpeg, extract FFmpeg files to a folder, add FFmpeg to Windows path, and verify FFmpeg installation.
🌐
Config Server Firewall
configserverfirewall.com › windows-10 › iinstall-ffmpeg-windows
Installing FFmpeg on Windows 10 & 11: Step-by-Step Tutorial
September 26, 2024 - FFmpeg Windows | In this step-by-step tutorial, you will learn how to install FFmpeg on Windows using the winget package manager.
🌐
Json2Video
json2video.com › how-to › ffmpeg-course › install-ffmpeg-windows.html
How to install FFMPEG on Windows
March 4, 2022 - Under the "Get packages & executable ... by BtbN, as they use ZIP instead of 7z · Download the latest version of FFMPEG including all libraries to your Downloads folder on your computer...

FFmpeg is indeed a powerful video encoder/decoder tool¹. It operates in the command line, as opposed to using a GUI. Command line is that black window you find by typing [windows+r], then cmd in the popup field and hitting enter. This is also called "command prompt". Once setup, you enter FFmpeg commands in one of these windows to use it.

Here are the basic steps to "install" and use it:

Installation

  1. Download the latest FFmpeg build, courtesy of gyan.dev.
  2. Create a folder on your computer to unpack the zip file. This folder will be your "installation" folder. I chose C:\Program Files\ffmpeg\. This is a good idea because you will treat this like a regular program. Unpack the zip file into this folder.
  3. The folder should now contain a number of other folders, including one titled bin where ffmpeg.exe is saved. We're not done yet. Double clicking that file does nothing. Remember, this is a command line program. It runs in cmd.
  4. Before you can use ffmpeg.exe in cmd you have to tell your computer where it can find it. You need to add a new system path. First, right click This PC (Windows 10) or Computer (Windows 7) then click Properties > Advanced System Settings > Advanced tab > Environment Variables.
  5. In the Environment Variables window, click the "Path" row under the "Variable" column, then click Edit
  6. The "Edit environment variable" window looks different for Windows 10 and 7. In Windows 10 click New then paste the path to the folder that you created earlier where ffmpeg.exe is saved. For this example, that is C:\Program Files\ffmpeg\bin\ In Windows 7 all the variables are listed in a single string, separated by a semicolon. Simply go the the end of the string, type a semicolon (;), then paste in the path.
  7. Click Ok on all the windows we just opened up. Just to be sure, reboot your computer before trying any commands.

FFmpeg is now "installed". The Command Prompt will now recognize FFmpeg commands and will attempt to run them. (If you are still having issues with Command Prompt not recognizing FFmpeg try running CMD as an admin. Alternatively, you can use windows powershell instead of cmd. If it still does not work double check to make sure each step was followed to completion.)

Alternative installation methods

I've not tried these myself, but they probably work, and they're easy to do. However, you can accidentally mess up important things if you're not careful.

First, if you open cmd with administrator privileges, you can run setx /m PATH "C:\ffmpeg\bin;%PATH%", and change C:\ffmpeg\bin to your path to FFmpeg. This uses cmd to do all the gui steps listed above. Easy peasy.

Second, user K7AAY reports that you can simply drop the FFmpeg executables in C:\Windows\System32 and run them from there without having to define the path variable because that path is already defined.

Updating FFmpeg

To update FFmpeg, just revisit the download page in step 1 above and download the zip file. Unpack the files and copy them over the old files in the folder you created in step 2.

Using FFmpeg

Using FFmpeg requires that you open a command prompt window, then type FFmpeg specific commands. Here is a typical FFmpeg command:

 ffmpeg -i video.mp4 -vn -ar 44100 -ac 1 -b:a 32k -f mp3 audio.mp3

This command has four parts:

  1. ffmpeg - This command tells cmd that we want to run FFmpeg commands. cmd will first look for ffmpeg.exe in one of the folders from step 6 in the Installation section. If it is found, it will attempt to run the command.
  2. -i video.mp4 - This is an input file. We are going to be doing work on this file.
  3. -vn -ar 44100 -ac 1 -b:a 32k -f mp3 - These are the "arguments". These characters are like mini commands that specify exactly what we want to do. In this case, it is saying create an mp3 file from the input source.
  • -vn - Leave out the video stream
  • -ar 44100 - Specifies audio resolution in hertz.
  • -ac 1 - Audio channels, only 1. This is effectively "make mono".
  • -b:a 32k - Audio bitrate, set to 32 kbps.
  • -f mp3 - Force to MP3 conversion. Without this command, FFmpeg attempts to interpret what you want based on the extension you use in the output file name.
  1. audio.mp3- This is the output file.

As you can probably guess, this short command makes an MP3 audio file from an MP4 file.

To run this command, assuming you have an MP4 file to try this on, follow these steps:

  1. Hit the Windows key + r.
  2. Type cmd then enter.
  3. Change the path to where the file is that you want to work on. Type cd [path]. It should look something like cd C:\Users\name\Desktop\.
  4. Now type the FFmpeg command with the name of your input file. The command will run with some feedback. When it's done, cmd will be available for more commands.

This is the basic way to use FFmpeg. The commands can get far more complicated, but that's only because the program has so much power. Using the FFmpeg documentation, you can learn all the commands and create some very powerful scripts. After that, you can save these scripts into a .bat file so that you just have to double click a file instead of type out the whole command each time. For example, this answer contains a script that will create MP3's from all the MP4's in a folder. Then we would be combining the power of FFmpeg with the power of cmd, and that's a nice place to be when you have to do professional quality video/audio encoding on mountains of files.


  1. As a point if technical accuracy, FFmpeg is itself not an encoder or decoder. FFmpeg is a multimedia framework which can process almost all common and many uncommon media formats. It has thousands of to capture, decode, encode, modify, combine, and stream media, and it can make use of dozens of external libraries to do even more. Gyan.dev provides a succinct description.
Answer from user3643 on Stack Exchange
🌐
Hostinger
hostinger.com › home › tutorials › how to install ffmpeg on linux, windows, and macos
How to install FFmpeg on Linux, Windows, and macOS
August 21, 2025 - Learn how to install FFmpeg on Linux, Windows, and macOS: 1. Prepare your system 2. Download and install FFmpeg 3. Verify the installation.
🌐
FFmpeg
ffmpeg.org
FFmpeg
The minimum supported Windows version is Windows Vista. ... We strongly recommend users, distributors, and system integrators to upgrade unless they use current git master. FFmpeg 3.4 "Cantor", a new major release, is now available!
🌐
UltaHost
ultahost.com › knowledge-base › install-ffmpeg-on-windows
How to Install FFmpeg on Windows 10 | Ultahost Knowledge Base
June 8, 2024 - To do that, we can search for the edit environment variable settings from the start menu and then click on the Environment variables under the advanced settings: Next copy the complete path of the bin folder and then paste it into the path section: Install FFmpeg on Our Windows 10 VPS!
🌐
Medium
medium.com › @arhamrumi › step-by-step-guide-how-to-install-ffmpeg-on-windows-and-unleash-your-multimedia-potential-2ecda8ed4cf
Step-by-Step Guide: How to Install FFmpeg on Windows and Unleash Your Multimedia Potential | by ARHAM RUMI | Medium
March 28, 2023 - FFmpeg is a powerful open-source multimedia framework that allows you to record, convert, and stream audio and video files. It is available on multiple platforms, including Windows, macOS, and Linux. In this article, we will walk you through the steps to install FFmpeg on a Windows operating system.
🌐
TroubleChute Hub
hub.tcno.co › software › ffmpeg › windows-install
Install FFMPEG on Windows - Simple Guide | TroubleChute Hub
June 8, 2023 - You may need a program like 7-Zip to unzip some archives (mostly being .7z files). After unzipping the FFmpeg download, navigate into the “bin” folder, within the FFmpeg folder, as this is where the FFmpeg binaries are located. You can install FFmpeg by creating a folder we’ll later let Windows ...