detailed tutorial for installing ffmpeg

created at 05-29-2022 views: 1

introduction

In the past two days, I have sorted out the useful screen recording software and found the software Captura. The installation of the software itself is very simple, but because Captura needs to rely on ffmpeg (a set that can be used to record and convert digital audio and video, and convert them into Streaming open source computer program), while ffmpeg takes a little more effort to install.

After reading a lot of online answers, some have changed the page because of the time, and some need to set environment variables. After research and trial, I sorted out the installation method of ffmpeg, which is explained in detail below.

download ffmpeg

Go to the ffmpeg official website https://ffmpeg.org/download.html and click to download according to the red box as shown in the figure below

download ffmpeg

Unzip the file

Unzip the file, enter the bin directory, and you can see three files:

  • ffmpeg.exe
  • ffplay.exe
  • ffprobe.exe

Leave it alone and go to the next step.

unzip folder

we will use this path later.

set environment variables

If you downloaded ffmpeg just to use Captura, just skip this step.

If it is used for other purposes, since the program only has command line mode, environment variables need to be set for the convenience of use.

  1. win+X, enter 'System'
  2. find and click Advanced system settings
  3. Environment Variables

environment variables

add to path

copy the former path and add to the path:

add to path

and save.

Note that what I set here is a user variable, which can only be used by the current windows user (admin). If every user needs to be able to use it, it needs to be added to the Path entry of "System Variables".

We open the cmd command line window and enter the command ffmpeg --version. The window returns the version information of ffmpeg, indicating that the installation is successful.

Next, you can directly use the command line to execute the ffmpeg command to convert various media formats.

select the FFmpeg directory in Captura

For those who download ffmpeg just use Captura screen recording software only, you should see here!

No need to set environment variables!

After completing step 1, open Captura, click "Settings -> FFmpeg -> Select FFmpeg Directory", select the bin directory just now, and you're done!

selecting ffmpeg directory

Captura is ready to use, it's that simple!

created at:05-29-2022
edited at: 05-29-2022: