Kition
filmEditing & Timeline

Night Drive Speed Ramp

A car-culture reel cuts one long night drive into three pieces and runs them at normal speed, triple speed and half-speed slow motion.

Night Drive Speed Ramp — Film sample rendered by Kition

One nine-second take of the night drive is razored at 3 s and 6 s. The middle piece is sped up to 300 % with ripple on, so it plays in one second and the rest of the drive follows it at once; the last piece drops to 50 % with optical-flow interpolation and stretches to six seconds. The audio stays linked and changes speed with the picture. The thumbnail is inside the slow-motion section.

Animated sample: watch the preview (WebP animation).

Steps

6 commands · after the demo-footage prelude
showcase.yaml8 lines
steps:
  - { command: file.newSequence, params: { name: Night Drive Reel, width: 1280, height: 720, fps: 24, video: 1, audio: 1 }, as: sequence }
  - { command: timeline.place, params: { item: 7, track: V1, seconds: 0, duration: 2286144000000 }, as: drive }
  # each razor answers the right-hand pieces it made (video, then its linked audio)
  - { command: timeline.razor, params: { time: 762048000000 }, as: cut1 }
  - { command: timeline.razor, params: { time: 1524096000000 }, as: cut2 }
  - { command: clip.speedDuration, params: { clips: [$cut1.clips.0], speed: 300, ripple: true } }
  - { command: clip.speedDuration, params: { clips: [$cut2.clips.0], speed: 50, ripple: true, interpolation: opticalFlow } }

Checks

11 checks on every build
  • results.cut1 = {"cuts":2,"clips":{"count":2}}
  • results.cut2 = {"cuts":2,"clips":{"count":2}}
  • inspect.sequence.video.0.items = {"count":3}
  • inspect.sequence.video.0.items.0 = {"speed":1,"start":0,"end":762048000000}
  • inspect.sequence.video.0.items.1 = {"speed":3,"start":762048000000,"end":1016064000000,"sourceIn":762048000000,"sourceOut":1524096000000}
  • inspect.sequence.video.0.items.2 = {"speed":0.5,"start":1016064000000,"end":2540160000000,"timeInterpolation":"opticalFlow"}
  • inspect.sequence.audio.0.items = {"count":3}
  • inspect.sequence.audio.0.items.1.speed = 3
  • inspect.sequence.duration = 2540160000000
  • 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
filmEditing & Timeline

Six Places Beat Montage

A summer travel recap cuts six scenes on the bar lines of its music, marked first and then edited to the markers.

1280 × 720 @ 24 fps; 12.0 s; 7 video clips; 1 audio clip; 2 effects; 7 markers
filmEditing & Timeline

Four Camera Angle Cut

A festival recap groups four synced cameras into one multicam clip and live-cuts between the angles every two seconds.

1280 × 720 @ 24 fps; 10.0 s; 5 video clips; 1 audio clip
filmEditing & Timeline

Freeze Frame Day One

A travel vlog freezes the city drive for two seconds and stamps the day's title on the held frame.

1280 × 720 @ 24 fps; 8.0 s; 4 video clips; 2 audio clips; 3 effects
filmEditing & Timeline

Nested Flashback Look

A short film nests its three-shot flashback and its date card into one clip, then grades the whole memory black and white in one place.

1280 × 720 @ 24 fps; 12.0 s; 3 video clips; 3 audio clips; 2 effects