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

ParameterTypeDefault
file_pathString""
frame_modeString"Timeline"
custom_frameNumber0
speedNumber1
loop_modeString"Loop"
start_offsetNumber0
interpolationString"Bilinear"
wrap_modeString"Clamp"
opacityNumber1
sequenceOneOf([RasterArray])
reloadOneOf([Boolean, Number])
positionVec3(0, 0, 0)
rotationVec3(0, 0, 0)
scaleVec3(1, 1, 1)
anchorVec3(0, 0, 0)

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)