Video source node: the executor drives it frame by frame — each execute() outputs the next frame on out, with teardown at stream end. api_preference forces a decode backend (automatic by default; FFMPEG is the most common).

Module:Video I/O · Task type:video_reader

Ports

Inputs

None.

Outputs

PortTypeRequired
outcv::Mat✓

Parameters

参数类型默认值范围 / 选项说明
file_pathstring(空)video path; relative paths probe the graph directory
api_preferenceenum0DEFAULT / FFMPEGdecode backend: DEFAULT (auto) / FFMPEG

Notes

  • Frame semantics are executor-driven: one GraphStudio execution = one frame; use embedded SDK execution or a script loop for batch transcoding.

Part of the GraphStudio node guide series; parameters reflect the latest release.