Step 1: Download FFmpeg
- Open your web browser and go to the official FFmpeg website.
- Click on the Windows logo to access Windows download options.
- Under Windows Builds, click on the recommended link, which usually leads to the Gyan.dev site for downloading pre-built FFmpeg binaries.
- Scroll down and download the “Full” build version as a ZIP file. (e.g.,
ffmpeg-release-full.7z
).
Step 2: Extract the Files
- Once downloaded, extract the compressed ZIP or 7Z file using tools like 7-Zip or WinRAR.
- Right-click the downloaded file, choose 7-Zip > Extract Here (or similar option).
- 7-Zip can be download from https://www.7-zip.org/download.html
- Right-click the downloaded file, choose 7-Zip > Extract Here (or similar option).
- A folder named something like
ffmpeg-<version>-full-build
will be created.
Step 3: Add FFmpeg to Windows Path
To use FFmpeg from the command line, you need to add it to your system’s PATH environment variable.
- Copy the path of the
bin
folder inside the extracted FFmpeg directory (e.g.,C:\ffmpeg-2024-09-23\bin
). - Right-click This PC or My Computer on your desktop and select Properties.
- On the left sidebar, click Advanced System Settings.
- In the System Properties window, click the Environment Variables button at the bottom.
- In the System variables section, find the Path variable and click Edit.
- Click New and paste the copied path of the
bin
folder. - Click OK to close all windows.
Step 4: Verify Installation
- Open the Command Prompt by pressing
Win + R
, typingcmd
, and pressing Enter. - Type the following command to verify that FFmpeg is installed
ffmpeg -version
If the installation is successful, you will see information about your FFmpeg version.