dot-slot_chain: One slot's normalization chain

.slot_chainR Documentation

One slot's normalization chain

Description

fill covers the rect (scale up + center-crop); fit contains it (scale down + centered black pad). Both normalize fps, SAR, pixel format, and timebase so heterogeneous sources (phone footage, 10-bit, 24/25 fps) overlay cleanly; non-reference chains freeze their last frame so a short take never goes black.

Usage

.slot_chain(i, rect, fit, fps, freeze, lbl)

Arguments

i

Zero-based input index.

rect

Integer c(x, y, w, h).

fit

"fill" or "fit".

fps

Reference frame rate.

freeze

Append the freeze (tpad clone) – FALSE for the reference.

lbl

Output pad label.

Value

One filter chain string.


compost documentation built on Aug. 4, 2026, 5:11 p.m.