TimeClip

Just like TimeOffset, the TimeClip node lets you move the clip forwards or backwards in time and reverse the order of frames in the clip.

In addition to this basic functionality, you can slip a clip, set the frame range for the clip, set what happens to frames outside of this frame range, fade the clip to or from black, and set expressions to adjust the node’s behavior.

Tip:  Using TimeClip, you can also offset, trim, and slip clips directly in the Dope Sheet. See Using the Dope Sheet Interface.

See also TimeOffset.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image sequence to slip.

Control (UI)

Knob (Scripting)

Default Value

Function

TimeClip Tab

Fade In

fadeIn

5

The number of frames to fade from black.

Fade Out

fadeOut

5

The number of frames to fade to black.

frame range

first

Dependent on Project Settings

The first frame of the range.

You can also adjust this by going to the Dope Sheet tab and dragging the head of the clip to a new location.

before

hold

Sets the behavior of frames before the first frame (examples refer to a 20-frame sequence with a first value of 5):

hold - the first frame in the sequence is held until the first frame is reached. Example: 1, 1, 1, 1, 1, 2, 3, 4, etc.

loop - substitutes an equal number of frames, effectively creating a clip loop. Example: 17, 18, 19, 20, 1, 2, 3, 4, etc.

bounce - substitutes a reversed equal number of frames, creating a clip bounce. Example: 5, 4, 3, 2, 1, 2, 3, 4, etc.

black - frames are black until the first frame is reached.

last

Dependent on Project Settings

The last frame of range.

You can also adjust this by going to the Dope Sheet tab and dragging the tail of the clip to a new location.

after

hold

Sets the behavior of frames after the last frame (examples refer to a 20 frame sequence with a last value of 5):

hold - the last frame in the sequence is held until the end of the sequence is reached. Example: 16, 17, 18, 19, 20, 20, 20, 20, etc.

loop - substitutes an equal number of frames, effectively creating a clip loop. Example: 16, 17, 18, 19, 20, 1, 2, 3, 4, etc.

bounce - substitutes a reversed equal number of frames, creating a clip bounce. Example: 16, 17, 18, 19, 20, 19, 18, 17, etc.

black - frames are black from last until the end of the sequence is reached.

frame

frame_mode

expression

Sets the frame mode:

expression - Lets you enter an expression in the field on the right. The expression changes the relation between the current frame and the frame read in. For example, if your clip begins from image.0500.rgb and you want to place this first frame at frame 1 rather than frame 500, you can use the expression frame+499. This way, 499 frames are added to the current frame to get the number of the frame that’s read in. At frame 1, image.0500.rgb is read in; at frame 2, image.0501.rgb is read in; and so on. Another example of an expression is frame*2. This expression multiplies the current frame by two to get the number of the frame that’s read in. This way, only every other frame in the clip is used. At frame 1, image.0002.rgb is read in; at frame 2, image.0004.rgb is read in; at frame 3, image.0006.rgb is read in; and so on.

start at - Lets you enter a start frame number in the field on the right. This specifies the frame where the first frame in the sequence is read in. In other words, all frames are offset so that the clip starts at the specified frame. For example, if your sequence begins from image.0500.rgb and you enter 1 in the field, image0500.rgb is read in at frame 1. Similarly, if you enter 100 in the field, image0500.rgb is read in at frame 100.

offset - Lets you enter a constant offset in the field on the right. This constant value is added to the current frame to get the number of the frame that’s read in. For example, if your clip begins from image.0500.rgb and you want to place this first frame at frame 1 rather than frame 500, you can use 499 as the constant offset. This way, 499 is added to the current frame to get the frame that’s read in. At frame 1, image.0500.rgb is read in; at frame 2, image.0501 is read in, and so on. You can also use negative values as the constant offset. For example, if you use the value -10, Nuke subtracts ten from the current frame to get the frame that’s read in. At frame 20, image.0010.rgb is read in; at frame 21, image.0011.rgb is read in; and so on.

original range

origfirst

Dependent on Project Settings

The original first frame of the sequence.

origlast

Dependent on Project Settings

The original last frame of the sequence.

reverse

reverse

disabled

Reverse the clip within the specified frame range.

Step-by-Step Guides

Offsetting and Slipping Clips

Video Tutorials

Related Topics Link IconRelated Topics