Video

Load and play back video files.

What it does

Video loads an MP4, MOV, WebM or similar video file and outputs the current frame as an image, decoded on demand in the background. The frame shown is driven by the timeline by default, or pinned to a specific frame number. Speed and Loop Mode shape how the video's own frame range maps onto the timeline: forward, reverse, loop, hold, or ping-pong. Frame number, frame count, frame rate, duration and pixel dimensions are reported alongside the image, plus the audio track if the file has one.

Video also accepts a sequence of images in place of a file. Wire an image array into Sequence and it plays back as an image sequence, overriding the file path.

When to use it

ParameterTypeDefaultWhat it does
file_pathString""Path to video file
frame_modeString"Timeline"Use timeline frame or custom frame number. One of: Timeline, Custom.
custom_frameNumber0Frame number to display
speedNumber1Playback speed (negative for reverse)
loop_modeString"Loop"How to handle video boundaries. One of: Loop, Once, Ping Pong, Hold First, Hold Last.
start_offsetNumber0Frame offset from start
interpolationString"Bilinear"Interpolation when sampling: Nearest (pixelated) or Bilinear (smooth). One of: Nearest, Bilinear.
wrap_modeString"Clamp"How to handle coordinates outside frame bounds. One of: Clamp, Repeat, Mirror.
opacityNumber1Layer opacity for compositing
sequenceFrame Sequence—Connect a RasterArray to play back as a sequence (overrides file path)
reloadBoolean or Number—Rising edge (0→1) drops the open decoder and re-reads the file from disk
positionVec3(0, 0, 0)Translation (X, Y, Z)
rotationVec3(0, 0, 0)Rotation in degrees (X, Y, Z)
scaleVec3(1, 1, 1)Scale (X, Y, Z)
anchorVec3(0, 0, 0)Pivot offset (X, Y, Z) — rotation/scale orbit this point

Gotchas

Negative Speed values play the clip in reverse. Combined with Ping Pong loop mode and a Start Offset, the frame maths gets hard to follow. Test with Speed at 1.0 first, then adjust.

Worked example

  1. Add a Video node and set File Path to your clip.

  2. Leave Frame Mode on Timeline so playback follows the project timeline, or switch to Custom and set Custom Frame to freeze on one frame.

  3. Set Loop Mode to Loop for continuous playback, or Ping Pong to bounce back and forth at the ends.

  4. Use Start Offset to shift where in the source clip playback begins.

  5. Take Frame into your compositing chain; take Audio into an audio output if you need sound.

See also

Audio File · Gaussian Splat · Camera Input · Rasters (images)