D131: 拼接经验修复 · MP4 -c copy丢帧→TS流无损方案 · 40秒成品验证
Some checks failed
自动更新代码和重启 / update-and-restart (push) Has been cancelled
CI检查 + 自动部署 / check (push) Has been cancelled
CI检查 + 自动部署 / deploy (push) Has been cancelled
铸渊自检 / health-check (push) Has been cancelled

This commit is contained in:
冰朔 2026-06-13 00:18:34 +08:00
parent 5cc49f4960
commit 883ef30468

View File

@ -73,5 +73,8 @@ created: D131 · 2026-06-12
### 第一集拼接
- SG FFmpeg: `/usr/bin/ffmpeg` v6.1.1
- 纯拼接: `ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4`
- 成品: 7镜45秒10MB已部署guanghuclip.cn
- ❌ `-c copy` 拼接MP4格式只粘上部分文件7镜只出4镜
- ❌ `cat` 拼接MP4容器不兼容播放器只读第一个文件
- ✅ TS流中间格式`ffmpeg -i in.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts out.ts``cat *.ts``ffmpeg -i combined.ts -c copy -bsf:a aac_adtstoasc out.mp4`
- ✅ `-c:v libx264` 重编码在低内存服务器会OOMSIGTERM优先用TS流无损方案
- 成品: 7镜40秒19MB已部署guanghuclip.cn