Skip to content

Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.

Reference audio encoding without a resident engine imports its VAE loader again

Bowen Xuee457810eae07
diff --git a/freevideo_engine/media_encoding.py b/freevideo_engine/media_encoding.py
index 9cc4c84..2c7255b 100644
--- a/freevideo_engine/media_encoding.py
+++ b/freevideo_engine/media_encoding.py
@@ -534,6 +534,7 @@ def encode_latents(normalized, value, base, canvas, *, resident=None, device='cu
empty_cache()
if any(row.get('audio') for row in normalized):
print(json.dumps({'event': 'media_encode_phase', 'phase': 'Encoding reference audio'}), flush=True)
+ from .vae_weights import load_audio_vae
vae = (resident.input_audio_encoder(base, canvas, device=device)
if resident is not None and torch.device(device).type != 'mps' else
load_audio_vae(base, device=device)[0])