Installation for Window users

Installing the software with Homebrew

While waiting for Homebrew working directly on Windows, please follow the instructions given at Installation for the Linux users in this Cookbook. This works fine on both the Windows Terminal (recommended) and Windows Subsystem for Linux, as well as the various Linux distribution apps.

Installing the software with Chocolatey

Chocolatey

Chocolatey is a package manager for Windows. You can install Chocolatey by opening an administrative Command Prompt (e.g. command-click onto cmd.exe) and pasting the following command at the prompt:

 

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

FFmpeg

Once Chocolatey is installed, you can build FFmpeg with the command:

 

choco install ffmpeg

You should now have the commands ffmpeg, ffplay and ffprobe installed. You can now close the administrative Command Prompt and open a regular one (cmd.exe).

Installing the software from a build

Download the binary of the latest release:

Testing your installation

ffmpeg

Test ffmpeg by pasting into the Terminal or the Command Prompt the line:

 

ffmpeg -f lavfi -i mandelbrot -t 10 -pix_fmt yuv420p Desktop\mandelbrot.mkv

 

This should produce on your Desktop a file of the Mandelbrot pattern.

ffplay

Test ffplay by pasting into the Terminal or the Command Prompt the line:

 

ffplay Desktop\mandelbrot.mkv

 

This should play the Mandelbrot file.

ffprobe

Test ffprobe by pasting into the Terminal or the Command Prompt the line:

 

ffprobe -show_format -show_streams -print_format json Desktop\mandelbrot.mkv

 

This should display the Mandelbrot file’s technical metadata.


2021-05-18