Nodes/comfyui-timesaver/TS Video Saver
ComfyUI Node

TS Video Saver

Save frames as a video file. H.264/MP4 for sharing, ProRes/MOV for editing. Audio is muxed in the same pass, and a player shows the result right in the node.

By AlexYez·Created 2 years ago·Updated 3 days ago· 11
TS Video Saver
  • images
  • audio
  • video
  • hdr_image
  • video
  • path
fps24.00
filename_prefixvideo/TS
format
encodersoftware
save_metadatatrue
previewauto
CategoryTS/Video

Inputs (10)

NameTypeDefaultDescription
fpsFLOAT24.000.01–240Frame rate of the saved file.
filename_prefixSTRINGvideo/TSWhere to save, relative to the output folder. Subfolders are created for you. Date tokens work anywhere in the path — %date:yyyy-MM-dd% and %date:hhmmss% (yyyy yy MM M dd d hh h mm m ss s), as do ComfyUI's own %year% %month% %day% %hour% %minute% %second% %width% %height%. Example: videos/my-run/my-run-%date:yyyy-MM-dd%_%date:hhmmss%
formatCOMBOContainer and codec. Quality is written in words, not encoder flags.
encoderCOMBOsoftwareHardware encoding is much faster but noticeably worse at the same file size, so it is never chosen for you.
save_metadataBOOLEANtrueEmbed the prompt and workflow into the file, the way PNGs carry them.
previewCOMBOautoauto shows the result in the node, making a small H.264 proxy when the saved format is not playable in a browser.
imagesoptIMAGEFrames to save. Leave empty when a video is connected instead.
audiooptAUDIOAudio track. Trimmed or padded to the length of the video.
videooptVIDEORe-save an existing video instead of frames. Streams straight from the file, so nothing is held in memory.
hdr_imageoptTS_LTX_HDR_IMAGEScene-linear master from TS LTX HDR Decode. Used by the EXR sequence format, which writes it without touching the range. Ordinary IMAGE inputs are clamped to 0..1 before they get here, which is why the master needs its own socket.

Outputs (2)

NameTypeDescription
videoVIDEOThe saved file, as a VIDEO reference.
pathSTRINGFull path of the saved file.