ClipMetadata typedef

ClipMetadata = ({double fps, int frameCount, bool hasAudio, int height, int width})

The probed facts a Clip needs to resample a source video deterministically — its frame rate, frame count, pixel dimensions, and whether it carries an audio track (so the encoder mixes a clip's embedded audio only when present).

The render layer's VideoProbeService produces a richer report; the resolver hands the elements only the fields the resampler reads, in a core-resident value so Clip never imports the render layer.

Implementation

typedef ClipMetadata = ({double fps, int frameCount, int width, int height, bool hasAudio});