cang-ying/experience/CA-EXP-D171.hdlp

45 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# HLDP-EXP-D171 · 铸渊ICE-GL-ZY001 · 经验库
# trigger: 视频AI生成流水线全流程踩坑与纠正
# emergence: Seedance 2.0 audio_url口型+FFmpeg后处理全套方案
# lock: 2026-07-07 · 7条经验 · 编号EXP-D171-001→007
# why: 苍耳要求每学一步写记忆,编号路径做好,下次加载
## EXP-D171-001: Seedance 2.0 audio_url 口型+声音
- content数组加audio_url → 视频自动带配音+对口型
- 提示词用@Audio1引用@Image1/@Image2引用图片
- API尊重duration参数不受音频时长影响
- 不需要后期手动叠配音
## EXP-D171-002: 人群视角+龙套面朝主角
- 龙套不居中不朝镜头 → 人群左/右侧面向苏白
- "CROWD PERSPECTIVE. @Image1 at LEFT, faces RIGHT toward @Image2. NOT looking at camera."
- 每个龙套不同位置
## EXP-D171-003: 提示词禁止项
- ❌ "thousands of cultivators/crowds" → 蓝杠噪点
- ❌ "3D Donghua animation" → 拽向卡通
- ✅ "BuLiangRen dark realistic style. Deep shadows, bone depth."
- ✅ 开场俯瞰"sparse tiny dots, architecture first"
## EXP-D171-004: FFmpeg AAC编码器损坏
- 用MP3: -c:a mp3 -b:a 192k
- AAC输出376KB vs MP3输出1.5MB(相同64秒)
- concat -c copy需要流格式一致 → 不一致先统一编码
- amix多轨混音: normalize=0 + 每条预放大volume=5.0
## EXP-D171-005: 真人检测绕过阈值
- 苏白V3-R4: thumbnail(360,640)+Blur(2.0)+q=50
- CHAR-007: Blur(3.0)+q=40
- CHAR-006: Blur(4.0)+q=40 ← 最严!
- ENV场景图: edge12%+q=75
## EXP-D171-006: 广告牌叠层
- 静态图: assets/props/PROP-FREE-AD-BOARD/approved/board_v3_approved-1440x2560.png
- PIL裁剪→JPG(FFmpeg无PNG解码)→overlay
- 不同镜不同坐标/尺寸
## EXP-D171-007: 工具路径
- python: /c/Users/rtyyr/.workbuddy/binaries/python/versions/3.13.12/python.exe
- ffmpeg: D:\GAME\WeGameApps\英雄联盟\Cross\icreate\recorder-release\ffmpeg.exe
- bash下用.exe全路径subprocess用列表不用shell=True