Core already turns images into a video and writes the file, and handles containers, codecs and muxing properly. Writing our own would be a worse copy of tested code, so there is no FunPack save node and no reason for VHS either. What core cannot generalise is decoding a latent that is not one tensor: an AV latent has two branches wanting different VAEs, and their arrangement is the model's business. Same rule as the empty latent -- a model module may claim it, and H3 now does. A nested latent nobody claims is refused rather than handed to vae.decode, which would raise somewhere confusing or quietly decode one branch as the picture. A missing audio VAE is named, because returning no audio looks exactly like a model that makes none. With this the pipeline closes end to end using FunPack's eight nodes and core's samplers and video nodes -- verified by loading both together. That matters more than the node count: until now nothing FunPack produced could be measured, only reasoned about. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
11 lines
165 B
Python
11 lines
165 B
Python
"""Decode. A node-only module."""
|
|
|
|
from .nodes import FunPackDecode
|
|
|
|
ID = "output_decode"
|
|
TITLE = "Decode"
|
|
STAGE = "post"
|
|
STATUS = "proven"
|
|
|
|
NODES = [FunPackDecode]
|