Kition
filmKeyframes & Motion· featured

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.

Ken Burns Sunset Push-In — Film sample rendered by Kition

Motion scale goes from 100 % to 150 % and position from the frame centre to (950, 640) over six seconds, so the zoom also re-frames the shot around the sun. The first keyframes of both parameters ease out and the last ones ease in (effects.setInterpolation), so the move starts and settles softly instead of at a constant speed. A chapter card fades in over it.

Animated sample: watch the preview (WebP animation).

Steps

16 commands · after the demo-footage prelude
showcase.yaml18 lines
steps:
  - { command: file.newSequence, params: { name: Chapter Opener, width: 1920, height: 1080, fps: 24, video: 2, audio: 1 } }
  - { command: timeline.place, params: { item: 5, track: V1, seconds: 0, audio: false }, as: sea }
  - { command: effects.setParam, params: { clip: $sea.clips.0, effect: motion, param: scale, value: 100, seconds: 0 } }
  - { command: effects.setParam, params: { clip: $sea.clips.0, effect: motion, param: scale, value: 150, seconds: 6 } }
  - { command: effects.setParam, params: { clip: $sea.clips.0, effect: motion, param: position, value: [960, 540], seconds: 0 } }
  - { command: effects.setParam, params: { clip: $sea.clips.0, effect: motion, param: position, value: [950, 640], seconds: 6 } }
  # mediaTime is the clip's own time in ticks (254 016 000 000 per second): 0 and 6 s.
  - { command: effects.setInterpolation, params: { clip: $sea.clips.0, effect: motion, param: scale, mediaTime: 0, interpolation: easeOut } }
  - { command: effects.setInterpolation, params: { clip: $sea.clips.0, effect: motion, param: scale, mediaTime: 1524096000000, interpolation: easeIn } }
  - { command: effects.setInterpolation, params: { clip: $sea.clips.0, effect: motion, param: position, mediaTime: 0, interpolation: easeOut } }
  - { command: effects.setInterpolation, params: { clip: $sea.clips.0, effect: motion, param: position, mediaTime: 1524096000000, interpolation: easeIn } }
  - { command: graphics.newText, params: { text: CHAPTER THREE, position: [960, 860], size: 40, seconds: 10, track: 1, frame: 24 }, as: card }
  - { command: graphics.set, params: { clip: $card.clip, props: { align: center, tracking: 500, fill_color: "#ffe7c2", shadow: true } } }
  - { command: graphics.newText, params: { clip: $card.clip, text: The Long Way West, position: [960, 950], size: 84 } }
  - { command: graphics.set, params: { clip: $card.clip, props: { font_style: Bold, align: center, fill_color: "#ffffff", shadow: true } } }
  - { command: effects.setParam, params: { clip: $card.clip, effect: opacity, param: opacity, value: 0, seconds: 1 } }
  - { command: effects.setParam, params: { clip: $card.clip, effect: opacity, param: opacity, value: 100, seconds: 2 } }

Checks

7 checks on every build
  • inspect.sequence.video.0.items.0.effects.0.effect = "motion"
  • inspect.sequence.video.0.items.0.effects.0.params.scale.keyframes = [{"time":0,"value":100,"interpolation":"easeOut"},{"time":1524096000000,"value":150,"interpolation":"easeIn"}]
  • inspect.sequence.video.0.items.0.effects.0.params.position.keyframes = [{"time":0,"value":[960,540],"interpolation":"easeOut"},{"time":1524096000000,"value":[950,640],"interpolation":"easeIn"}]
  • inspect.sequence.video.1.items.0.startFrame = 24
  • inspect.sequence.video.1.items.0.effects.1 = {"effect":"opacity","params":{"opacity":{"keyframes":[{"time":254016000000,"mediaTime":0,"value":0},{"time":508032000000,"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

Iris-Out Ending

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

1920 × 1080 @ 24 fps; 6.0 s; 2 video clips; 1 effect; 1 animated effect
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