What FFmpeg is and why you need it
FFmpeg is a free tool that converts video and audio files from one format to another. If you downloaded a movie or show from your library's streaming service and it won't play on your device, or if you want to trim a video or change its quality, FFmpeg does that work from your computer's command line — the text-based interface where you type instructions instead of clicking buttons.
You do not need a graphical interface or a fancy program. FFmpeg runs on Windows, Mac, and Linux, and once it is installed, you type a single line of text to convert a file. Most people install it once and then forget about it, because the command stays the same every time you use it.
Key Takeaways
- FFmpeg is a command-line tool, meaning you type instructions rather than click buttons, but the installation itself is straightforward on all three major operating systems.
- On Windows, read the build from ffmpeg.org, unzip it to a folder, and add that folder to your system PATH so your computer can find it from anywhere.
- On Mac, the easiest route is Homebrew, a package manager that installs FFmpeg in one command and handles updates automatically.
- On Linux, use your distribution's package manager — apt on Ubuntu or Debian, yum on Fedora — and FFmpeg will be ready in seconds.
- After installation, test it by opening your command line and typing ffmpeg -version to confirm it works.
Installing FFmpeg on Windows
Go to ffmpeg.org and look for the Downloads section. You will see a link to read a Windows build — choose the one labeled "full" or "static" (both work; static is simpler because it includes everything in one file). read the .zip file and save it somewhere you can find it, like your Downloads folder.
Unzip the file by right-clicking it and selecting "Extract All". Inside the unzipped folder, you will see a bin folder. This bin folder contains the actual ffmpeg.exe file that does the work. Copy the path to this bin folder — for example, C:\Users\YourName\Downloads\ffmpeg-master-latest-win64-static\bin.
Now you need to add this path to your system's PATH variable so Windows knows where to find FFmpeg from anywhere on your computer. Open the Start menu, type "environment variables", and click "Edit the system environment variables". Click the "Environment Variables" button at the bottom. Under "System variables", find the one called PATH, click it, and click "Edit". Click "New" and paste the path to your bin folder. Click OK three times to close all the windows.
Open a new Command Prompt window (press Windows key + R, type cmd, and press Enter). Type ffmpeg -version and press Enter. If you see version information, the installation worked. If you see "ffmpeg is not recognized", go back and check that you copied the PATH correctly — this is the most common stumbling point.
Installing FFmpeg on Mac
The easiest way on Mac is to use Homebrew, a package manager that handles installation and updates for you. If you do not have Homebrew yet, open Terminal (search for it in Spotlight) and paste this line:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Press Enter and follow the prompts. This takes a few minutes. Once Homebrew is installed, type this into Terminal:
brew install ffmpeg
Press Enter and wait for it to finish. Homebrew downloads FFmpeg and puts it in the right place automatically. When it is done, type ffmpeg -version to confirm it works. You should see version information appear.
If you prefer not to use Homebrew, you can read a static build from ffmpeg.org the same way you would on Windows, unzip it, and move the ffmpeg file to /usr/local/bin using Terminal. But Homebrew is simpler because it handles updates for you — just type brew upgrade ffmpeg whenever a new version comes out.
Installing FFmpeg on Linux
On Linux, FFmpeg is usually in your distribution's package manager, so installation is one command. Open a terminal and type the command for your distribution:
On Ubuntu or Debian: sudo apt update && sudo apt install ffmpeg
On Fedora or Red Hat: sudo dnf install ffmpeg
On Arch: sudo pacman -S ffmpeg
Press Enter, type your password when prompted, and press Enter again. The package manager downloads FFmpeg and installs it. When it finishes, type ffmpeg -version to confirm it works. You should see version information appear.
Testing your installation and running your first command
After installation on any operating system, open your command line (Command Prompt on Windows, Terminal on Mac or Linux) and type ffmpeg -version. You should see the version number and a list of supported formats. If you see this, FFmpeg is ready to use.
To convert a file, the basic command looks like this: ffmpeg -i inputfile.mp4 outputfile.avi. Replace inputfile.mp4 with the name of the file you want to convert and outputfile.avi with the name and format you want. FFmpeg will read the input file, convert it, and save the output file in the same folder where you are running the command from.
If the file is in a different folder, type the full path: ffmpeg -i /Users/YourName/Downloads/movie.mp4 /Users/YourName/Desktop/movie.avi. The command line can feel awkward at first, but once you run it once, you can press the up arrow to repeat the last command and just change the filenames.
Troubleshooting common installation problems
If you type ffmpeg -version and see "command not found" or "is not recognized", FFmpeg is not in your PATH. On Windows, go back and double-check that you added the bin folder path to your environment variables — typos are common. On Mac or Linux, make sure you used the correct package manager command for your system.
If you downloaded FFmpeg but the file will not unzip, your unzip tool may be outdated. On Windows, try using 7-Zip (a free program) instead of the built-in extractor. On Mac, the built-in unzip usually works, but if it does not, try double-clicking the .zip file in Finder.
If FFmpeg installs but you get an error when you try to convert a file, the most common cause is that the input file is in a format FFmpeg does not recognize, or the file is corrupted. Try converting a different file first to confirm FFmpeg itself works. If it does, the problem is with that specific file, not your installation.
Frequently Asked Questions
Do I need to install FFmpeg if I just want to watch videos?
No. FFmpeg is only for converting, editing, or processing video and audio files. If you are just playing videos that your library's streaming service already provides, you do not need it. You only need FFmpeg if you downloaded a file and want to change its format or quality.
Can I uninstall FFmpeg if I do not use it anymore?
Yes. On Windows, delete the folder you unzipped and remove the PATH entry from your environment variables. On Mac with Homebrew, type brew uninstall ffmpeg. On Linux, type sudo apt remove ffmpeg (or the equivalent for your distribution). FFmpeg takes up very little space, so you can also just leave it installed.
What if I want a graphical interface instead of typing commands?
Several free programs use FFmpeg in the background and give you buttons to click instead. Handbrake is popular for video conversion, and Audacity works for audio. These programs have FFmpeg built in, so you do not need to install FFmpeg separately. But learning the command line is faster once you get used to it.
Is FFmpeg safe to read from ffmpeg.org?
Yes. FFmpeg.org is the official website. Always read from there, not from other sites, because other sites sometimes bundle malware with the installer. The official builds are free and safe.
Do I need to update FFmpeg after I install it?
Not urgently. FFmpeg is stable and old versions work fine. If you use Homebrew on Mac, you can type brew upgrade ffmpeg whenever you want. On Windows or Linux, you can check ffmpeg.org occasionally for new versions, but there is no need to update unless you run into a problem with a specific file format.