32 lines
1014 B
Bash
Executable File
32 lines
1014 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Playreel 롱컷 — 게이트 ④ 승인 뒤, 게이트 ⑤(final_confirm) 직전까지.
|
|
# 사용: tests/run_playreel_after_gate4.sh <goods_id> [variant]
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
goods_id="${1:?사용: $0 <goods_id> [variant]}"
|
|
variant="${2:-v1}"
|
|
config="tests/test_result/playreel/nol_${goods_id}/layer_config.json"
|
|
|
|
run() { echo; echo "── $1 ──"; shift; uv run python -m "$@"; }
|
|
|
|
if [ ! -f "$config" ]; then
|
|
run "⑩ config 생성" tests.playreel.test_build_layer_config "$goods_id"
|
|
fi
|
|
run "⑩ hybrid" tests.playreel.test_hybrid_poster "$goods_id" "$config"
|
|
run "⑪ compose" tests.playreel.test_compose_long "$goods_id" "$variant"
|
|
|
|
cat <<EOF
|
|
|
|
══ 게이트 ⑤ final_confirm ══
|
|
longcut_${variant}.mp4
|
|
첫 프레임 = 포스터 원본
|
|
제목 온전
|
|
상세페이지 풀프레임 스크롤
|
|
캐스팅 스케줄 포함
|
|
엔드밴드 로고·CTA·QR
|
|
나레이션이 BGM에 안 묻힘
|
|
|
|
다시 만들 때는 variant 를 바꾼다.
|
|
EOF
|