diff --git a/voicevox-remotion-template/src/pizza-kiln-composition.tsx b/voicevox-remotion-template/src/pizza-kiln-composition.tsx index 722e762..21ce731 100644 --- a/voicevox-remotion-template/src/pizza-kiln-composition.tsx +++ b/voicevox-remotion-template/src/pizza-kiln-composition.tsx @@ -31,6 +31,10 @@ } from "./lipsync/LipSyncedStandeeImage"; const BACKGROUND_VIDEO_PATH = "video/pizza-kiln-background.mp4"; +const CORNER_STANDEE_WIDTH = 420; +const CORNER_STANDEE_HEIGHT = 360; +const CORNER_IMAGE_WIDTH = 470; +const CORNER_IMAGE_HEIGHT = 705; const clampInterpolation = { extrapolateLeft: "clamp", @@ -126,18 +130,21 @@ ? getMouthForSpeechFrame(speechId, localFrame, fps) : "rest"; const isCorner = mode === "corner"; + const frameWidth = isCorner ? CORNER_STANDEE_WIDTH : 560; + const frameHeight = isCorner ? CORNER_STANDEE_HEIGHT : 700; return (