fix:튜토리얼 자막을 하단 한줄로 변경 (중앙 3줄 → 하단 1줄)

- generateAssSubtitle()에 layout 파라미터 추가 (portrait/landscape)
- landscape 모드: PlayRes 1920x1080, 폰트 48pt, Alignment=2(하단 중앙)
- WrapStyle=2 (줄바꿈 없음) + maxCharsPerLine=999 → 한줄 유지
- BorderStyle=3 (반투명 배경 박스) → 가독성 확보
- MarginL/R=20 (좌우 여백 최소) → 최대한 길게
- TutorialVideoJob에서 'landscape' 레이아웃으로 호출

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-15 17:22:02 +09:00
parent 098bb3d4a8
commit c05ebab380
2 changed files with 35 additions and 7 deletions

View File

@@ -243,7 +243,7 @@ public function handle(
// ASS 자막 생성
$subtitlePath = "{$workDir}/subtitle.ass";
$videoAssembly->generateAssSubtitle($scenes, $subtitlePath, $narrationDurations);
$videoAssembly->generateAssSubtitle($scenes, $subtitlePath, $narrationDurations, 'landscape');
// 최종 MP4 합성
$finalOutputPath = "{$workDir}/final_tutorial.mp4";