Trailer: HUD takes showed the phone's screen; cut.py renders in parallel

- The trailer, BotCapture and PhoneScreen picked "any" UIDocument; since the phone has
  its own (drawn into its screen in the hand) the first-person takes captured the
  phone's home screen instead of the HUD. They take UIRoot's document now.
- cut.py renders a whole film in GC_CUT_WORKERS processes (20 by default), each a
  stretch of frames as near-lossless x264, joined and encoded once on NVENC with the
  sound. Shake and grain are seeded by frame, so the result does not depend on the
  split. Main trailer 57 -> 13 min.
- polden.py and story.py read the single rolls folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
NiemandKG
2026-12-01 21:31:02 +06:00
parent 9f6b749bad
commit dd0430048b
6 changed files with 62 additions and 14 deletions

View File

@ -16,7 +16,7 @@ import numpy as np
from cut import PROJECT, SR, Logo, Shot, Type, decode
from looks import AUDIO, GOLD, HOT, LOGO, NIGHT, PLAY, SPACE, clip # noqa: F401
ROLLS = os.path.join(PROJECT, r"Builds\Trailer\rolls3")
ROLLS = os.path.join(PROJECT, r"Builds\Trailer\rolls")
OUT = os.path.join(PROJECT, r"Builds\Trailer\story")
os.makedirs(OUT, exist_ok=True)
PUNCH, SHAKE, ABERRATE = 0.006, 1.2, 0.6