Skip to main content

Module filmstrip

Module filmstrip 

Source
Expand description

Video track filmstrip + clip selection (ED.9 / M-EDIT).

segment_spans is the pure layout: each [edit::TimelineSegment] becomes a proportional span (start_fraction / width_fraction) of the project so the video lane lays out responsively at any width. The VideoFilmstrip component renders those spans as selectable clip blocks; the selection (a RwSignal<Option<usize>> in context) drives the inspector (ED.18).

Per-clip thumbnail images decode + downscale through EditorVideoStream and land with the render-integration pass; this chunk is the responsive segment layout + selection + duration labels.

Structs§

SegmentSpan
A laid-out segment: its fractional position across the project plus its source range and a duration label.
VideoFilmstripProps
Props for the VideoFilmstrip component.

Functions§

VideoFilmstrip
The video lane: the project’s segments as selectable clip blocks, positioned by fraction so the lane is responsive. Click selects a clip (drives the inspector). Reads the project + selection from context.
fraction 🔒
label_for 🔒
segment_spans
Lay out the project’s segments as proportional spans (left + width fractions), in timeline order.