
Check that FFmpeg is installed and supports the filter chain
Source:R/02_filter_audio.R
pam_check_ffmpeg.RdCheck that FFmpeg is installed and supports the filter chain
Value
The first line of FFmpeg's version output. Aborts with install advice if FFmpeg is missing or too old for the filter.
Examples
# \donttest{
if (nzchar(Sys.which("ffmpeg"))) {
pam_check_ffmpeg("ffmpeg", filter = pam_highpass_filter_string(250, 8))
}
#> [1] "ffmpeg version 9.0.2-full_build-www.gyan.dev Copyright (c) 2000-2026 the FFmpeg developers"
# }