feat(#632): 配音素材库音频架构统一,迁移到audio图层混音 (#750)
CI/CD Pipeline / Frontend Lint (push) Failing after 27s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 26s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 32s
CI/CD Pipeline / Build Staging API Image (push) Failing after 38s
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 16s
CI/CD Pipeline / Validate - Code Quality (push) Failing after 5m47s
CI/CD Pipeline / Unit Tests (push) Failing after 13m52s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 25m38s
CI/CD Pipeline / Integration Tests (push) Successful in 29m31s
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 44m4s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1324h12m48s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 1324h12m40s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1324h13m18s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1324h13m20s
CI/CD Pipeline / PR Build Web Image (push) Failing after 1324h13m24s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1324h13m25s
CI/CD Pipeline / PR Build API Image (push) Failing after 1324h45m44s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 1324h45m44s
CI/CD Pipeline / Build Production API Image (push) Failing after 1324h45m42s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1324h45m2s
CI/CD Pipeline / Deploy Production (push) Failing after 1324h45m10s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1324h45m2s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1324h45m4s
CI/CD Pipeline / Frontend Lint (push) Failing after 27s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 26s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 32s
CI/CD Pipeline / Build Staging API Image (push) Failing after 38s
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 16s
CI/CD Pipeline / Validate - Code Quality (push) Failing after 5m47s
CI/CD Pipeline / Unit Tests (push) Failing after 13m52s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 25m38s
CI/CD Pipeline / Integration Tests (push) Successful in 29m31s
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 44m4s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1324h12m48s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 1324h12m40s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1324h13m18s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1324h13m20s
CI/CD Pipeline / PR Build Web Image (push) Failing after 1324h13m24s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1324h13m25s
CI/CD Pipeline / PR Build API Image (push) Failing after 1324h45m44s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 1324h45m44s
CI/CD Pipeline / Build Production API Image (push) Failing after 1324h45m42s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1324h45m2s
CI/CD Pipeline / Deploy Production (push) Failing after 1324h45m10s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1324h45m2s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1324h45m4s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
This commit was merged in pull request #750.
This commit is contained in:
@@ -483,6 +483,7 @@ class RenderAdapter:
|
||||
progress_cb: ProgressCallback | None = None,
|
||||
rendered_clip_ids: list[str] | None = None,
|
||||
failed_clip_ids: list[str] | None = None,
|
||||
voiceover_audio_path: str | None = None,
|
||||
) -> RenderAdapterResult:
|
||||
"""执行统一渲染核心流程(BGM + ASR + 渲染 + 缩略图 + 上传)。
|
||||
|
||||
@@ -491,6 +492,7 @@ class RenderAdapter:
|
||||
Args:
|
||||
rendered_clip_ids: 成功下载/准备的 clip id 列表(render_plan 从下载阶段传入)
|
||||
failed_clip_ids: 失败的 clip id 列表
|
||||
voiceover_audio_path: 配音素材库音频本地路径(一键生成场景使用)
|
||||
|
||||
Returns:
|
||||
RenderAdapterResult
|
||||
@@ -525,6 +527,7 @@ class RenderAdapter:
|
||||
output_height=output_height,
|
||||
bgm_path=bgm_path,
|
||||
asr_service=asr_service,
|
||||
voiceover_audio_path=voiceover_audio_path,
|
||||
)
|
||||
result = render_svc.render()
|
||||
|
||||
@@ -593,6 +596,7 @@ class RenderAdapter:
|
||||
job_id: str = "",
|
||||
work_dir: Path | None = None,
|
||||
progress_cb: ProgressCallback | None = None,
|
||||
voiceover_audio_path: str | None = None,
|
||||
) -> RenderAdapterResult:
|
||||
"""使用内存中的 plan/clips/asset_path_map 直接渲染。
|
||||
|
||||
@@ -606,6 +610,7 @@ class RenderAdapter:
|
||||
job_id: 关联的 Job ID
|
||||
work_dir: 工作目录,不传则用临时目录
|
||||
progress_cb: 进度回调
|
||||
voiceover_audio_path: 配音素材库音频本地路径
|
||||
|
||||
Returns:
|
||||
RenderAdapterResult
|
||||
@@ -649,6 +654,7 @@ class RenderAdapter:
|
||||
plan_id=actual_plan_id,
|
||||
job_id=job_id,
|
||||
progress_cb=progress_cb,
|
||||
voiceover_audio_path=voiceover_audio_path,
|
||||
)
|
||||
|
||||
except subprocess.CalledProcessError as exc:
|
||||
|
||||
Reference in New Issue
Block a user