Fixes / Video: MiniMax H3 and LTX 2.5

Fix · 2 min

Audio out of sync after interpolation, upscaling or stitching

The H3 clip had speech on the lips. After frame interpolation, a chunked upscale or a continuation, the voice is early or late, and it gets worse toward the end.

MiniMax H3 generates audio with its pictures, and every step after that is a chance to lose sync. The pattern of the drift tells you which step did it: a constant offset is a trim mismatch, an offset that grows with the clip is a frame-rate mismatch.

Rule 1: the audio is the master

Never regenerate audio downstream and never let a tool re-time it. Carry the original track through to the final CreateVideo node untouched and change only the frames. If a step cannot carry audio (some upscalers output images only), split it off with GetVideoComponents, process the frames, and mux the original audio back at the end.

Rule 2: frames × frame rate must stay equal

  • Frame interpolation. RIFE at multiplier 2 turns 73 frames into 145. If CreateVideo is still at 24 fps, the clip is now twice as long as its audio and speech falls behind within a second. Set the output to 48 fps, or whatever multiple you interpolated by. Change the multiplier, change the fps.
  • Chunked upscaling. A correct crossfade replaces the overlapped frames and adds none. A home-built chunker that concatenates without dropping the overlap adds frames at every seam, and sync drifts progressively worse toward the end. This is the most common self-inflicted version.
  • Trimming. H3 needs 8n+1 frames. Trim 100 frames to 97 for the upscaler and you must trim the audio by the same 3/24 of a second, or trim from the end.

Rule 3: continuations cut on silence

Flow Continuation takes the last frame as the first frame of the next generation, and the new segment generates its own audio from silence at the cut. There is no audio overlap to crossfade, so the join is a hard cut in sound even when the picture is seamless. Put continuations on natural pauses by choosing segment lengths, or lay music over the whole piece. A fixed seed and a consistent opening word per segment keep the voice stable across joins.

Rule 4: mux with stream copy and measure

ffmpeg -i frames.mp4 -i original.mp4 -map 0:v -map 1:a -c:v copy -c:a copy -shortest out.mp4
ffprobe -show_entries stream=codec_type,duration -of csv=p=0 out.mp4

Video and audio durations should agree within one frame (0.042 s at 24 fps). Add -map_metadata -1 on export: ComfyUI writes the whole workflow JSON into the mp4's comment tag.

Rule 5: watch a consonant

Music forgives 100 ms. Find a "p" or "b" in speech and step through frames: the lips should close on the frame the sound starts. One frame early at the start and three at the end is a frame-rate mismatch. A constant offset is a trim mismatch.

Go deeper

The Pro lesson Keeping audio in sync when you stitch. The Frame Interpolation and Long Video Upscale workflows carry audio through correctly.

More in Video: MiniMax H3 and LTX 2.5.

  1. Brightness jumps at every join when extending an H3 clipEach continuation looks fine on a phone. Scrub through and the frames after every join sit slightly darker, like a lighting change, and over a long chain the colour drifts.
  2. H3 copies the background and clothes from the reference photoYour character is on a yacht, standing in her bathroom. The red dress from the reference turns up in the kitchen scene. The identity fades by the end of a longer clip.
  3. MiniMax H3 stills are soft, smeared or slightly blurredA portrait from a reference-to-video run looks fine as a thumbnail and soft at 100%: the hair has drifted, the face carries a faint motion blur, the detail is not there.
  4. LTX 2.5 video upscale runs out of memory, or shows a seam every three secondsA clip longer than about three seconds fails with out-of-memory on a 48 GB card, or quietly degrades. Chunking it yourself leaves a visible jump in grain and colour at every join.