Extensions/comfyui-huyl2-nodes
ComfyUI Extension

comfyui-huyl2-nodes

Custom utility nodes for ComfyUI by huyl2 (sort list v2, etc.)

By huyl3-cpuΒ·Created 9 months agoΒ·Updated 4 months agoΒ· 1
huyl3-cpu/comfyui-sortlist
Nodes63
On cloudLocal install
Categoryutils, comfyui-sortlist
Stars1
Updated4 months ago

Nodes (63)

Adaptive Resolution πŸ“

Adaptive Resolution πŸ“

utils
Audio File Scanner 🎡

Audio File Scanner 🎡

utils
Clear Folder (rm -r *)

Wipe a directory clean from inside your graph

comfyui-sortlist
Clear Folder By Pattern

A scoped version of this pack's blunt rm -r *

comfyui-sortlist
Clear VRAM (Pass Through)

A manual flush for heavy video pipelines

utils
πŸ”‹ Colab Keep Alive

Stop Google from killing your session mid-render

SortList/Utils
Collect Files

Collect Files

comfyui-sortlist
Draw Mask On Image (Optional)

A mask preview that never breaks your graph

HuyL3/masking
File List Loader (MP3)

Point it at a folder, get a sorted file list back

comfyui-sortlist
File List to File Path

Turn a pasted list of paths into something loopable

comfyui-sortlist
Fix Dimensions (Div by 16)

Fix Dimensions (Div by 16)

comfyui-sortlist
Folder File Scanner πŸ“‚

Folder File Scanner πŸ“‚

utils
Get Timestamp

Stamp your output filenames without leaving the graph

comfyui-sortlist
Image Concatenate (Auto Direction)

Stitch two images without picking left/right yourself

sortlist
Image to SHA256

Image to SHA256

custom/utils
Load Image From Path

Read images straight off disk, no duplicate upload

comfyui-sortlist
_Loop Add (internal)

_Loop Add (internal)

comfyui-sortlist/flow
_Loop Less Than (internal)

_Loop Less Than (internal)

comfyui-sortlist/flow
Max Frames By Resolution (RTX 6000)

A hardcoded VRAM budget, not a universal formula

sortlist
Max Frames Calculator (by Resolution)

Width and height instead of a single number

utils
Move File (mv)

The missing shutil.move node for ComfyUI

file
String Embed In Image (RGB)

String Embed In Image (RGB)

comfyui-sortlist
String Extract From Image (RGB)

String Extract From Image (RGB)

comfyui-sortlist
MP3 Path β†’ Audio

MP3 Path β†’ Audio

comfyui-sortlist
🧹 RAM Cleanup

RAM-Cleanup

SortList/Utils
Remove First Line

Strip a header row out of a text blob

comfyui-sortlist
Rename File

Rename File

HuyL3/File
Resolution Down Step (720β†’480, 1080β†’720)

One fixed step-down, not a percentage scaler

HuyL3/Utilities
Set Value For Dancing Mask

Set Value For Dancing Mask

comfyui-sortlist
Set Value For Dancing None Mask

Set Value For Dancing None Mask

comfyui-sortlist
Set Value For MC

Set Value For MC

comfyui-sortlist
Set Value For MC I2V

Set Value For MC I2V

comfyui-sortlist
Set Value For MC I2V V2

A settings panel for someone else's image-to-video Colab

comfyui-sortlist
Set Value For MC V2V

The license-gated settings node in huyl3-cpu's pack

comfyui-sortlist
Set Value For MC V2V V2

Same settings panel, license_key dropped, resolution finally documented

comfyui-sortlist
Set Values From Panel

A labeled config block for a batch anime-conversion job

HuyL3/Utilities
Set Value With Path

Set Value With Path

comfyui-sortlist
Simple For Loop End A100

Closing the loop you opened with Start

comfyui-sortlist/flow
Simple For Loop Start A100

Giving ComfyUI's graph an actual loop

comfyui-sortlist/flow
Simple While Close

Where the loop actually decides whether to keep going

comfyui-sortlist/flow
Simple While Open

A real loop primitive, hiding in an otherwise very personal node pack

comfyui-sortlist/flow
Sort List String

The node that gives this whole pack its name

custom/sortlist
Split MP3 (7min segments)

Bare-bones, hardcoded 7-minute chunks, no report on what it did

comfyui-sortlist
Split MP3 V2 (3min segments) Ξ“Β£Γ©βˆ©β••Γ…

Configurable chunk length, a real list output, and it leaves short files alone

utils
Steganography: Embed String in Alpha

Embed String in Alpha β€” hide text in a PNG's alpha channel

custom/steganography
Steganography: Extract String From Alpha

Extract String From Alpha β€” read back what steg_alpha_embed hid

custom/steganography
Steganography: Extract String From Colors (RGB)

Extract String From Colors (RGB) β€” no matching embed node in this pack

custom/steganography
String Extract Keywords

The display name and the actual class name disagree

custom/sortlist
String Concat Multi πŸ”€

Ten fixed string slots instead of a fiddly dynamic input widget

sortlist/value
πŸ”— Tunnel Auto Reconnect

πŸ”— Tunnel Auto Reconnect

SortList/Utils
Set Value

Set Value (VF9)

comfyui-sortlist
Extract Video Path from VHS_FILENAMES

Bridging Video Helper Suite into a plain string

SortList/Video
Video Frame Guard (<=210 frames)

A VHS_-prefixed node that has nothing to do with Video Helper Suite

SortList/Video
Pick Video With Min Frames

Find your bottleneck clip before a batch operation

SortList/Video
Video Audio Concat from URL

Not concatenation β€” it's muxing an audio track onto video

video
Video Cut to 8s Segments

Video Cut to 8s Segments

video
Video Dir Combiner

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

video
Video Dir Combiner PRO++ ULTRA (Image Only)

Same job, louder name, no license key

custom/protect_ultra
Video Mute (Remove Audio) from URL

Strip the soundtrack before you touch it

video
Video Scene Splitter

Cuts on visual changes, not fixed intervals β€” looks like a PySceneDetect wrapper

video/split
Video Sync Concatenate (Side by Side)

Stitching two clips without them drifting apart

sortlist
Wan Frame Window Size 🎞️

The math behind chunking a long WanAnimate clip

utils
Wan Trim Frames βœ‚οΈ

Cropping off the padding Wan's 4n+1 rule leaves behind

utils
Readme

ComfyUI-SortList

Custom nodes for ComfyUI with video processing utilities.

Installation

Google Colab

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

Update to Latest Version

On Google Colab

Method 1: Quick Update (Recommended)

cd /content/ComfyUI/custom_nodes/comfyui-sortlist
git pull origin main

Method 2: Using Update Script

cd /content/ComfyUI/custom_nodes/comfyui-sortlist
bash update_colab.sh

After updating:

  1. Restart Runtime: Runtime β†’ Restart Runtime
  2. Re-run ComfyUI startup cells
  3. Nodes will be updated!

Nodes

Video Cut to 8s Segments

Cuts large videos into smaller segments with customizable duration.

Features:

  • βœ… Auto FPS detection
  • βœ… Frame-accurate cutting
  • βœ… Guaranteed output: H.264, MP4, YUV420P
  • βœ… Auto-fallback: GPU β†’ CPU encoding
  • βœ… Parallel processing

Parameters:

  • video_url: Path to input video
  • segment_duration: Segment length in seconds (default: 8)
  • output_prefix: Output filename prefix (default: "a")
  • use_gpu: Try GPU encoding first (default: true, auto-fallback to CPU)
  • accurate_cut: Accurate seeking (default: true)
  • parallel_workers: Number of parallel workers (default: 4)

Outputs:

  • videos_list: List of output video paths
  • output_directory: Path to output directory (videos_cut/)

Example:

Input: video.mp4 (268.2s, 25 FPS)
segment_duration: 8s
Output: 34 segments (33 Γ— 8.0s + 1 Γ— 4.2s)

Recent Updates

v1.1 (2026-01-26)

  • βœ… Added auto-fallback from GPU to CPU encoding
  • βœ… Enhanced error logging for better debugging
  • βœ… Fixed NVENC compatibility on Google Colab
  • βœ… Improved terminal output compatibility
  • βœ… Added diagnostic tools

License

MIT