Skip to contents

This is a helper function to install ffmpeg. Currently it only works on Windows and Linux platforms. The ffmpeg bundle will be downloaded from https://github.com/BtbN/FFmpeg-Builds/releases/latest (Windows) or https://johnvansickle.com/ffmpeg/ (Linux) and saved to your user appdata directory.

Usage

ov_install_ffmpeg(force = FALSE, bits, check_hash = TRUE)

Arguments

force

logical: force reinstallation if ffmpeg already exists

bits

integer: 32 or 64, for 32- or 64-bit install. If missing or NULL, will be guessed based on .Machine$sizeof.pointer. Note that only 64-bit is supported on Windows

check_hash

logical: don't check the hash of the downloaded file. Ignored on windows

Value

the path to the installed executable

Examples

if (FALSE) {
  ov_install_ffmpeg()
}