Files
xiaoxia-saas/apps/worker
CI Bot 9a2eb0ca60
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 5s
AI Code Review / AI Code Review (pull_request) Failing after 34s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 51s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 40s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 1m28s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 25s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 1m50s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m48s
fix(P0): legacy渲染引擎补全5项normalize + 错误日志增强
背景:one_take模式用横屏+不同编码/采样率的素材渲染exit=234崩溃。
根因是concat前视频/音频格式不完全统一,且错误日志只输出版本号看不到真正报错。

修复1 — 视频像素格式统一:
- _build_clip_filter 加 format=yuv420p,放在pad之后fps之前
- 确保 concat 前所有片段像素格式一致(yuv420p/yuv422p/yuv444p/nv12等都统一)

修复2 — xfade路径音频归一化:
- _build_xfade_filter 的音频concat前加 aformat 归一化(48000Hz+stereo+fltp)
- 之前只修了concat路径,xfade(转场)路径漏了

修复3 — legacy渲染错误日志增强:
- 失败时输出完整 ffmpeg 命令(前2000字符)
- 输出完整 stderr 最后1500字符(真正的错误信息)
- 输出 exit code
- 之前只输出版本号,完全看不到 concat 失败的真实原因

测试:新增3个单测(format=yuv420p、xfade音频归一化、xfade单音频acopy),42个相关单测全过

关联:#406
2026-07-18 14:27:56 +08:00
..
2026-06-15 15:17:40 +08:00
2026-06-15 15:17:40 +08:00

xiaoxia-saas Worker

结构

  • worker_app/core/worker 配置
  • worker_app/celery_app.pyCelery 应用入口
  • worker_app/tasks/:任务模块
  • main.py:本地调试入口

当前任务

  • worker.healthcheck