dot-run_ffmpeg: Run FFmpeg Command

.run_ffmpegR Documentation

Run FFmpeg Command

Description

Internal helper that executes ffmpeg with the given arguments. Surfaces stderr on failure.

Usage

.run_ffmpeg(args, dry_run = FALSE)

Arguments

args

Character vector of ffmpeg arguments.

dry_run

If TRUE, return the command string instead of running it.

Value

On success, the captured stderr lines (invisibly), so callers that parse ffmpeg's log (e.g. ametadata=print, which writes to stderr) can read them. On dry_run, the command string.


compost documentation built on Aug. 4, 2026, 5:11 p.m.