fix(music-lab): pipeline 오디오 경로 + ffmpeg 에러 가시성
- orchestrator._run_video: track.file_path 우선 사용 (audio_url 변환 불필요) - _local_path: /media/music/ → /app/data/ (마운트가 /app/data 직접이라 music 서브디렉토리 없음) - video.py/thumb.py: stderr truncation [-800:]/[-500:] — 진짜 에러 보이게
This commit is contained in:
@@ -21,7 +21,7 @@ def generate(*, pipeline_id: int, video_path: str,
|
||||
"-ss", "00:00:05", "-vframes", "1", "-q:v", "2", out_path]
|
||||
result = subprocess.run(cmd, capture_output=True, text=True, timeout=THUMB_TIMEOUT_S)
|
||||
if result.returncode != 0:
|
||||
raise ThumbGenerationError(f"ffmpeg 썸네일 실패: {result.stderr[:300]}")
|
||||
raise ThumbGenerationError(f"ffmpeg 썸네일 실패: {result.stderr[-500:]}")
|
||||
|
||||
if overlay_text and track_title:
|
||||
_overlay_title(out_path, track_title)
|
||||
|
||||
Reference in New Issue
Block a user