ffprobe: Send a command to the FFprobe program

View source: R/ffprobe.R

ffprobeR Documentation

Send a command to the FFprobe program

Description

ffprobe() runs the FFprobe program with the arguments in command and returns its output. FFprobe reads information about media files.

Usage

ffprobe(command)

Arguments

command

A string with the arguments to give FFprobe.

Details

ffprobe() is a direct command. The package passes command to FFprobe exactly as you wrote it, so you must add any quotes that it needs. To get tibbles instead, use probe_all() and the other ⁠probe_*()⁠ functions. These functions quote their arguments for you.

Value

A character vector with the text that FFprobe writes to standard output, one element for each line. Messages on standard error, such as FFprobe's banner and errors, are not returned. On macOS and Linux, a shell redirect such as ⁠2>&1⁠ in command returns them too.

See Also

probe_all() and the other ⁠probe_*()⁠ functions, which return tibbles.

Other direct command functions: ffmpeg(), mediainfo()

Examples


ffprobe("-version")


tidymedia documentation built on Oct. 11, 2026, 5:08 p.m.