[Latest] Windows computer FFmpeg installation tutorial step-by-step detailed explanation

written in front

This article takes Windows 64the bit operating system as an example to demonstrate

1. Download & Unzip

Open FFmpeg official website and select download.
insert image description here

Select Windowsthe platform , there are two links below, both are available, choose one.
insert image description here

This article takes clicking the first link as an example. After entering, select the one on the left release builds, and the following content appears on the right:
insert image description here
You can choose to download release-fullthe version , or choose the previous stable version in the red circle below xxx-full_build.

release-fullThe version will be newer than xxx-full_buildthe version , it doesn't matter which one you choose, it depends on your personal preference.

As for whether you want to sharedchoose sharedthe version with or without it, it is actually possible. Because the same version sharedhas and does not sharedhave the function is exactly the same.

Inside the sharedbelt , there are many include, libdirectories. Put the module packages that FFmpeg depends on separately in libthe directory . ffmpeg.exe, ffplay.exe, ffprobe.exeas the entry of the executable file, the file size is very small, when they are running, if necessary, they will call the corresponding function libin .

sharedWithout , there are three executable files binin the directory , each of which is slightly larger because it has compiled the relevant module packages that need to be used into it.ffmpeg.exeffplay.exeffprobe.exeexeexe

insert image description here

The content after decompression is shown in the figure above; enter binthe directory and copy binthe directory path.
insert image description here

2. Configure environment variables

1. Configure system environment variables

1. On the computer desktop, open My Computer
insert image description here

2. In the blank space, right click and select [Properties]
insert image description here
3. Select Advanced System Settings -> Advanced -> Environment Variables
insert image description here

4. In System Variables, select Path, and edit:
insert image description here

5. Then create a new one in the [Edit Environment Variables] table, paste the copied bindirectory path into it, and save it.

extra supplement

For windowscomputers , you can put the decompressed files system32in the directory of the system, so there is no need to configure environment variables.

—————————— [End of text] ——————————

Front-end learning exchange group, if you want to come in face-to-face, you can join the group: 832485817 , 685486827 ;
Front-end top learning exchange group (1) Front-end top learning exchange group (2)

Written at the end: convention is better than configuration - the principle of simplicity in software development

—————————— 【End】 ——————————

My:
Personal website: https://neveryu.github.io/neveryu/
Github: https://github.com/Neveryu
Wechat: miracle421354532

For more learning resources, please pay attention to my WeChat... okay?

Guess you like

Origin blog.csdn.net/csdn_yudong/article/details/129182648