Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProbeOptions

alpha

Hierarchy

  • ProbeOptions

Index

Properties

Optional analyzeDuration

analyzeDuration: undefined | number

Specify the number of milliseconds to analyze, defaults to 5000.

Optional args

args: string[]

Add command line arguments to ffprobe, args is appended after other arguments, but before source.

Optional ffprobePath

ffprobePath: undefined | string

Path to the ffprobe executable.

Optional format

format: Demuxer | Format | (string & {})

Specify the input format of the media to probe.

Optional probeSize

probeSize: undefined | number

Specify the number of bytes to probe, if not given it will not be specified in the command-line arguments.

Optional spawnOptions

spawnOptions: SpawnOptions
example
const info = await probe('video.mkv', {
  spawnOptions: {
    timeout: 5000
  }
});