Nodes/comfyui_videofillergrid/VideoFillerGrid Assemble
ComfyUI Node

VideoFillerGrid Assemble

Assemble clips and generated fillers into one video, following an order list of 'clipIndex,fillerIndex' lines. Streams straight to the encoder: memory is flat in duration and no intermediate files are written.

By bmad4ever·Created 4 days ago·Updated 4 days ago· 0
VideoFillerGrid Assemble
  • clips
  • fillers
  • path
order
seconds20.0
filename_prefixvideo/VideoFillerGrid
crf18
presetveryfast
save_sourcestrue
Categoryvideo

Inputs (8)

NameTypeDefaultDescription
clipsVIDEOThe source clips, in loader order.
fillersVIDEOThe N*N fillers, in cartesian order.
orderSTRINGOne 'clipIndex,fillerIndex' per line.
secondsFLOAT20.00–86400Length of the final cut; the walk is truncated to exactly this. Set 0 to write every unit whole instead - required for a looping cut, where clipping the closing filler would break the join back to the start.
filename_prefixSTRINGvideo/VideoFillerGridPath prefix under the output folder. A counter and .mp4 are appended, so 'video/Foo' becomes output/video/Foo_00001_.mp4.
crfoptINT180–51H.264 quality. Lower is better and bigger; each +6 roughly halves the file size. 0 is lossless, 18 is near-transparent, 23 is x264's own default, above ~28 gets visibly soft. Only affects the final video.
presetoptCOMBOveryfastHow hard x264 works to hit the CRF quality. Slower presets give the same look in a smaller file, but take longer to encode; quality is set by CRF, not by this. veryfast suits long cuts, slow is for a final master.
save_sourcesoptBOOLEANtrueAlso write the N*N fillers and the order file into a <name>_sources folder beside the video. They are not needed for the cut, only to re-cut it to another length without regenerating. Turn off to write the video alone.

Outputs (1)

NameTypeDescription
pathSTRING