Skip to content
pre-alpha

motio ffmpeg ensure

Download the pinned FFmpeg of @motiojs/ffmpeg if needed (when installed).

Terminal window
motio ffmpeg ensure

Flags

Flag Description
--json Print one JSON object on stdout (schema in schemas/).
--log=<value> Log level: trace, verbose, info, warn, error.
--help, -h Show help for the command.

JSON output

With --json, motio ffmpeg ensure prints exactly one JSON object on stdout. On success it has these fields; on failure it is the error object. The schema ships with the CLI as @motiojs/cli/schemas/ffmpeg-ensure.schema.json.

Field Type Description
ok true
command "ffmpeg ensure"
ffmpeg string Absolute path.
ffprobe string Absolute path.
version string
build integer
platform string
directory string Folder of the build, with its licences and BUILDINFO.json.
downloaded boolean
warnings array of string

Exit codes

See exit codes. Run motio ffmpeg ensure --help for the same list of flags in the terminal.