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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user