fix(lipsync): video_url扩展名校验放宽,支持MOV/M4V/WebM等容器 #1878
Reference in New Issue
Block a user
Delete Branch "fix/lipsync-video-ext-0913"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
对口型创建接口
/api/v1/lipsync/jobs返回422:video_url 仅支持 MP4 格式。根因
iPhone等设备拍摄的视频素材转h264后,容器扩展名保留为
.MOV(如 IMG_2282_h264.MOV),后端schema仅允许.mp4结尾,拒绝了合法的h264视频。修复
schemas/lipsync.py:video_url扩展名校验放宽,支持.mp4/.mov/.m4v/.webm/.avi/.mkv/.3gp🚀 预览环境已部署
🗑️ 预览环境已清理
PR #1878 已关闭或合并,对应的预览环境已被清理。