Chào mừng bạn đến với Website NGHIÊN CỨU BÀO CHẾ THUỐC
Rất nhiều ưu đãi và chương trình khuyến mãi đang chờ đợi bạn
Ưu đãi lớn dành cho thành viên mới
  • 5
  • Giỏ hàng

    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
Post Banner

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 processing
  • ffprobe.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

  1. Open your browser and go to the official FFmpeg website:

  2. https://ffmpeg.org → DownloadWindows

  3. In the Windows builds section, choose a trusted build provider, for example:

  4. Gyan FFmpeg Builds (gyan.dev), or

  5. BtbN Builds

  6. Download a 64-bit full build (often called full_build or similar), usually a .zip file, e.g.:


ffmpeg-7.x-full_build.zip

The exact file name depends on the current version.

  1. Once the download finishes, extract the .zip file.
    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
    or
  • C:\Program Files\ffmpeg

Example

  1. Create the folder:

C:\ffmpeg
  1. 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

  1. Press Win and type:

env
  1. Click “Edit the system environment variables”.
  2. In the System Properties window, click “Environment Variables…”.

Method B – via Settings

  1. Press Win + I to open Settings.
  2. Go to SystemAbout.
  3. Click “Advanced system settings”.
  4. 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:

  1. In the Environment Variables window, in the top section “User variables for , locate Path.
  2. Select Path and click “Edit…”.
  3. In the Edit environment variable window:
  4. Click “New”
  5. Add the path to FFmpeg’s bin folder, for example:

    
    C:\ffmpeg\bin
    

  6. 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

  1. Close all existing terminal windows (Command Prompt, PowerShell, Windows Terminal, etc.).
  2. Open a new Command Prompt:

  3. Press Win, type cmd, and press Enter.

  4. 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:

  1. Double-check you added the correct path to the Path variable, e.g.:

C:\ffmpeg\bin
  1. Make sure you clicked OK on all windows after editing Path.
  2. Close and reopen the terminal window.
  3. 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:

  1. Open Environment Variables again.
  2. Edit Path and remove any obsolete FFmpeg entries.
  3. Keep only the path you want, e.g.:

C:\ffmpeg\bin
  1. 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:

  1. Remove its entry from the Path environment variable.
  2. Delete or move the C:\ffmpeg folder (or whichever folder you used).
  3. Restart your terminal. Running ffmpeg -version should 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 ffmpeg thay vì phải ghi đường dẫn đầy đủ.