probe

This block is part of the video group and was last modified in core v15.0.0.

probe v15.0.0

Reads width, height, duration, size and whether the file has audio : without transcoding. Runs inline (ffprobe is milliseconds), so branch on the result before deciding whether to compress.

In pins 1 + flow
  • flow
  • file value required

    Video file. Accepts a file object (from another file block) or a relative path string.

Out pins 7 + flow
  • flow
  • success condition

    False when the file is missing or is not a media file ffprobe understands.

  • width number
  • height number
  • duration ms number
  • size bytes number
  • has audio condition

    True when the file carries at least one audio stream.

  • error value
video info
ffprobe
video duration
video dimensions

A typical wiring for probe: a function trigger starts the flow; value feeds the file pin; the flow out pin feeds debug.

Studio canvas example for the probe block: typical wiring for probe.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v15.0.0.


Back to video Return to the main group to view all sub-groups Back to video Return to the group to view all blocks within this group