Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.
C++
fix(perf): verify actual seek epoch and keyframe landing
Veyra Goal Agent109096acb44d
diff --git a/docs/PERF_4B_COARSE_TO_FINE_2026-10-05.md b/docs/PERF_4B_COARSE_TO_FINE_2026-10-05.mdindex b4cee820..1a1b324e 100644--- a/docs/PERF_4B_COARSE_TO_FINE_2026-10-05.md+++ b/docs/PERF_4B_COARSE_TO_FINE_2026-10-05.md@@ -19,3 +19,5 @@开工、夹具候选及结果分别 commit/tag/bundle。输出统一放 `E:/项目/Veyra/{build,tests,logs,tmp,archives}/perf-nr-20261004/`;结果、实际命令和失败记录补入本文及 WORKLOG。既有能力核验通过与新算法优化保留分开报告。`build-nr-mixed-v1` 当前源码构建通过(27步)。`B4b-native-v1` 无 NR 原生运行通过40帧/debug0,但 Python 收据阶段使用 Windows 路径分隔符生成清单键,再按斜线键读取,发生 KeyError;没有进入 NR 测量。统一清单键为 as_posix 后另用 v2 新目录完整运行,保留 v1 日志,不覆盖失败证据。++`B4b-native-v2` 无 NR 原生40帧也通过,但脚本错误假设 source epoch 固定从1变2,且直接 source.seek(10秒) 精确落在10秒。实际 source seek 与后续 discontinuity 均推进 epoch,变为3;解码从8.333秒关键帧开始,播放器另有丢弃至目标PTS的职责。本夹具核验实际 epoch 改变与PTS断点、记录请求和落点,不改 source 产品契约。另用 v3 新目录保留完整证据。diff --git a/scripts/perf/nr-mixed-native.py b/scripts/perf/nr-mixed-native.pyindex 11901bd2..57e5c9c1 100644--- a/scripts/perf/nr-mixed-native.py+++ b/scripts/perf/nr-mixed-native.py@@ -30,7 +30,12 @@ for group in ('none','2-native','2-mixed','3-native','3-mixed'):(out/'receipt.json').write_text(json.dumps(receipt,ensure_ascii=False,indent=2),encoding='utf-8');results.append(receipt)(folder/'completed.json').write_text(json.dumps(results,ensure_ascii=False,indent=2),encoding='utf-8');assert passValue,receiptwith (out/'frames.csv').open(encoding='utf-8') as stream:frames=list(csv.DictReader(stream))- assert len(frames)==40 and {int(f['epoch']) for f in frames}=={1,2} and int(frames[20]['pts100ns'])>=100000000+ assert len(frames)==40+ firstEpoch={int(f['epoch']) for f in frames[:20]};seekEpoch={int(f['epoch']) for f in frames[20:]}+ assert len(firstEpoch)==len(seekEpoch)==1 and min(seekEpoch)>max(firstEpoch)+ assert int(frames[20]['pts100ns'])-int(frames[19]['pts100ns'])>10000000+ receipt.update(seekRequestedSeconds=10,seekFirstPts100ns=int(frames[20]['pts100ns']),epochs=sorted(firstEpoch|seekEpoch))+ (out/'receipt.json').write_text(json.dumps(receipt,ensure_ascii=False,indent=2),encoding='utf-8')if group in frameGroups:assert frames==frameGroups[group],'Same configuration re-run differs'else:frameGroups[group]=framesquality=BASE/'tests'/TASK/(label+'-quality');quality.mkdir(parents=True,exist_ok=False)