Nodes/comfyui-huyl2-nodes/Video Dir Combiner
ComfyUI Node

Video Dir Combiner

Joins a folder of clips into one file, gated behind a license_key

By huyl3-cpu·Created 9 months ago·Updated 4 months ago· 1
Video Dir Combiner
  • image
  • output_path
video_list
directory_path
output_filenameoutput.mp4
license_key

Straightforward concept: point it at a directory of video clips, give it the order you want them joined in, and it stitches them into one output file. The wrinkle is a license_key field sitting right alongside the video-processing parameters - the third node in this pack carrying that field (alongside Set-Value-For-MC-V2V), which is a decent signal that whatever's actually doing the heavy lifting behind this combine step is gated, paid tooling the author maintains separately, and this open node is just the local front end for it.

The inputs and outputs that matter

  • image - required, and genuinely odd for a node whose job is stitching video files together. There's no tooltip explaining its purpose, and I don't have enough to say confidently what it's for - an intro/title frame, a watermark overlay, or simply a leftover required socket from an earlier version of the node are all plausible. If you just want the node to run, wire in any IMAGE-shaped input and see what the output actually contains.
  • video_list - multiline STRING, presumably a newline list of filenames or paths within directory_path, in the order you want them combined.
  • directory_path - where the source clips live.
  • output_filename - default output.mp4.
  • license_key - blank by default. As with Set-Value-For-MC-V2V, this node doesn't visibly validate the key itself - it's just carried through, so whatever it gates presumably lives further down the pipeline.

One output: output_path.

Installing it

ComfyUI Manager: search comfyui-huyl2-nodes, install, restart. By hand:

cd ComfyUI/custom_nodes
git clone https://github.com/huyl3-cpu/comfyui-sortlist

restart. Not covered in the pack's README. Joining video files is normally an ffmpeg job (concat demuxer or filter, depending on whether the clips share codec/resolution) - if this errors out on first run, missing ffmpeg on PATH is the first thing worth checking, especially outside the author's own Colab setup.

Common issues & troubleshooting

Order matters, and nothing here sorts for you. Given the pack's own name (comfyui-sortlist) and its dedicated sort_list_string node, it's a safe bet the author expects you to get video_list into the right order before it reaches this node - if your source directory's natural listing order doesn't match your intended combine order (the classic clip10.mp4 before clip2.mp4 alphabetical trap), run it through sort_list_string first.

If clips of different resolutions or codecs refuse to combine cleanly - dropped frames, a corrupt-looking output, or an outright failure - that's a common ffmpeg concat limitation, not necessarily a bug specific to this node: simple concatenation generally expects matching format/codec across inputs, and mixed sources often need re-encoding first to combine reliably.

For a version of this same job without the license_key requirement, see this pack's video_dir_combiner_ultra - same core function, no gate, flashier name.

Categoryvideo

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
video_listSTRING
directory_pathSTRING
output_filenameSTRINGoutput.mp4
license_keySTRING

Outputs (1)

NameTypeDescription
output_pathSTRING