Không có sản phẩm nào trong giỏ hàng của bạn
FFmpeg Full Installation Guide for Windows 11
22/11/2025
Admin
FFmpeg Full Installation Guide for Windows 11
This repository explains how to install the full build of FFmpeg on Windows 11, and how to add it to the system PATH so that ffmpeg, ffprobe, and ffplay can be used from any terminal or external application.
🧰 What You Get
With a proper full installation you will have:
ffmpeg.exe– main tool for audio/video conversion and processingffprobe.exe– tool for inspecting media files (codecs, streams, metadata, etc.)ffplay.exe– simple media player based on FFmpeg
Once installed and added to PATH, you can run:
ffmpeg -version
ffprobe -version
ffplay -version
from any Command Prompt / PowerShell window.
1. Download FFmpeg Full Build
-
Open your browser and go to the official FFmpeg website:
-
https://ffmpeg.org → Download → Windows
-
In the Windows builds section, choose a trusted build provider, for example:
-
Gyan FFmpeg Builds (gyan.dev), or
-
BtbN Builds
-
Download a 64-bit full build (often called
full_buildor similar), usually a.zipfile, e.g.:
ffmpeg-7.x-full_build.zip
The exact file name depends on the current version.
- Once the download finishes, extract the
.zipfile.
You should see something like:
ffmpeg-7.x-full_build/
bin/
ffmpeg.exe
ffprobe.exe
ffplay.exe
doc/
presets/
...
2. Choose an Installation Folder
Do not leave FFmpeg inside Downloads.
Instead, move it to a stable location, for example:
C:\ffmpeg
orC:\Program Files\ffmpeg
Example
- Create the folder:
C:\ffmpeg
- Move the extracted content into
C:\ffmpeg, so that you have:
C:\ffmpeg\bin\ffmpeg.exe
C:\ffmpeg\bin\ffprobe.exe
C:\ffmpeg\bin\ffplay.exe
3. Add FFmpeg to the PATH (Windows 11)
To use ffmpeg from any Command Prompt / PowerShell window, you must add its bin folder to the PATH environment variable.
3.1 Open Environment Variables
You can do this in two ways.
Method A – via Start menu
- Press Win and type:
env
- Click “Edit the system environment variables”.
- In the System Properties window, click “Environment Variables…”.
Method B – via Settings
- Press Win + I to open Settings.
- Go to System → About.
- Click “Advanced system settings”.
- Click “Environment Variables…”.
3.2 Add the bin Folder to PATH
You can add FFmpeg to:
- User variables (only your user account can use it), or
- System variables (all accounts can use it – requires admin rights).
Here is the typical way using User variables:
- In the Environment Variables window, in the top section “User variables for
” , locatePath. - Select
Pathand click “Edit…”. - In the Edit environment variable window:
- Click “New”
-
Add the path to FFmpeg’s
binfolder, for example:C:\ffmpeg\bin -
Click OK on all open dialog windows to save the changes.
💡 Make sure you add the bin folder, not just
C:\ffmpeg.
4. Verify the Installation
- Close all existing terminal windows (Command Prompt, PowerShell, Windows Terminal, etc.).
-
Open a new Command Prompt:
-
Press Win, type
cmd, and press Enter. -
Run:
ffmpeg -version
If everything is configured correctly, you should see FFmpeg version information, something like:
ffmpeg version 7.x Copyright (c) ...
configuration: ...
libavutil ...
libavcodec ...
...
You can also test:
ffprobe -version
ffplay -version
to confirm those tools are available too.
5. Common Issues & Fixes
5.1 ffmpeg is not recognized
If you see:
'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.
then:
- Double-check you added the correct path to the
Pathvariable, e.g.:
C:\ffmpeg\bin
- Make sure you clicked OK on all windows after editing
Path. - Close and reopen the terminal window.
- If you had multiple FFmpeg installations, ensure the correct path is present and at the top of the list.
5.2 Multiple FFmpeg Versions in PATH
If you had older FFmpeg installations (e.g. C:\Program Files\ffmpeg-old\bin), Windows might use the first entry in Path.
To clean this up:
- Open Environment Variables again.
- Edit
Pathand remove any obsolete FFmpeg entries. - Keep only the path you want, e.g.:
C:\ffmpeg\bin
- Optionally, move this entry to the top of the list.
6. Using FFmpeg in Your Own Apps
Once FFmpeg is in PATH, any application can call it just by using the command name ffmpeg without needing a hard-coded full path.
Example: Python (subprocess)
import subprocess
cmd = [
"ffmpeg",
"-i", "input.mp4",
"-vn",
"-acodec", "mp3",
"output.mp3",
]
result = subprocess.run(cmd, capture_output=True, text=True)
print(result.stdout)
print(result.stderr)
This will work as long as FFmpeg is installed and the PATH is configured correctly.
7. Uninstall or Move FFmpeg
If you want to move or remove FFmpeg:
- Remove its entry from the
Pathenvironment variable. - Delete or move the
C:\ffmpegfolder (or whichever folder you used). - Restart your terminal. Running
ffmpeg -versionshould now fail, confirming it is removed.
8. License
FFmpeg is licensed under the LGPL/GPL (depending on how it is built and which libraries are included).
For detailed licensing information, see:
- https://ffmpeg.org/legal.html
When redistributing FFmpeg binaries or using it in your software, make sure you comply with the relevant licenses.
9. Hướng dẫn nhanh bằng tiếng Việt
Bảng tóm tắt các bước cài đặt FFmpeg full trên Windows 11:
| Bước | Nội dung | Gợi ý / Lưu ý |
|---|---|---|
| 1 | Tải bản FFmpeg full build cho Windows 11 (64-bit) từ trang chính thức hoặc build uy tín (gyan.dev, BtbN, …) | Chọn bản full_build dạng .zip, ví dụ ffmpeg-7.x-full_build.zip |
| 2 | Giải nén file .zip và chuyển thư mục FFmpeg đến vị trí cố định |
Gợi ý: C:\ffmpeg hoặc C:\Program Files\ffmpeg – tránh để trong Downloads |
| 3 | Kiểm tra lại đường dẫn thư mục bin |
Đảm bảo có các file C:\ffmpeg\bin\ffmpeg.exe, ffprobe.exe, ffplay.exe |
| 4 | Thêm đường dẫn C:\ffmpeg\bin vào biến môi trường Path |
Mở “Edit the system environment variables” → “Environment Variables…” → chọn Path (User hoặc System) → New → dán C:\ffmpeg\bin |
| 5 | Đóng hết cửa sổ thiết lập và terminal, rồi mở lại CMD/PowerShell mới | Biến môi trường chỉ cập nhật cho cửa sổ terminal mở sau khi chỉnh Path |
| 6 | Gõ lệnh kiểm tra: ffmpeg -version, ffprobe -version, ffplay -version |
Nếu hiện thông tin phiên bản là cài đặt thành công |
| 7 | Nếu báo lỗi 'ffmpeg' is not recognized… |
Kiểm tra lại Path có đúng C:\ffmpeg\bin chưa, có bấm OK đầy đủ chưa, và đã mở lại terminal chưa |
| 8 | Nếu có nhiều bản FFmpeg trên máy | Vào lại Path, xóa các dòng cũ hoặc không dùng, giữ lại C:\ffmpeg\bin và đưa lên trên cùng nếu cần |
💡 Tip: Sau khi cài và add PATH, bạn có thể dùng FFmpeg trong mọi app (Python, batch, GUI…) chỉ với lệnh
ffmpegthay vì phải ghi đường dẫn đầy đủ.