[ffmpeg] 安裝、環境變數設定

回覆文章
Lexaul
文章: 231
註冊時間: 2019-10-18, 14:28

[ffmpeg] 安裝、環境變數設定

文章 Lexaul » 2022-04-06, 14:44

參考資料:https://www.geeksforgeeks.org/how-to-in ... n-windows/

How to Install FFmpeg on Windows?
Difficulty Level : Medium
Last Updated : 05 Oct, 2021
The ffmpeg is a cross-platform & open-source software utility to record, convert and stream video/audio files. It can be used to:

Change the format of a video/audio file
Extract audio from video file
Merge audio and video streams
Change the bitrate of a video/audio file
Create GIF from a video file
Extract still images from a video file
To embed subtitles into a video file
To compress or resize a video/audio file
Record a live stream
In this article, we will show you how to install ffmpeg in Windows.

Installing FFmpeg on windows:
Follow the below steps to install FFmpeg on windows:

Step 1: Click here to download the zip file of the latest version. (As of September 2021, version 4.4 is the latest)



Step 2: Unzip this file by using any file archiver such as Winrar or 7z.

unziping the dowloadedd file

Step 3: Rename the extracted folder to ffmpeg and move it into the root of C: drive.

renaming the extracted file

Step 4: Now, run cmd as an administrator and set the environment path variable for ffmpeg by running the following command:

setx /m PATH "C:\ffmpeg\bin;%PATH%"
setting env variable path

Step 5: Restart your computer and verify the installation by running:

ffmpeg -version
[email protected]
github.com/Lexaul

回覆文章