Skip to main content

Load Videos From Folder

KJNodes/misc
LoadVideosFromFolder

Example

JSON Example
{
  "class_type": "LoadVideosFromFolder",
  "inputs": {
    "video": "https://example.com/input-video.mp4",
    "force_rate": 0,
    "custom_width": 0,
    "custom_height": 0,
    "frame_load_cap": 0,
    "skip_first_frames": 0,
    "select_every_nth": 1,
    "output_type": "batch",
    "grid_max_columns": 4,
    "add_label": false
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
videoSTRINGURL: Videorequired-"X://insert/path/"
force_rateFLOATrequiredmin: 0, max: 60, step: 10
custom_widthINTrequiredmin: 0, max: 40960
custom_heightINTrequiredmin: 0, max: 40960
frame_load_capINTrequiredmin: 0, max: 10000, step: 10
skip_first_framesINTrequiredmin: 0, max: 10000, step: 10
select_every_nthINTrequiredmin: 1, max: 1000, step: 11
output_typeENUM
2 options
  • batch
  • grid
required-"batch"
grid_max_columnsINTrequiredmin: 1, max: 16, step: 14
add_labelBOOLEANrequired-false

Outputs

IndexNameTypeIs ListConnection Reference
0IMAGEIMAGENo["{node_id}", 0]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this LoadVideosFromFolder node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • IMAGE (IMAGE): ["5", 0]
Was this page helpful?