Kition
filmKeyframes & Motion

Iris-Out Ending

The closing shot shrinks into a feathered circle around the setting sun, an animated mask expansion, before THE END fades up.

Iris-Out Ending — Film sample rendered by Kition

The old silent-film iris-out made with a mask. The sea shot has a small elliptical Opacity mask centred on the sun; the mask's expansion (effects.setParam with `mask: 0`) is keyframed from 1200 px, which shows the whole frame, down to 0 px over three seconds, with an ease into the last keyframe so the circle slows as it closes. A 40 px feather keeps the edge soft, and the end card fades in once the iris has shut.

Animated sample: watch the preview (WebP animation).

Steps

14 commands · after the demo-footage prelude
showcase.yaml17 lines
steps:
  - { command: file.newSequence, params: { name: Final Shot, width: 1920, height: 1080, fps: 24, video: 2, audio: 1 } }
  - { command: timeline.place, params: { item: 5, track: V1, seconds: 0, sourceIn: 1270080000000, duration: 1524096000000, audio: false }, as: sea }
  - { command: masks.add, params: { clip: $sea.clips.0, shape: ellipse, center: [974, 508], size: [180, 180] }, as: iris }
  - { command: masks.set, params: { clip: $sea.clips.0, mask: 0, name: Iris, feather: 40 } }
  - { command: effects.setParam, params: { clip: $sea.clips.0, effect: opacity, mask: 0, param: expansion, value: 1200, seconds: 0.5 } }
  - { command: effects.setParam, params: { clip: $sea.clips.0, effect: opacity, mask: 0, param: expansion, value: 0, seconds: 3.5 } }
  # Keyframe times on a clip are media times: the clip starts 5 s into the source, so 3.5 s on the
  # timeline is 8.5 s of media (2 159 136 000 000 ticks).
  - { command: effects.setInterpolation, params: { clip: $sea.clips.0, effect: opacity, param: expansion, mask: 0, mediaTime: 2159136000000, interpolation: easeIn } }
  - { command: masks.list, params: { clip: $sea.clips.0, time: 127008000000 }, as: open }
  - { command: masks.list, params: { clip: $sea.clips.0, time: 508032000000 }, as: closing }
  - { command: masks.list, params: { clip: $sea.clips.0, time: 1016064000000 }, as: closed }
  - { command: graphics.newText, params: { text: THE END, position: [960, 700], size: 72, seconds: 3, frame: 72, track: 1 }, as: card }
  - { command: graphics.set, params: { clip: $card.clip, props: { align: center, tracking: 600, fill_color: "#f3e3c3" } } }
  - { command: effects.setParam, params: { clip: $card.clip, effect: opacity, param: opacity, value: 0, seconds: 3 } }
  - { command: effects.setParam, params: { clip: $card.clip, effect: opacity, param: opacity, value: 100, seconds: 4 } }

Checks

9 checks on every build
  • results.iris = {"effect":1,"mask":0}
  • results.open.masks.0 = {"name":"Iris","feather":40,"expansion":1200}
  • results.closing.masks.0.expansion = {"approx":450,"tol":5}
  • results.closed.masks.0.expansion = 0
  • inspect.sequence.video.0.items.0.effects.1 = {"effect":"opacity","masks":1}
  • inspect.sequence.video.1.items.0 = {"name":"THE END","startFrame":72}
  • inspect.sequence.video.1.items.0.effects.1.params.opacity.keyframes = [{"time":762048000000,"mediaTime":0,"value":0},{"time":1016064000000,"mediaTime":254016000000,"value":100}]
  • Diagnostics: none, the kit's own check finds nothing wrong
  • The saved document opens again, and its thumbnail matches thumb.png within the render tolerance

Related

More Film samples
filmKeyframes & Motion

Four-Up Video Wall

Four shots pop into a 2×2 grid one after another, each scaling up from nothing with an ease-out, before a title lands in the middle.

1920 × 1080 @ 24 fps; 10.0 s; 6 video clips; 1 effect; 5 animated effects
filmKeyframes & Motion

Ken Burns Sunset Push-In

A slow eased push-in that drifts the sun to the centre of frame, the Ken Burns move on Motion scale and position keyframes.

1920 × 1080 @ 24 fps; 18.0 s; 2 video clips; 2 effects; 2 animated effects
filmKeyframes & Motion

Spinning Badge Promo

A podcast promo where a starburst badge pops in with an overshoot and keeps turning beside the episode title.

1920 × 1080 @ 30 fps; 8.0 s; 4 video clips; 5 effects; 2 animated effects
filmKeyframes & Motion

Road Trip Hold Keyframes

A travel-map graphic where a marker jumps from town to town on hold keyframes instead of sliding between them.

1920 × 1080 @ 24 fps; 6.0 s; 3 video clips; 11 effects; 1 animated effect