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.

Accept a single sound-led part whose length is not on the picture grid, so a sound range of any...

Bowen Xue0c1778569b6d
diff --git a/freevideo_engine/adaptive.py b/freevideo_engine/adaptive.py
index 9963b8e..beb0fad 100644
--- a/freevideo_engine/adaptive.py
+++ b/freevideo_engine/adaptive.py
@@ -785,6 +785,11 @@ def complete_observation(metrics, canvas, output, artifacts, telemetry):
output_frames = (count * canvas['fps'] + rate - 1) // rate
if hidden or not 0 < output_frames <= expected:
raise ValueError('Original audio exceeds the generated canvas')
+ if isinstance(original_audio.get('segment'), dict):
+ # A chain part keeps its whole picture grid; the join trims the tail.
+ output_frames = expected
+ if hidden or not 0 < output_frames <= expected:
+ raise ValueError('Original audio exceeds the generated canvas')
if continuation is not None:
from .continuation import OVERLAP_FRAMES
if (not isinstance(continuation, dict) or continuation.get('overlap_frames') != OVERLAP_FRAMES