Get Path to ffmpeg Executable

ffmpeg_exec(quote = FALSE)

have_ffmpeg_exec()

Arguments

quote

should shQuote be run before returning?

Value

The path to the ffmpeg executable, or an error.

Note

This looks using `Sys.getenv("ffmpeg")` and `Sys.which("ffmpeg")` to find `ffmpeg`. If `ffmpeg` is not in your PATH, then please set the path to `ffmpeg` using `Sys.setenv(ffmpeg = "/path/to/ffmpeg")`

Examples

if (FALSE) { if (have_ffmpeg_exec()) { ffmpeg_exec() } }