ltx23_encode_video_frames

Encode pixel frames to normalized video latents

Description

VAE encode in “argmax” mode (the distribution mean), then normalize with the checkpoint’s per-channel statistics — the exact inverse of the decode path.

Usage

ltx23_encode_video_frames(vae, frames)

Arguments

  • vae: An ltx23_video_vae.
  • frames: Tensor [1, 3, F, H, W] in [-1, 1] (see ltx23_preprocess_frames).

Value

Normalized latents [1, 128, F’, H/32, W/32] (float32).