> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-partner-nodes-consolidate.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LoadVideoDataSetFromFolder - ComfyUI Built-in Node Documentation

> Loads a dataset of videos from a selected folder inside the ComfyUI input directory and returns them as a list of lazy video references.

Loads a dataset of videos from a selected folder inside the ComfyUI input directory and returns them as a list of lazy video references. This node loads a dataset of videos: frames are decoded only when another node actually needs them. Supported formats are MP4, AVI, MOV, WEBM, MKV, and FLV.

## Inputs

| Parameter | Description                        | Data Type | Required | Range                                                                           |
| --------- | ---------------------------------- | --------- | -------- | ------------------------------------------------------------------------------- |
| `folder`  | The folder containing video files. | COMBO     | Yes      | All subfolders available in the ComfyUI input directory (populated dynamically) |

**Note:** The selected folder must be a subfolder of the ComfyUI input directory and must contain at least one supported video file. Supported extensions are MP4, AVI, MOV, WEBM, MKV, and FLV. If no supported video files are found, or if the folder path resolves outside the input directory, the node raises an error.

## Outputs

| Output Name | Description                                                                                                                                                                                               | Data Type    |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `videos`    | A list of lazy video references, one for each supported video file in the selected folder, sorted alphabetically by file name. Video frames are decoded only when the output is consumed by another node. | VIDEO (list) |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LoadVideoDataSetFromFolder/en.md)

***

**Source fingerprint (SHA-256):** `6a7e6115872bb994fa554bb9de84bcd419106485403a3d2db654cbdd6c72bbe5`
