ComfyUI Node
Save Media ⤵️
Saves images and/or audio to a file popular media formats. Also see the Load Media node, which does the reverse-- loads a media file and provides images and audio.
Save Media ⤵️
- images
- audio
◄filename_prefixMediaOut►
◄formatmp4►
◄video_codeclibx264►
◄audio_codecaac►
◄pix_fmtyuv420p►
◄crf23►
◄presetmedium►
◄tunenone►
◄fps24►
◄audio_sample_rate48000►
◄width0►
◄height0►
◄input_image_shapeB-H-W-C►
◄save_metadatatrue►
Categorymedia
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| filename_prefix | STRING | MediaOut | — |
| format | COMBO | mp4 | 14 options: aac, apng, avi, flac, gif, mjpeg, +8 |
| video_codec | COMBO | libx264 | 30 options: av1, av1_amf, av1_nvenc, av1_qsv, dirac, ffv1, +24 |
| audio_codec | COMBO | aac | 23 options: aac, ac3, ac3_fixed, alac, eac3, flac, +17 |
| pix_fmt | COMBO | yuv420p | 99 options: amf, argb, bgr0, bgr24, bgra, cuda, +93 |
| crf | INT | 231–51 | — |
| preset | COMBO | medium | 8 options: ultrafast, superfast, veryfast, faster, fast, medium, +2 |
| tune | COMBO | none | 7 options: film, animation, grain, stillimage, fastdecode, zerolatency, +1 |
| fpsopt | FLOAT | 241–1000 | — |
| audio_sample_rateopt | INT | 480000–192000 | — |
| imagesopt | IMAGE | — | |
| audioopt | AUDIO | — | |
| widthopt | INT | 0 | — |
| heightopt | INT | 0 | — |
| input_image_shapeopt | COMBO | B-H-W-C | 2 options: B-H-W-C, B-C-H-W |
| save_metadataopt | BOOLEAN | true | — |
Outputs (0)
No outputs