fix(gate): an already-playable source gets the 0.990 second tier - 0.995 and the size ceiling are mutually exclusive
Measured on 用超富集植物种植金属 (1280x720@30, 1832 kbps source, 96 s): crf 19 under -maxrate 1832k -> 20.6 MB, SSIM mean 0.99192 REFUSED crf 14 under the SAME ceiling -> 22.9 MB, SSIM mean 0.99195 five steps, +0.00003 crf 19 uncapped -> 40.6 MB, SSIM mean 0.99648 passes at 172% of the source Reaching 0.995 needs >=125% of the source's own bitrate, which SIZE_CEIL=1.0 forbids, so every gear below the ceiling produces the same file. Production: 487 FAIL quality rounds, 106.2 h of encoding; 194 of 202 files with two measured rounds moved < 0.0015. Rule (owner 2026-10-25): a source that already plays everywhere (h264+avc1, aac/mp4a, mp4/m4v/mov) is a space-reclaim job - the same situation SSIM_MEAN_MIN_REDO already rules on - so when 0.995 is missed it is accepted at SSIM_MEAN_MIN_FALLBACK (0.990), and the provably inert quality+2 retry is skipped. Unplayable sources keep 0.995; a frame-share defect is still refused at any tier. Also: numpy is now a declared dependency and its absence is an INSTALL PROBLEM, not a silent fallback - 305 of 418 production run logs were measured with the flat-frame scan skipped.
This commit is contained in:
1 parent
68a2265026
commit
57e950da8f
2 files changed
+67
-6
No files matched your search
@@ -320,8 +320,16 @@ live = HEVC hvc1 **且**音轨是 AAC(真能播)**且**本次是从快照原
|
||||
- [ ] **等业主定 D-07(队列仓 PLAN §7)**:`0705机械宇宙` 按指示跑过 `--crf 24`,仍是 mean **0.9120**、坏帧 **8.93%**、
|
||||
`vmaf480` **59.41** —— 与 crf29 逐位相同 ⇒ **源档缺陷**(引擎自己标了 non-uniform cadence),别再降参数;
|
||||
要么接受原档,要么单独走"源档缺陷"口径。同类还有 3 项 `engine-skip`(park 满 2 轮)。
|
||||
- [ ] **cpu(x265)档门槛问题**:crf29 在 bpp 0.0147–0.0293 带成立(0.9958/0.9968),但 **bpp ≳0.05 那一带 4/4 落到
|
||||
0.9926–0.9946**(720p、源 ~1.17 Mbps)→ 每项白烧 2 次整片编码后 park。选项 A `cpu_crf→24` / B 放行到 0.990。
|
||||
- [x] **cpu(x265)档门槛问题**(2026-10-25 结案):crf29 在 bpp 0.0147–0.0293 带成立(0.9958/0.9968),但 bpp ≳0.05
|
||||
那一带 4/4 落到 0.9926–0.9946(720p、源 ~1.17 Mbps)→ 每项白烧 2 次整片编码后 park。
|
||||
**根因不是档位,是 `SIZE_CEIL=1.0` 的 `-maxrate` 与 0.995 互斥**:实测 720p/1832 kbps 源,
|
||||
crf 19 在上限内 = 0.99192(87% 大小)、**crf 14 在同一上限内 = 0.99195**(五档只动 0.00003)、
|
||||
放开上限 crf 19 = 0.99648 但要 **172%** 大小 ⇒ 到 0.995 需源码率的 **125%** 以上。
|
||||
**已定(业主 2026-10-25)**:走选项 B,但只对「本来就能播的源」——`plays_everywhere()`(h264+aac+mp4/m4v/mov)
|
||||
在 0.995 不过时直接按 `SSIM_MEAN_MIN_FALLBACK`(0.990) 收下,判决写
|
||||
`second tier 0.990: the source already plays everywhere, so this is a space-reclaim job`;
|
||||
不可播源仍 0.995,帧占比缺陷任何档位都拒。同时**不再跑那次注定无效的 quality+2 重试**。
|
||||
同机实测:同一文件由 `FAIL quality 0.9923` 变为 `ok`,87.5% 大小,单次编码 120 s。
|
||||
- [ ] 两档跑完 → **全库落地审计**:`D:\dev\hevc-transcode\cache\install_audit.py`(核对线上文件真实大小 + 编码器;曾一次抓到"报告成功没落地")+ `copy_land_check.py`(copy 档用音轨 aac/mp3 判定)。
|
||||
- [ ] 失败项:无需清单,新一轮自动重做(失败时文件原样)。
|
||||
- [ ] `2022年/0723 《走出强迫症》/走出强迫症.mp4` 用新下载(`D:\Download\0723走出强迫症.mp4`,618,696,954 B)已转好装好(450,502,893 B,HEVC+AAC,SSIM min 0.997,时长 3399.81 s)✓。**快照里那份仍是坏的**(618,697,011 B,moov 缺失)→ 待定:是否用干净副本替换快照里的坏档,以免将来"从原档重转"踩坑。
|
||||
|
||||
Reference in new issue
Block a user