Installation for the 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 Subsystem for Linux (recommended) and the Linux on Windows apps on Windows 10 Pro and Home (we have tested successfully the FFmpeg installation on Debian 9.5 and on Ubuntu 18.04.1 LTS).
Installing the software with 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
Once Chocolatey is installed, you can build FFmpeg with the command:
choco install ffmpeg
Installing the software from a build
Please follow the instructions given at: ffmpeg.org/download.html.
Testing your installation
Once you followed the installation for Chocolatey above, you should have the commands ffmpeg, ffplay and ffprobe installed. You can now close the administrative Command Prompt and open a regular one (cmd.exe).
Test ffmpeg by pasting into 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.
Test ffplay by pasting into the Command Prompt the line:
This should play the Mandelbrot file.
Test ffprobe by pasting into 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.