Oink
Nodes

Kronos

Kronos: retimes a clip with motion vectors, as Nuke's Kronos.

raw .md

Kronos: retimes a clip with motion vectors, as Nuke's Kronos. Timing: Output Speed, Input Speed or an animated Frame curve. Method: Frame (nearest), Blend, Motion (the input's motion / occlusion layers, else AI optical flow) or RIFE 4.26 (AI worker, ours). Shutter samples / time add motion blur. All layers are retimed; float values and highlights are kept. Generating flow never freezes the app: the frame shows when the vectors are ready.

NodeKronos
Type idOC_N_retime
MenuTime › Kronos
Nuke classKronos
Codeopencomp_core/nodes/ai/aimotion.py

Kronos properties

Inputs and outputs

PortNameType
input 0Sourceimage
output 0Imageimage

Knobs

Panel tab Kronos, in panel order.

KnobLabelTypeDefaultRange / valuesNuke knobDescription
input_firstInput Rangefloat1-100000 to 100000 (integer)
input_lasttofloat100-100000 to 100000 (integer)
reset_input_rangeResetbutton (panel only)
use_input_rangeinput range from sourcebooltrueInput first/last and output first = the upstream clip's frame range
output_firstoutput firstfloat1-100000 to 100000 (integer)Output frame of the input's first frame (Nuke: the input first)
channelsChannelsmenuallall, rgbaretimedChannels
methodMethodmenumotionnearest (Frame), blend (Blend), motion (Motion), rife (RIFE)interpolation
timingTimingmenuspeedspeed (Output Speed), input_speed (Input Speed), frame (Frame)timing2
speedOutput Speedfloat0.5-4 to 4timingOutputSpeed
input_speedInput Speedfloat0.50.001 to 4timingInputSpeed
source_frameFramefloat1-100000 to 100000timingFrame2
motion_estimationMotionmenuRegularizedRegularized, LocalmotionEstimation
flow_modelflow modelmenuAUTOAUTO (Auto (by free GPU memory)), sea-raft-m (SEA-RAFT M), sea-raft-s (SEA-RAFT S)
use_input_vectorsuse input vectorsbooltrueUse the input's motion / occlusion layers when present (else run AI flow)
vector_detailVector Detailfloat0.30.01 to 1vectorDetail
strengthStrengthfloat1.50 to 5strength
smoothnessSmoothnessfloat0.50 to 1smoothness
resample_typeResamplingmenuBilinearBilinear, Lanczos4, Lanczos6resampleType
shutter_samplesShutter Samplesfloat11 to 64 (integer)shutterSamples
shutter_timeShutter Timefloat00 to 2shutterTime
auto_shutter_timeAutomatic Shutter TimeboolfalseautoShutterTime
outputOutputmenuResultResult, Matte, Foreground, Backgroundoutput
matte_channelMatte ChannelmenuNoneNone, Source Alpha, Source Inverted Alpha, Matte Luminance, Matte Inverted Luminance, Matte Alpha, Matte Inverted AlphamatteChannel
flicker_compensationFlicker CompensationboolfalseflickerCompensation
weight_redWeight Redfloat0.30 to 1weightRed
weight_greenWeight Greenfloat0.60 to 1weightGreen
weight_blueWeight Bluefloat0.10 to 1weightBlue
vector_spacingVector Spacingfloat201 to 100 (integer)vectorSpacing
show_vectorsOverlay VectorsboolfalseshowVectors

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / valuesNuke knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Nuke equivalent

Imports from and exports to Nuke's Kronos.

Knobs with a different name here:

Nuke knobKnob here
retimedChannelschannels
interpolationmethod
timing2timing
timingOutputSpeedspeed
timingInputSpeedinput_speed
timingFrame2source_frame
motionEstimationmotion_estimation
vectorDetailvector_detail
resampleTyperesample_type
shutterSamplesshutter_samples
shutterTimeshutter_time
autoShutterTimeauto_shutter_time
matteChannelmatte_channel
flickerCompensationflicker_compensation
weightRedweight_red
weightGreenweight_green
weightBlueweight_blue
vectorSpacingvector_spacing
showVectorsshow_vectors

Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.

Examples

Open these from Help › Examples…, or from the ? menu in this node's Properties panel.

  • Retime: half speed with frame blending (examples/time/retime_blend.oink): Retime at speed 0.5 turns the 8-frame Beachball move into 16 frames; "blend" mixes the two nearest source frames (use "motion" for vector-based in-betweens).

On this page