ComfyUI Node
H3MD Save Video Interp
Saves the H3MD Loop result straight from its segment cache (mp4 H.264/H.265 + AAC, gif, webp or a PNG sequence), chunk by chunk (automatic size from free VRAM / RAM) - RAM never holds the whole clip. Optional RIFE interpolation (ComfyUI-VFI's model and options). Replaces RIFE Frame Interpolation + Video Combine / Create Video + Save Video after H3MD Loop.
H3MD Save Video Interp
- segments
- video_path
- frame_count
- video
- preview
◄filename_prefixvideo/H3MD►
◄output_folder►
◄interpolatefalse►
◄target_fps24.0►
◄scale1.00►
◄model_nameflownet.pkl►
◄batch_size8►
◄use_fp16true►
◄formatvideo/h264-mp4►
◄pix_fmtyuv420p►
◄crf19►
◄loop_count0►
◄trim_to_audiofalse►
◄save_metadatatrue►
◄save_outputtrue►
◄delete_cache_after_savefalse►
CategoryMiniMax H3/H3MD
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| segments | H3MD_SEGMENTS | long video: H3MD Loop Sampler output 'long video'. | |
| filename_prefix | STRING | video/H3MD | Like SaveVideo: <prefix>_00001_.mp4 (subfolders allowed, %date% vars). |
| output_folder | STRING | Empty = ComfyUI's output folder. Otherwise an absolute folder. | |
| interpolate | BOOLEAN | false | On: RIFE frame interpolation (ComfyUI-VFI's model) 24 fps -> target_fps. Off: the H3MD frames are written unchanged (the RIFE options below are greyed out). |
| target_fps | FLOAT | 24.01–240 | Frame rate of the saved file. interpolate on: RIFE target (e.g. 30, 48, 60). interpolate off: the file is still written at this rate - anything but 24 plays faster/slower than real time and the audio no longer matches (warned in the log). |
| scale | FLOAT | 1.000.25–4 | RIFE flow processing scale. Lower values process faster but may reduce quality (output size is unchanged). |
| model_name | COMBO | flownet.pkl | RIFE model (ComfyUI-VFI's list / locations / auto download). |
| batch_size | INT | 81–32 | Frames interpolated in parallel (VRAM). |
| use_fp16 | BOOLEAN | true | Half precision RIFE (CUDA only). |
| format | COMBO | video/h264-mp4 | h264/h265-mp4: video + AAC audio. gif / webp: animated image, no audio. png-sequence: a folder of numbered PNGs, no audio. Every format is written chunk by chunk. |
| pix_fmt | COMBO | yuv420p | h264/h265-mp4 only. yuv420p = plays everywhere; yuv420p10le = 10 bit (less banding, not every player). |
| crf | INT | 190–51 | h264/h265-mp4 only. Quality (default 19 like Video Combine; lower = better/larger). |
| loop_count | INT | 00–100 | gif / webp only: 0 = loop forever, n = play n more times (like Video Combine). |
| trim_to_audio | BOOLEAN | false | h264/h265-mp4 only: end the video with the audio (like Video Combine). |
| save_metadata | BOOLEAN | true | Embed the prompt + workflow (like Video Combine): mp4 tags, first PNG of a sequence; gif / webp: an extra <file>.png first frame carries them. |
| save_output | BOOLEAN | true | On: save into the output folder (or output_folder). Off: ComfyUI's temp folder (cleared on restart) - still previewable below. |
| delete_cache_after_save | BOOLEAN | false | Delete the H3MD segment cache after the video file was fully written. Off (default): keep it, e.g. to re-render single segments with resume_from_cache or to save again. The folder is shown below. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | — |
| frame_count | INT | — |
| video | VIDEO | — |
| preview | H3MD_VIDEO_PREVIEW | — |