Better voices

This commit is contained in:
Andras Schmelczer 2026-07-15 22:42:27 +01:00
parent df02ffd9c0
commit 362b96b8ee
3 changed files with 145 additions and 21 deletions

View file

@ -14,11 +14,13 @@
# bootstrap step; you supply real account credentials.
#
# Usage:
# ./render.sh # local stack, English homepage landscape + portrait
# ./render.sh --prod # prod, English homepage landscape + portrait
# ./render.sh # local stack, EVERY video (see the set below)
# ./render.sh --prod # prod, every video
# ./render.sh --target prod # same as --prod
# VIDEO_STORYBOARD_SET=ads ./render.sh --prod # render social ads instead
# VIDEO_STORYBOARD_SET=demo ./render.sh --prod # render every homepage locale
# VIDEO_STORYBOARD_SET=homepage-en ./render.sh # just the English homepage cut
# VIDEO_STORYBOARD_SET=ads ./render.sh --prod # just the social ads
# VIDEO_STORYBOARD_SET=demo ./render.sh --prod # just the homepage locales
# VIDEO_STORYBOARD_SET=twins ./render.sh --prod # just the cheaper-twin ads
# ./render.sh --fresh-auth # force re-auth even if cache is fresh
# ./render.sh --resume # preserve completed recordings and continue
# ./render.sh --no-encode # stop at WebM, skip MP4 encode
@ -37,6 +39,17 @@
set -euo pipefail
# -- storyboard set -----------------------------------------------------------
# A bare ./render.sh means "re-render the videos", so it renders all of them:
# every ad, every cheaper-twin ad, and every homepage locale in both aspects.
# It used to default to the English homepage pair alone, which left everything
# else to drift until someone remembered to set this by hand. Narrow it with
# VIDEO_STORYBOARD_SET (the sets are enumerated in src/storyboard.ts, which
# rejects an unknown name rather than guessing). Nothing here is cheap: this is
# 23 storyboards, so expect a long run and reach for a narrower set when you
# only changed one video.
export VIDEO_STORYBOARD_SET="${VIDEO_STORYBOARD_SET:-all}"
# -- target -------------------------------------------------------------------
TARGET="${TARGET:-local}"
parsed_args=()