Nodes/ComfyUI-JDCN/JDCN_VHSFileMover
ComfyUI Node

JDCN_VHSFileMover

Grab the video VHS just rendered and park it where you want

By daxcayΒ·Created 2 years agoΒ·Updated about a year agoΒ· 159
JDCN_VHSFileMover
  • FileNames
  • FilePaths
β—„OutputDirectorydirectory pathβ–Ί
β—„OverwriteFilefalseβ–Ί

JDCN_VHSFileMover is the video-specific cousin of JDCN_FileMover. Instead of taking a generic list of paths, it plugs directly into the filename output of VideoHelperSuite's video combine node and moves the finished file to a folder you choose. One wire in, one queue run, and your rendered MP4 is sitting in the output directory you actually want it in.

Why it exists

If you render videos with VideoHelperSuite (VHS), you know the flow: the VHS_VideoCombine node writes to a subfolder of output/, and keeping track of which run landed where gets old fast, especially when you're doing several takes per session. This node takes VHS's filename output - the VHS_FILENAMES type, which carries both names and full paths - and moves the file to a directory of your choosing, creating that directory if it's missing.

Inputs

  • FileNames - the VHS_FILENAMES output, wired straight from your VHS_VideoCombine node. Nothing else will fit; the input type is specific to VHS.
  • OutputDirectory - destination folder. Created automatically if absent.
  • OverwriteFile - on collision: off renames the incoming file (_1, _2…), on replaces the existing one.

It's an output node, so it's the end of the line: wire the combine's filename output in, queue, and your file moves. There's a FilePaths output on the schema that echoes the paths it processed, but the point is the move, not the return value.

The dependency to know about

This node only works if VideoHelperSuite is installed - it doesn't define VHS_FILENAMES itself, it consumes it. If the input socket is dead or the node errors with a missing type, that's why. Install VHS through Manager ("VideoHelperSuite") alongside this pack, then restart. Everything else about this pack is dependency-light - piexif only - but this one node assumes you've already got VHS in your graph, which you almost certainly do if you're rendering videos in ComfyUI.

Installing it

ComfyUI-JDCN via Manager (search JDCN) or:

cd ComfyUI/custom_nodes
git clone https://github.com/daxcay/ComfyUI-JDCN.git
cd ComfyUI-JDCN
pip install -r requirements.txt

Restart, then look under πŸ”΅ JDCN πŸ”΅. No model downloads.

Common issues

Same "it's a move, not a copy" warning as the generic FileMover - the source is gone after the run. Also, VHS can still be writing/holding the file when the mover runs; if you get a "file in use" error on Windows, make sure the combine node has fully finished (it should, since graph order guarantees it, but slow disks can cause tears). And if you toggle OverwriteFile on, remember the last run wins - fine for take-mashing, bad if you wanted to keep every render. When in doubt, leave overwrite off and let the renamer do its thing.

CategoryπŸ”΅ JDCN πŸ”΅

Inputs (3)

NameTypeDefaultDescription
FileNamesVHS_FILENAMESβ€”
OutputDirectorySTRINGdirectory pathβ€”
OverwriteFileBOOLEANfalseβ€”

Outputs (1)

NameTypeDescription
FilePathsSTRINGβ€”