Skip to content

[bug] videoretalk 必现 InternalError.Algo(utf-8 codec 崩溃,与请求参数无关) #338

Backlog

Description

@bsmehj

Environment

  • CLI: bl 2.10.1 (bailian-cli)
  • Skill: bailian-gen / bailian-protocol 2.10.1
  • Node: v26.13.0
  • OS: Windows 11 Home China 10.0.26200 (win32)
  • Region: cn-beijing (domestic)

Summary

videoretalk (声动人像) 模型提交任务后必现服务端算法侧失败:
task_status=FAILED, code=InternalError.Algo, message='utf-8' codec can't decode byte 0xc0 in position N: invalid start byte
(N 随音频文件格式不同而变:mp3→1310,wav→1374,但我的三个本地文件在对应偏移处均不是 0xc0,说明偏移指向服务端内部缓冲区,与请求参数无关)

Reproduce

  1. 上传合规素材至 DashScope 临时存储:
    • 视频 s1.mp4:90.23s, 1920x1078→1080p,H.264,yuv420p,30fps,无音轨,85.7MB(<300MB)
    • 音频 a1.mp3 / a1.wav:86s,44100Hz stereo(<120s, <30MB)
    • 参考图 test.jpg:42KB,正脸人像
  2. 提交任务:
# API Key 与临时文件均为同一主账号;oss:// URL 已按文档添加请求头
curl -X POST 'https://dashscope.aliyuncs.com/api/v1/services/aigc/image2video/video-synthesis' \
  -H 'Authorization: Bearer [REDACTED]' \
  -H 'X-DashScope-Async: enable' \
  -H 'X-DashScope-OssResourceResolve: enable' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "videoretalk",
    "input": {
      "video_url": "oss://dashscope-instant/.../s1.mp4",
      "audio_url": "oss://dashscope-instant/.../a1.wav",
      "ref_image_url": "oss://dashscope-instant/.../test.jpg"
    },
    "parameters": {"video_extension": false}
  }'

返回 HTTP 200 + task_status=PENDING,随后任务处理阶段失败:

GET /api/v1/tasks/{task_id}
{
  "output": {
    "task_status": "FAILED",
    "code": "InternalError.Algo",
    "message": "'utf-8' codec can't decode byte 0xc0 in position 1374: invalid start byte"
  }
}

Expected

任务 SUCCEEDED,返回 video_url(口型对齐视频)。

Actual

任务在算法处理阶段必现失败,错误为服务端 Python 侧 UTF-8 解码二进制数据的崩溃,与输入参数无关。

Failure task IDs (traceable via request logs)

# 音频格式 task_id 错误
1 mp3 fc1346ad-7605-4926-92d0-72e141e31552 byte 0xc0 @ position 1310
2 mp3 152f8f73-399e-4708-87a7-41ab51354ba6 byte 0xc0 @ position 1310
3 mp3 e731c405-cbe8-4a6e-b705-e7d2ba22aa56 byte 0xc0 @ position 1310
4 wav ced31add-d517-4a39-a67c-1b99536ffd7d byte 0xc0 @ position 1374
5 wav 2dbed6d6-8bdb-4d62-9097-54e7ebcff2b8 byte 0xc0 @ position 1374
6 wav 1e44aa5c-2d45-47d7-9e49-b37fd0437629 byte 0xc0 @ position 1374

request_id 示例:e1c3e4ef-a4de-9525-93b1-d1f1e196648c

Already tried

  • 音频由 mp3 换 wav(文档支持的格式),偏移 1310→1374,仍同错
  • 3 个不同视频/音频组合(s1/a1、s2/a2、s3/a3)均复现
  • 本地校验输入文件均合规(尺寸/时长/编码/边长符合文档限制)
  • 2026-11-24 13:30–13:45 间 6 次连续复现(必现,非偶发)

Notes

  • Frequency: always(6/6)
  • Invoked via: Python requests(HTTP API,非 bl CLI 子命令;bl 当前无 videoretalk 子命令,仅 bl video generate/edit/ref)
  • 推测:模型服务端在解码某个(可能是参考图或模型内部权重/配置)二进制资源时错误地按 UTF-8 解析,属服务端部署/代码缺陷,客户端无法规避
  • 影响:该模型为免费额度内唯一对口型(lip-sync)模型,当前完全不可用

Activity

  1. linked a pull request that will close this issueAdd video retalk and style commands #343on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions