Get Video Path
The tiny dropdown that fixes 'video file not found'
- video_path
The boring node that saves the workflow
Get Video Path is the least glamorous node in the ComfyUI-QwenVideo pack, and honestly it's the one you'll appreciate most the first time Qwen Video Prompt Reversal throws a "Video file not found" error at you. It's a tiny helper: a dropdown that lists every video in your ComfyUI/input folder and outputs the full absolute path to the one you pick. That's the whole job, and it does it cleanly.
The node exists because the main node can accept a file path as an alternative to a VIDEO object, and paths are the classic source of bugs - you type a relative path wrong, forget which folder ComfyUI is actually looking at, and suddenly your ffmpeg extraction is pointed at nothing. A dropdown removes the entire class of typos. The README positions it as the fix for the "invalid file path" failure mode, and it earns that.
How it works
The mechanism is dead simple: at graph load time the node scans folder_paths.get_input_directory() (your ComfyUI/input folder) and builds an enum dropdown from every file whose extension is in its allowlist - mp4, mov, avi, webm, mkv, flv, wmv, gif. When you run it, get_path joins your input directory with the selected filename and returns the absolute path.
Two details worth knowing. First, if your input folder is empty, the dropdown literally reads no_videos_found - a signal that you haven't dropped anything there yet, not a crash. Second, the source code reads that directory once, when the node is (re)created. Drop a new video in input while the workflow is already open and it may not appear until you reload the graph or refresh ComfyUI.
The one input and the one output
That's the entire schema: one video input (the dropdown), one video_path STRING output. Wire that output into the main node's video input - the main node accepts a string path and will resolve it. Or wire it into anything else that wants a video path.
Install and gotchas
It ships with the whole pack, so:
cd ComfyUI/custom_nodes
git clone https://github.com/eddyhhlure1Eddy/ComfyUI-QwenVideo.git
cd ComfyUI-QwenVideo
pip install -r requirements.txt
or install "QwenVideo" via ComfyUI Manager and restart. No extra downloads - the pack's only real system dependency is FFmpeg in PATH, which the main node needs anyway.
Caveats, such as they are: it only lists the input folder, so videos elsewhere on disk won't show up (put them in input or use a Load Video node, which handles path resolution itself). And there's no video preview attached - you're choosing by filename, so keep your clips named something you recognize. For a helper this tiny, that's the entire list of things that can go wrong.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| video | COMBO | 1 options: no_videos_found |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | — |