Skip to content

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++

release: Veyra 1.3.0

Veyra Goal Agent05dea56bd970
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 622b2351..11612f89 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.24)
-project(veyra VERSION 1.2.0 LANGUAGES CXX RC)
+project(veyra VERSION 1.3.0 LANGUAGES CXX RC)
# Match the compiler's actual bytes, including on localized Windows installs.
# CMake's cached, decoded prefix can leave Ninja with zero header dependencies.
diff --git a/README.md b/README.md
index 5f3873cc..5ca3bdfa 100644
--- a/README.md
+++ b/README.md
@@ -13,22 +13,19 @@
Windows 视频播放器与采集卡增强工具。支持视频、图片、采集卡实时预览和 PS5 局域网串流,可组合使用超分辨率、NR 画面增强与补帧。
-[下载 1.2.0 免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.2.0) · [更新记录](docs/RELEASE_NOTES_1.2.0.md) · [反馈问题](https://github.com/Likely7/Veyra-NRVideo/issues)
+[下载 1.3.0 免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.3.0) · [更新记录](docs/RELEASE_NOTES_1.3.0.md) · [反馈问题](https://github.com/Likely7/Veyra-NRVideo/issues)
-## 当前开发状态(2026-09-15)
+## 1.3.0 更新
-本地 `main` 已整合到修复提交 `dc44c48`。上方下载仍指向 **1.2.0 发布包**,不包含之后的 AV1/MOV、采集音频设备选择、实时补帧时钟和最新音频连续性修复;这些改动目前仅在本地源码与测试构建中,未推送、未发布。
+1.3.0整合1.2.0之后的播放器、采集音频、颜色与补帧修复。新增拖动时预览、全屏进退10秒、采集设置记忆及NR多档内部分辨率;改善AV1/MOV播放、采集自动同步与杂音、SDR颜色和HDR转SDR映射。实时DLSS多帧生成改为逐子帧就绪提交,右侧帧率统一为显示提交。
-- 音频已修复连续重采样历史、浮点余量和空拉恢复等已确认缺陷,撤回造成声音发闷的处理。**火堆、口哨场景的沙沙声尚未完成真实听感验收,不能宣称已根治。**
-- 媒体兼容改进有 AV1 MP4、ProRes MOV 等样本证据;MOV 是容器,不承诺所有编码组合可播放。AV1 / ProRes 导出仍不支持。
-- 采集音频现在可在“音频监听”中选择 DirectShow 音频或明确的 WASAPI 录音端点;WASAPI 使用共享模式、稳定端点 ID 和现有 PCM 音频处理链,不自动选择麦克风,也不做系统回录。
-- 分支整合、逐项验证与候选程序位置见 [当前修复汇总](docs/LOCAL_INTEGRATION_STATUS_2026-09-15.md)。已发布功能说明与未发布修复应分别阅读。
+完整列表与已知限制见[1.3.0更新说明](docs/RELEASE_NOTES_1.3.0.md)。完整杜比视界、Atmos对象渲染和XeSS内部精确GPU计时尚未提供;不同显卡与采集设备仍需实机验证。
## 功能
| 功能 | 支持内容 |
| --- | --- |
-| 播放与采集 | H.264 / HEVC 视频、PNG / JPEG 图片、DirectShow / UVC 采集卡 |
+| 播放与采集 | H.264 / HEVC / AV1、兼容的MOV/ProRes视频、PNG / JPEG 图片、DirectShow / UVC 采集卡 |
| 超分辨率 | DLSS SR、RTX Video SR;2K / 4K / 8K 目标,保持画面比例 |
| NR 增强 | 实验性 NVIDIA NR;实时档与原生档,风格、强度和局部保护调整 |
| 帧生成 | DLSS 2X / 3X / 4X,实验性 XeSS 2X 预览补帧 |
@@ -40,11 +37,11 @@ Windows 视频播放器与采集卡增强工具。支持视频、图片、采集
日常模式以观看为主;专业模式展开增强参数、诊断和导出工具。切换模式不需要重新打开视频。
-1.2.0 新增 HDR 文件/采集增强、HDR10 导出与 HDR 截图、5.1 PCM 保留,以及“转为 SDR 显示”预览开关。首次启动仍默认关闭所有增强;RTX30 实卡表现仍待验收。
+保留1.2.0引入的HDR文件/采集增强、HDR10导出与HDR截图、5.1 PCM,以及“转为SDR显示”预览开关。首次启动仍默认关闭所有增强;RTX30实卡表现仍待验收。
## 下载与运行
-1. 在 [Releases](https://github.com/Likely7/Veyra-NRVideo/releases) 下载 **Veyra-1.2.0-win64-portable.zip**,不要下载 Source code。
+1. 在 [Releases](https://github.com/Likely7/Veyra-NRVideo/releases) 下载 **Veyra-1.3.0-win64-portable.zip**,不要下载 Source code。
2. 完整解压到一个可写文件夹,双击 **Veyra.exe**。无需安装 SDK、Python 或开发工具。
首次启动 NR、超分和内部补帧均关闭,确认基础画面后按需开启;导入旧设置会恢复原来的开关。
3. 使用当前显卡驱动。要使用 NVIDIA NR、DLSS、RTX Video SR 和 NVENC,需兼容的 NVIDIA RTX 显卡;本版本主要在 RTX 5070 上验证。
@@ -139,13 +136,13 @@ NR 与 DLSS 帧生成属于 **community experimental / 社区实验集成**,
## 开发与许可
-[构建说明](docs/BUILD.md) · [组件清单](docs/RUNTIME_COMPONENTS_1.2.0.md) · [第三方许可](THIRD_PARTY_NOTICES.md)
+[构建说明](docs/BUILD.md) · [组件清单](docs/RUNTIME_COMPONENTS_1.3.0.md) · [第三方许可](THIRD_PARTY_NOTICES.md)
Veyra 原有源码采用 [GPLv3](LICENSE);含串流的组合程序同时适用 [AGPLv3 与上游 OpenSSL 例外](licenses/remoteplay/CHIAKI_AGPL3_OPENSSL.txt)。应用源码对应版本标签,Release 另附串流依赖与 FFmpeg 对应源码包,普通用户无需下载。SDK、模型和运行时不进入源码仓库;Release 组件按各自许可与实验发布范围单独提供。
-## HDR 与 5.1(1.2.0)
+## HDR 与 5.1(1.2.0 起,1.3.0 保留)
-以下能力已进入 1.2.0。真实 HDR 屏、5.1 扬声器和不同采集卡仍须逐台验收。
+以下能力在 1.2.0 引入并由 1.3.0 保留。真实 HDR 屏、5.1 扬声器和不同采集卡仍须逐台验收。
- **HDR 输入 / 增强**:文件、P010/P016 采集与 PS5 HDR;支持明确标记的 BT.2020 NCL / PQ 或 HLG。Windows HDR 开启时,可组合 NR、DLSS SR / RTX Video SR、DLSS / XeSS 补帧。NR / Video SR 使用 SDR 代理和 HDR 基底合成,压缩高光和近黑区域的增强会衰减;不把 SDR 结果逆造为原始 HDR。HLG 使用 1000nit / gamma 1.2 参考转换。
- **SDR 显示开关**:采集卡面板的“转为 SDR 显示”默认关闭,控制所有实时预览。打开后将 HDR 映射为 SDR,增强照常可用;播放中切换无需重连,可能短暂停顿。关闭后跟随显示器 HDR 状态。截图跟随当前画面,视频导出保持原有 HDR 规则。
diff --git a/README_EN.md b/README_EN.md
index 788b9a62..503d98b7 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -14,22 +14,19 @@ English | [简体中文](README.md)
A Windows video player and capture-card enhancement tool. Play videos, process images, and preview capture devices with optional super resolution, NR enhancement, and frame generation.
-[Download 1.2.0 Portable](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.2.0) · [Release Notes](docs/RELEASE_NOTES_1.2.0.md) · [Report an Issue](https://github.com/Likely7/Veyra-NRVideo/issues)
+[Download 1.3.0 Portable](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.3.0) · [Release Notes](docs/RELEASE_NOTES_1.3.0.md) · [Report an Issue](https://github.com/Likely7/Veyra-NRVideo/issues)
-## Development Status (2026-09-15)
+## 1.3.0 Update
-Local `main` includes repair commit `dc44c48`. The download above is still the **1.2.0 release package**; it does not contain the subsequent AV1/MOV, capture-audio device selection, live frame-generation clock, or latest audio-continuity repairs. Those changes are currently local source and test-build changes, not pushed or released.
+Version 1.3.0 integrates playback, capture-audio, color and frame-generation repairs since 1.2.0. It adds drag previews, fullscreen 10-second seeking, remembered capture settings and NR internal resolutions; improves AV1/MOV playback, capture sync/crackle, SDR colors and HDR-to-SDR mapping; and submits live DLSS MFG subframes as each becomes ready. The main FPS display reports submitted frames.
-- Confirmed audio defects in resampler history, float headroom and empty-pull recovery have been addressed; the processing that muffled audio was withdrawn. **The reported fire/whistle hiss has not passed real listening acceptance and is not claimed resolved.**
-- Media improvements have sample evidence for AV1 MP4 and ProRes MOV, not every codec/container combination. AV1 / ProRes export remains unsupported.
-- Capture audio can now be selected as DirectShow audio or an explicit WASAPI recording endpoint. WASAPI uses shared mode, a stable endpoint ID, and the existing PCM audio path; it never auto-selects a microphone or performs system loopback.
-- See the [local integration status](docs/LOCAL_INTEGRATION_STATUS_2026-09-15.md) for included repairs, verification limits and the candidate executable. Keep released capabilities separate from unreleased fixes.
+See [1.3.0 release notes](docs/RELEASE_NOTES_1.3.0.md) for the full list and limits. Full Dolby Vision, Atmos object rendering and precise internal XeSS FG GPU timing remain unavailable. Hardware-specific validation still applies.
## Features
| Feature | Options |
| --- | --- |
-| Playback and capture | H.264 / HEVC video, PNG / JPEG images, DirectShow / UVC capture cards |
+| Playback and capture | H.264 / HEVC / AV1 and compatible MOV/ProRes video, PNG / JPEG images, DirectShow / UVC capture cards |
| Super resolution | DLSS SR and RTX Video SR; 1440p / 4K / 8K targets with aspect ratio preserved |
| NR enhancement | Experimental NVIDIA NR; realtime and native modes, style, intensity, and region protection |
| Frame generation | DLSS 2X / 3X / 4X; experimental XeSS 2X preview |
@@ -40,11 +37,11 @@ Local `main` includes repair commit `dc44c48`. The download above is still the *
Daily mode focuses on watching. Professional mode expands the controls, diagnostics, and export tools without reopening the video. The application currently uses a Chinese interface.
-Version 1.2.0 adds HDR file/capture enhancement, HDR10 export and HDR screenshots, retained 5.1 PCM, and a live Convert to SDR display switch. Fresh installations still disable all enhancements. RTX30 hardware validation is still pending.
+Features introduced in 1.2.0 include HDR file/capture enhancement, HDR10 export and HDR screenshots, retained 5.1 PCM, and a live Convert to SDR display switch. Fresh installations still disable all enhancements. RTX30 hardware validation is still pending.
## Download and Run
-1. Download **Veyra-1.2.0-win64-portable.zip** from [Releases](https://github.com/Likely7/Veyra-NRVideo/releases). The Source code archives are for developers.
+1. Download **Veyra-1.3.0-win64-portable.zip** from [Releases](https://github.com/Likely7/Veyra-NRVideo/releases). The Source code archives are for developers.
2. Extract the entire archive into a writable directory and run **Veyra.exe**. No SDK, Python, or development tools are needed.
NR, upscaling and internal frame generation start disabled. Enable them as needed; importing old preferences restores their switches.
3. Use a current GPU driver. NVIDIA NR, DLSS, RTX Video SR, and NVENC require compatible NVIDIA RTX hardware; this version was primarily tested on an RTX 5070.
@@ -129,7 +126,7 @@ NR and DLSS frame generation are **community-experimental integrations**, not NV
## Development and License
-[Build Instructions](docs/BUILD.md) · [Runtime Components](docs/RUNTIME_COMPONENTS_1.2.0.md) · [Third-Party Notices](THIRD_PARTY_NOTICES.md)
+[Build Instructions](docs/BUILD.md) · [Runtime Components](docs/RUNTIME_COMPONENTS_1.3.0.md) · [Third-Party Notices](THIRD_PARTY_NOTICES.md)
Original Veyra source is [GPLv3](LICENSE); the combined streaming program also falls under [AGPLv3 and the upstream OpenSSL exception](licenses/remoteplay/CHIAKI_AGPL3_OPENSSL.txt). Application source matches the release tag. The RemotePlay-source and FFmpeg-source assets provide dependency source and are not needed to run the player. SDKs, models, and runtimes are excluded from this source repository. Release components retain their separate licenses and experimental distribution boundaries.
@@ -147,9 +144,9 @@ multiple instances to the same target file.
In Professional mode, click **Screenshot** in the top toolbar to save the latest processed full-resolution picture under **Pictures / Veyra Screenshots**: PNG for SDR and floating-point JPEG XR (`.jxr`) for HDR output. Use an HDR-capable viewer. Application UI and window zoom are excluded.
-## HDR and 5.1 (1.2.0)
+## HDR and 5.1 (introduced in 1.2.0, retained in 1.3.0)
-These capabilities ship in 1.2.0. Individual HDR displays, 5.1 endpoints, and capture cards still require hardware acceptance.
+These capabilities were introduced in 1.2.0 and are retained in 1.3.0. Individual HDR displays, 5.1 endpoints, and capture cards still require hardware acceptance.
- Files, P010/P016 capture and PS5 can use explicitly described BT.2020 NCL PQ/HLG input. Windows HDR enables retained HDR output with NR, DLSS SR / RTX Video SR and DLSS / XeSS FG. NR / Video SR use an SDR proxy plus the retained HDR base, with reduced changes near black and compressed highlights. This is not native HDR NR inference. HLG uses a 1000-nit, gamma-1.2 reference conversion.
- Capture defaults to device color metadata. Manual PQ / HLG is available for devices that omit it, requiring P010/P016. Ten-bit storage alone does not identify HDR. RGB/YUY2 HDR and BT.2020 constant-luminance input are unsupported.
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index b63cc312..f3be709f 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -118,3 +118,7 @@ Remote Play also depends on **OpenSSL, Opus, json-c, libevent, miniupnpc, curl,
[DLSS-NR-on-AMD](https://github.com/danielblnc/DLSS-NR-on-AMD), [dlss5-on-amd-9070xt-porting](https://github.com/lmxxf/dlss5-on-amd-9070xt-porting), [dlss5-image-enhancer-zluda](https://github.com/RedDukeDev/dlss5-image-enhancer-zluda) and its [ZLUDA fork](https://github.com/RedDukeDev/ZLUDA), [dlss5-neural-amd](https://github.com/zmodelerlover/dlss5-neural-amd), and [DLSS5-AMD-Video](https://github.com/eikkapine/DLSS5-AMD-Video). These informed feasibility and performance research. AMD NR is not available in the current release.
</details>
+
+## dav1d (1.3.0 AV1 playback)
+
+FFmpeg dynamically links dav1d 1.5.4 from the pinned local vcpkg build. The portable package includes its complete aggregated copyright/license text in `licenses/DAV1D-COPYRIGHT.txt` and provenance in `licenses/DAV1D-SPDX.json`. The FFmpeg corresponding-source ZIP includes dav1d source and its vcpkg port. Upstream: https://code.videolan.org/videolan/dav1d . License set recorded by the build: Apache-2.0, BSD-2-Clause, ISC and MIT; retain all notices supplied with the source.
diff --git a/docs/BUILD.md b/docs/BUILD.md
index 84ee3cbd..eaa1db3d 100644
--- a/docs/BUILD.md
+++ b/docs/BUILD.md
@@ -4,9 +4,9 @@
## Current local candidate / 当前本地候选(2026-09-15)
-The integrated source baseline is `dc44c48` on local `main`, not a new release. See [integration status](LOCAL_INTEGRATION_STATUS_2026-09-15.md). The existing verified candidate is `out/build/audio-continuity-repair-20260915/veyra.exe`, built with RemotePlay **ON** and `C:/veyra-deps/ffmpeg-ps5-dav1d-installed` (PS5 slice patch retained, dav1d enabled). Full machine-specific build arguments are recorded in [audio repair §6](CAPTURE_AUDIO_WAVEFORM_REPAIR_PLAN_2026-09-15.md#6-用户要求先修已知缺陷后的实施2026-09-15).
+Version 1.3.0 integrates the repairs through `14b6ee0`. The release build uses `out/build/audio-continuity-repair-20260915`, RemotePlay **ON**, and `C:/veyra-deps/ffmpeg-ps5-dav1d-installed` (PS5 slice patch retained, dav1d enabled). Full machine-specific build arguments are recorded in [audio repair §6](CAPTURE_AUDIO_WAVEFORM_REPAIR_PLAN_2026-09-15.md#6-用户要求先修已知缺陷后的实施2026-09-15); use equivalent paths on your machine. See [1.3.0 source instructions](REMOTEPLAY_BUILD_1.3.0.md) and [runtime identities](RUNTIME_COMPONENTS_1.3.0.md).
-Do not use the reduced default build below as proof of full-player equivalence, or package this newer source as the unchanged 1.2.0 release. A future release needs explicit authorization and a matching dependency/source audit, including dav1d. Historical release build instructions and component identities below remain unchanged.
+The reduced default build below is not the full release configuration. Version 1.3.0 supplies corresponding FFmpeg/dav1d and Remote Play source assets separately from the portable ZIP. Historical instructions below remain reference material.
Targeted audio verification from the repository root:
@@ -64,9 +64,9 @@ The NGX configuration lives in `runtime_local/config/ngx-local.json` for develop
## Dependency Sources
-Release 1.2.0 includes `Veyra-1.2.0-FFmpeg-source.zip` separately: the patched FFmpeg source, SPDX-verified vcpkg port and patches, notices, and configuration queried from the shipped DLL. It is not needed to run Veyra.
+Release 1.3.0 includes `Veyra-1.3.0-FFmpeg-source.zip` separately: the patched FFmpeg/dav1d source, SPDX-verified vcpkg ports and patches, notices, and configuration queried from the shipped DLLs. It is not needed to run Veyra.
-The AV1 software-decoding experiment is kept in a separate local FFmpeg prefix until its corresponding-source package and release audit are complete. It uses FFmpeg's LGPL build with the optional LGPL-compatible dav1d backend. MOV is a container rather than a codec: ProRes/H.264/HEVC MOV playback is tested independently, while an AV1 file must still use a container/muxer that actually carries AV1 (typically MP4 or WebM). A file extension alone is never treated as a compatibility guarantee.
+The 1.3.0 AV1 path uses FFmpeg's LGPL build with dav1d 1.5.4; its separate source asset includes the matching patched FFmpeg tree, dav1d source, port recipes, notices and binary configuration. MOV is a container rather than a codec: ProRes/H.264/HEVC MOV playback is tested independently, while AV1 needs a compatible container such as MP4 or WebM. Extensions alone do not guarantee compatibility.
- FFmpeg: https://github.com/FFmpeg/FFmpeg/tree/n9.0.1 ; vcpkg port source recorded in the distributed `licenses/FFMPEG-SPDX.json`.
- vcpkg FFmpeg port: https://github.com/microsoft/vcpkg/tree/55cd8b8a4f19d8e6ba2ad114c8acacc4af5915a0/ports/ffmpeg . Its patches and the LGPL notices are part of the corresponding-source material.
diff --git a/docs/LOCAL_INTEGRATION_STATUS_2026-09-15.md b/docs/LOCAL_INTEGRATION_STATUS_2026-09-15.md
index fa523c25..c3a2c0cd 100644
--- a/docs/LOCAL_INTEGRATION_STATUS_2026-09-15.md
+++ b/docs/LOCAL_INTEGRATION_STATUS_2026-09-15.md
@@ -1,5 +1,7 @@
# 本地整合状态 / Local integration status
+> 后续更新:下文为dc44c48阶段历史快照。1.3.0已整合其后修复至14b6ee0,最新完成项、边界和发布证据以[1.3.0更新说明](RELEASE_NOTES_1.3.0.md)与[发布记录](RELEASE_1.3.0_EXECUTION.md)为准,包括真实采集杂音修复、HDR转SDR新映射和逐子帧呈现;不再沿用下文“尚未实现tap”等历史状态。
+
更新日期:2026-09-15。源码基线:`dc44c48`。本文是开发状态快照,不是发布说明或实卡验收报告。
## 发布与分支
diff --git a/docs/RELEASE_1.3.0_EXECUTION.md b/docs/RELEASE_1.3.0_EXECUTION.md
new file mode 100644
index 00000000..8cff86ca
--- /dev/null
+++ b/docs/RELEASE_1.3.0_EXECUTION.md
@@ -0,0 +1,31 @@
+# 1.3.0 发布施工记录
+
+用户授权整合1.2.0发布后已完成修复、更新说明并发布1.3.0至Likely7/Veyra-NRVideo。未请求关机。
+
+分支审计:远端main是当前修复历史祖先。main从89751cd快进到14b6ee0,再建立codex/release-1.3.0制作发布。全部已完成修复分支已经包含;仅旧源码归档codex/github-source-archive和已废弃的Smooth Motion强制互斥实验不合入,保留历史。
+
+内容见RELEASE_NOTES_1.3.0.md。完整Dolby Vision、Atmos和XeSS内部精确GPU耗时未完成;未将14项硬件问题一概宣称全部根治。最近实卡3X连续120秒有效生成14050/提交14050/过期0,普通软件门禁通过,详见FG_OUTPUT_RATE_AUDIT。
+
+版本化文件:CMakeLists、双语README、Release Notes、Runtime Components和RemotePlay Build。增强运行文件沿用8个批准身份;本次增加已完成AV1接入的dav1d 1.5.4及对应FFmpeg构建。打包脚本检查实际二进制哈希、补齐dav1d许可证/端口来源与独立源码,不将SDK/运行库/本机媒体入Git。
+
+发布顺序:版本构建与delivery → 包装便携和两份依赖源码 → manifest及ZIP扫描 → 解压隔离PATH启动测试 → 提交/tag/main推送 → GitHub上传资产 → 比对远端每个资产字节数与SHA256 → 发布记录。
+
+## 本地验证与资产
+
+- 构建:`cmd.exe /c out\\build\\veyra-build-x64-release.cmd` exit0,版本 `1.3.0`。
+- 软件门禁:`logs/delivery/cbbd1e0dc55e4ccea6656fb97e4f5a15/result.json`,software short gate pass;实际NR/NVOF、原生4K、GUI播放/暂停seek、图片、H.264/HEVC导出与取消通过,capture仍标记awaiting user capture test。
+- 便携包隔离测试:`logs/release-1.3.0-final-portable-smoke/result.json` pass;移除manifest、隔离PATH后空载/基础/增强组合与首次默认关闭测试通过。
+- AV1从便携包直接运行:`logs/release-1.3.0-final-av1.stdout.log` exit0,实际打开 `codec=av1`,软件解码 `libdav1d`,60帧、`failed=false`。
+- 三个ZIP与manifest审计:`logs/release-1.3.0-final-archive-audit.json` pass。资产如下:
+
+| 资产 | 字节数 | SHA-256 |
+| --- | ---: | --- |
+| `Veyra-1.3.0-win64-portable.zip` | 422573820 | `C5182D3F53440F7DA58983A67C8CCB2DCBCF80AAC8A3AB07276E48EE875EFCB9` |
+| `Veyra-1.3.0-RemotePlay-source.zip` | 143747463 | `7FC86D207A90355B92C16343D18577A9C4A5388F249ABDFB80566D8CA5E4499F` |
+| `Veyra-1.3.0-FFmpeg-source.zip` | 25277828 | `5621EB2238459FA8DACB5E0285541E3D5A0010765BAB353F9DCB41D983A1DF17` |
+
+便携包包含八个已批准增强运行时、patched FFmpeg、dav1d许可证和manifest;源码仓库不包含这些运行库/SDK。完整DV RPU/增强层、Atmos对象、XeSS内部精确GPU耗时及所有硬件实卡验证仍未完成,更新说明已明确写出。
+
+## 发布状态
+
+本地修复分支、发布文档和版本号已提交;随后推送 `main`、创建 `v1.3.0` tag,上传上表三个ZIP及`.sha256`,再用GitHub API比对远端字节数和digest。完成后在本节追加远端release ID和核对结果;未授权关机。
diff --git a/docs/RELEASE_NOTES_1.3.0.md b/docs/RELEASE_NOTES_1.3.0.md
new file mode 100644
index 00000000..64395ead
--- /dev/null
+++ b/docs/RELEASE_NOTES_1.3.0.md
@@ -0,0 +1,63 @@
+# Veyra 1.3.0
+
+本次整合1.2.0发布后的播放器、采集音频、颜色和补帧修复。首次启动仍默认关闭所有增强,已有明确保存的设置继续保留。
+
+## 播放器与操作
+
+- 增加AV1软件解码(dav1d),改善MOV/ProRes等文件播放;文件硬解首帧失败可安全回退。修复部分MOV因负音频时间戳而黑屏。
+- 优化拖动进度条:保留最新目标,避免先弹回旧位置;拖动过程中持续请求预览,不必等松手才更新。实际响应仍受关键帧间隔、解码与增强速度影响。
+- 全屏可拖动进度条,并用左右方向键前进/后退10秒;修复控件遮挡、命中范围和焦点问题。
+- 减少视频区域重绘闪烁;普通窗口尺寸变化避免不必要的整条增强链重建。
+
+## 采集与声音
+
+- 记住上次视频设备、采集格式、音频端点和颜色选择;按稳定设备标识恢复。
+- 采集断开后尝试重连同一设备,核对格式并重置处理历史;增加音频端点独立恢复。不同设备驱动的拔插行为仍需实机验证。
+- 支持明确选择DirectShow音频、采集设备内置音频或WASAPI录音端点。
+- 修复自动同步被异常时间戳带偏、启动积压以及播放过程中音频延迟不断增长的部分原因;不会将用户所述VRR关联直接当作已证实根因。
+- 修复重采样连续性、PCM格式解析及端点恢复;修复自动同步逐渐耗尽音频播放储备、造成随音乐出现沙沙/滋滋声的问题。本机真实录音对照已消除所复现的间隙,不代表所有采集卡均已验收。
+
+## 颜色与增强
+
+- 修正关闭增强时SDR输入/输出曲线不匹配导致的颜色变化,按明确的range、matrix和transfer处理。
+- HDR转SDR改进亮度映射及色域压缩:PQ优先使用有效MaxCLL或母版峰值,缺失时明确回退;减少逐RGB通道硬裁切造成的颜色偏移。HDR转SDR不等于无损保留HDR。
+- 修复BT.2020 NCL输入误入仅支持BT.601/709的转换路径,以及部分导出颜色元数据问题。
+- NR内部处理新增480p、720p、900p、1440p,保留1080p与原生;降低NR尺寸不等于超分、补帧和输出尺寸同时降低。
+- 修复NR强度高于1时暗部残差外推过度压黑。
+
+## 补帧、性能与恢复
+
+- 修复全关状态直接选择补帧不生效、必须先开一次NR的问题。
+- 修复实时补帧时钟漂移、将CPU轮询延迟误计入GPU预算及恢复不稳定的问题。
+- 实时DLSS多帧生成按子帧就绪提交,避免第一张已完成仍等待整批结束、随后被判过期。本机同设置3X对照:修前32秒420张生成帧过期,修后120秒14050张有效生成帧全部提交、过期0,稳定段显示提交180fps。该数据不代表所有显卡性能或屏幕扫描实测。
+- 右侧帧率统一为显示提交;详细面板区分处理产出、原帧/生成帧提交及过期丢弃,避免处理产出180fps掩盖输出不足。
+- 修复GPU计时样本消费与阶段汇总。XeSS内部精确GPU耗时仍显示不可测,总增强耗时明确不包含该部分。
+- 改善NR/SR/FG/光流故障的归属与降级;XeSS呈现失败后可恢复基础播放并在同会话重试。
+- 修复合法交换链模式被误拒绝,以及ResizeBuffers暂时受占用时直接进入错误的问题,涉及OBS捕获和PS5连接初始化路径。反馈者设备仍需复测。
+
+## 导出
+
+- 修复部分状态下点击导出无选择位置弹窗。
+- 改善导出末尾计数、封装收尾、验证与文件改名的错误处理和日志,方便定位99%失败;不将反馈者未提供的原始文件故障一概宣称根治。
+- 保留H.264/HEVC视频导出和HEVC Main10 HDR导出;没有新增AV1或ProRes编码导出。
+
+## 支持边界与下载
+
+下载 `Veyra-1.3.0-win64-portable.zip`,解压后运行Veyra.exe。另外两个source ZIP是依赖对应源码,普通用户无需下载。
+
+尚未提供完整Dolby Vision RPU/增强层输出、Atmos对象渲染或Dolby/DTS码流直通。部分DV文件仅按明确兼容的基础层播放。NR/SR使用HDR基底保留与SDR代理时,不宣称模型原生HDR推理。RTX30/40、不同HDR屏幕、OBS、PS5和采集设备的具体表现仍可能不同。Smooth Motion继续由NVIDIA App管理,软件提供开启指引。
+
+## English
+
+Veyra 1.3.0 integrates fixes since 1.2.0:
+
+- AV1 playback through dav1d, improved MOV/ProRes compatibility, safe initial hardware-decoder fallback, and a fix for MOV black screens caused by negative audio timestamps.
+- Latest-target seeking and previews while dragging; fullscreen seek controls and left/right 10-second shortcuts; reduced repaint flicker and unnecessary graph rebuilds.
+- Remembered capture devices/formats/audio/color settings; same-device reconnect and independent audio recovery; explicit DirectShow/embedded/WASAPI audio selection.
+- Capture synchronization, startup backlog, continuous resampling, PCM-format and playback-reserve fixes. A reproduced music-correlated crackle was eliminated in local recording comparisons; this is not universal hardware acceptance.
+- Correct SDR code-value handling, metadata-aware HDR-to-SDR luminance mapping and gamut compression, BT.2020 NCL handling, and export color metadata fixes.
+- NR internal 480p/720p/900p/1440p options alongside 1080p/native; fixed excessive shadow darkening above strength 1.
+- Standalone FG activation, live clock/budget recovery, per-subframe readiness for live DLSS MFG, clearer submitted-versus-produced FPS, timing collection and backend recovery fixes.
+- More resilient swapchain negotiation/resize for capture hooks and PS5 initialization; export-dialog and finalization diagnostics improvements.
+
+Download the portable ZIP; the two dependency-source ZIPs are for developers. Enhancements remain off on fresh installs. Full Dolby Vision, Atmos rendering, Dolby/DTS passthrough, AV1/ProRes export and precise internal XeSS FG timing are not added. Hardware-specific limits remain. Runtime identities are unchanged; FFmpeg now includes dav1d and retains the PS5 H.264 slice patch.
diff --git a/docs/REMOTEPLAY_BUILD_1.3.0.md b/docs/REMOTEPLAY_BUILD_1.3.0.md
new file mode 100644
index 00000000..814f2df2
--- /dev/null
+++ b/docs/REMOTEPLAY_BUILD_1.3.0.md
@@ -0,0 +1,15 @@
+# Remote Play build and corresponding source / 串流构建与对应源码
+
+The 1.3.0 portable package enables `VEYRA_ENABLE_REMOTEPLAY`. The default build without this option does not include PS5 Remote Play.
+
+Application source: https://github.com/Likely7/Veyra-NRVideo/tree/v1.3.0
+
+Chiaki is pinned to `0e16950165f06e5c3291537c2eeba6e852be7120` from https://github.com/streetpea/chiaki-ng, with the reviewed patches in `scripts/remoteplay/patches/`. The combined program is subject to Chiaki's AGPL-3.0-only license and OpenSSL exception as well as retained dependency notices; original Veyra source remains GPLv3.
+
+`Veyra-1.3.0-RemotePlay-source.zip` supplies the clean pinned Chiaki tree and recursive submodule files, reviewed patches, dependency source and vcpkg port provenance for json-c, libevent, miniupnpc, OpenSSL, Opus, and SDL3. It also contains the open-source FidelityFX source used by the static optical-flow backend. FFmpeg corresponding source is a separate asset. No NVIDIA or Intel SDK/runtime, credentials, local configuration, logs, or test media are included.
+
+To build: use Visual Studio 2022 x64 tools, CMake, Ninja, Python, protobuf tooling, the dependency paths recorded in the source archive, and separately licensed enhancement SDKs described in `BUILD.md`. Build the pinned Chiaki checkout with `scripts/remoteplay/build-native.ps1`, then run `scripts/build.ps1 -Root . -Preset x64-release -RemotePlay` with the same dependency paths. The release uses static Chiaki/SDL/dependencies and the existing five dynamic FFmpeg DLLs; Windows networking, WinHTTP, DPAPI, WASAPI, DirectX, and GPU driver components are not redistributed.
+
+The PS5 connection and normal USB controller path have user test evidence. Offline tests do not prove Sony authorization, all Bluetooth controllers, physical HDR output, 5.1 transport, or uninterrupted long sessions. PS5 Remote Play remains limited to the upstream stereo audio path; Veyra does not claim Dolby/Atmos transport.
+
+AV1 playback adds app-local dav1d 1.5.4 (SHA256 `38E09F960822A081FC46FC296FB3EF5F841D1A6C15A39F20684C2F9D88A9FC52`). FFmpeg is rebuilt with `--enable-libdav1d` while retaining the PS5 slice patch; avcodec SHA256 `22D1321B8D31161E7CB0920EC08C43B51884436A066E62C70A0C564ACD4C813E`. The portable package carries dav1d notices and provenance; the FFmpeg source asset includes dav1d source and its vcpkg port. All eight enhancement runtimes keep the previously approved identities.
diff --git a/docs/RUNTIME_COMPONENTS_1.3.0.md b/docs/RUNTIME_COMPONENTS_1.3.0.md
new file mode 100644
index 00000000..35b1c94c
--- /dev/null
+++ b/docs/RUNTIME_COMPONENTS_1.3.0.md
@@ -0,0 +1,30 @@
+# Veyra 1.3.0 Runtime Components
+
+发布包组件清单 / Shipped components. NVIDIA and Intel DLLs are separate Release assets and never source Git content. NR and DLSS FG are community-experimental integrations, not vendor endorsement or certification.
+
+## Locations and replacement
+
+NVIDIA files are in `runtime/experimental/`; XeSS/XeLL files are in `runtime_local/intel/experimental/`. Exit Veyra before replacing a DLL and preserve its filename. The manifests record the publisher package only and do not lock user replacement; ABI, API, driver, and hardware compatibility still apply.
+
+允许用户自行替换 DLL,但不保证兼容。删除某个运行组件只会禁用对应增强功能;不需要修改 manifest。完整解压包不包含个人预设、凭据、SDK、模型、PDB、LIB、测试媒体或日志。
+
+## Enhancement runtime records
+
+| Path | Version | SHA-256 | Signature / scope |
+| --- | --- | --- | --- |
+| `runtime/experimental/nvngx_dlss.dll` | 310.7.0.0 | `BE6E434A94CA32499515EB62CA0E6C274526055D568D0426E4C652DCDFB6EE6E` | Valid; DLSS SR |
+| `runtime/experimental/nvngx_dlssg.dll` | 310.7.0.0 | `135EAF0733C1E37381A8C28ABCF7A862404A54132B81787C04E35D09EFC5E36F` | Valid; experimental DLSS FG |
+| `runtime/experimental/nvngx_dlssnr.dll` | 310.8.0.0 | `E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E` | Valid; pinned experimental NR |
+| `runtime/experimental/nvngx_vsr.dll` | 1.6.0.0 | `C3D88EEA5FF7A548EDEFA66414CF6E77464D0947277C904F324DD23ABF58A1ED` | Valid; RTX Video SR |
+| `runtime_local/intel/experimental/libxess_fg.dll` | 1.3.1.78 | `EC5E0C65E075570C6EDE72618BB666D0BE0C2E10B2EA9762C0FE8CB8E375AB27` | Valid; XeSS preview FG |
+| `runtime_local/intel/experimental/libxell.dll` | 1.3.2.10 | `D2030DCD694FDA8F2EC7E044B13E6DB8F0B56D4BA9113A5EFAD334E3F3DED8C7` | Valid; XeLL timing |
+| `runtime/experimental/nr-community/nvngx_dlssnr.dll` | 310.8.0.0 | `984BEE0F775C277D5829B8FD6775D53A7B0F75396C852B3AAF06A18375F81014` | **HashMismatch**; user-provided RTX40/50 community experimental NR |
+| `runtime/experimental/nr-ampere/nvngx_dlssnr.dll` | 310.8.0.0 | `DCC0DC2414AEDEC4A8E084647070383BE068554042587180C20C784D4772D36F` | **HashMismatch**; user-provided RTX30 experimental NR |
+
+The two community NR binaries are copied unchanged and are explicitly marked `HashMismatch`; their included NVIDIA notices do not establish a general redistribution grant or NVIDIA support. The RTX30 file is an experimental choice, not a claim of verified RTX30 compatibility. Fresh installations leave NR, SR, and internal FG off.
+
+The package includes FFmpeg 9.0.1#1 DLLs, application-local x64 Visual C++ redistributables, Intel license files, AMD FidelityFX optical-flow notices, Lucide notices, Remote Play notices, and compiled shader files. GPU drivers supply `nvofapi64.dll` and `nvEncodeAPI64.dll`; they are not redistributed. ReShade/RenoDX add-ons, FRUC, development SDKs, models, and AMD NR networks are not included.
+
+The shipped FFmpeg includes the Veyra PS5 H.264 32-to-256 slice-capacity patch. `licenses/FFMPEG-VEYRA-BUILD.json` records the binary identity; the separate FFmpeg source asset contains the exact patched source, patch, build configuration, port provenance, and notices.
+
+AV1 playback adds app-local dav1d 1.5.4 (SHA256 `38E09F960822A081FC46FC296FB3EF5F841D1A6C15A39F20684C2F9D88A9FC52`). FFmpeg is rebuilt with `--enable-libdav1d` while retaining the PS5 slice patch; avcodec SHA256 `22D1321B8D31161E7CB0920EC08C43B51884436A066E62C70A0C564ACD4C813E`. The portable package carries dav1d notices and provenance; the FFmpeg source asset includes dav1d source and its vcpkg port. All eight enhancement runtimes keep the previously approved identities.
diff --git a/scripts/acceptance/release-archive-audit.py b/scripts/acceptance/release-archive-audit.py
new file mode 100644
index 00000000..3939f85d
--- /dev/null
+++ b/scripts/acceptance/release-archive-audit.py
@@ -0,0 +1,61 @@
+"""Verify release ZIP payloads and manifests before upload."""
+import argparse
+import hashlib
+import json
+from pathlib import Path, PurePosixPath
+import zipfile
+
+p = argparse.ArgumentParser()
+p.add_argument('--directory', type=Path, required=True)
+p.add_argument('--version', required=True)
+p.add_argument('--output', type=Path, required=True)
+a = p.parse_args()
+results = []
+archives = sorted(a.directory.glob('*.zip'))
+assert len(archives) == 3, 'Expected portable and two corresponding-source ZIPs'
+for archive in archives:
+ digest = hashlib.sha256(archive.read_bytes()).hexdigest()
+ assert archive.with_suffix('.zip.sha256').read_text().split()[0].lower() == digest
+ with zipfile.ZipFile(archive) as z:
+ names = [i.filename for i in z.infolist() if not i.is_dir()]
+ assert len(names) == len(set(names))
+ for name in names:
+ path = PurePosixPath(name)
+ assert not path.is_absolute() and '..' not in path.parts and '\\' not in name
+ assert '.git' not in path.parts and 'third_party_local/nvidia' not in name.lower()
+ if 'portable' in archive.name:
+ prefix = f'Veyra-{a.version}-win64-portable/'
+ manifest = json.loads(z.read(prefix + 'package-manifest.json').decode('utf-8-sig'))
+ assert manifest['version'] == a.version
+ entries = manifest['files']
+ assert set(names) == {prefix + e['path'] for e in entries} | {prefix + 'package-manifest.json'}
+ for e in entries:
+ data = z.read(prefix + e['path'])
+ assert len(data) == e['size'] and hashlib.sha256(data).hexdigest() == e['sha256'].lower()
+ assert PurePosixPath(e['path']).suffix.lower() not in {'.h', '.hpp', '.cpp', '.c', '.obj', '.lib', '.pdb', '.log', '.mp4', '.zip', '.onnx', '.pth', '.addon64'}
+ assert PurePosixPath(e['path']).name not in {'last-applied.v1', 'ui-preferences.v1', 'presets.v1', 'veyra.ini'}
+ runtime = []
+ for folder in ['runtime/experimental/', 'runtime_local/intel/experimental/']:
+ runtime += json.loads(z.read(prefix + folder + 'release-runtime-manifest.json').decode('utf-8-sig'))['files']
+ assert len(runtime) == 8 and sum(e['authenticode'] == 'HashMismatch' for e in runtime) == 2
+ for e in runtime:
+ assert hashlib.sha256(z.read(prefix + e['path'])).hexdigest() == e['sha256'].lower()
+ build = json.loads(z.read(prefix + 'licenses/FFMPEG-VEYRA-BUILD.json').decode('utf-8-sig'))
+ for e in build['files']:
+ assert hashlib.sha256(z.read(prefix + e['name'])).hexdigest() == e['sha256'].lower()
+ assert prefix + 'licenses/DAV1D-COPYRIGHT.txt' in names
+ else:
+ entries = json.loads(z.read('source-manifest.json'))
+ for e in entries:
+ assert hashlib.sha256(z.read(e['path'])).hexdigest() == e['sha256'].lower()
+ for name in names:
+ assert PurePosixPath(name).suffix.lower() not in {'.exe', '.dll', '.lib', '.obj', '.pdb', '.onnx', '.pth', '.addon64', '.so', '.a'}
+ if PurePosixPath(name).suffix.lower() == '.mp4':
+ z.read(name).decode('utf-8') # FFmpeg FATE textual checksum references.
+ if 'FFmpeg' in archive.name:
+ assert any(n.startswith('dav1d-source/') for n in names)
+ assert '--enable-libdav1d' in z.read('binary-configuration.txt').decode()
+ results.append(dict(name=archive.name, size=archive.stat().st_size, sha256=digest, files=len(names)))
+a.output.parent.mkdir(parents=True, exist_ok=True)
+a.output.write_text(json.dumps(dict(passed=True, archives=results), indent=2), encoding='utf-8')
+print(json.dumps(results, indent=2))
diff --git a/scripts/package-ffmpeg-source.py b/scripts/package-ffmpeg-source.py
index 25164579..d8eb79c1 100644
--- a/scripts/package-ffmpeg-source.py
+++ b/scripts/package-ffmpeg-source.py
@@ -13,6 +13,7 @@ parser.add_argument('--vcpkg', type=Path, required=True)
parser.add_argument('--source', type=Path, required=True)
parser.add_argument('--output', type=Path, required=True)
parser.add_argument('--version', required=True)
+parser.add_argument('--dav1d-source', type=Path)
args = parser.parse_args()
if args.output.exists():
raise SystemExit('Output exists; choose a new candidate')
@@ -48,9 +49,22 @@ with os.add_dll_directory(str((args.prefix / 'bin').resolve())):
license_name = lib.avcodec_license().decode()
if license_name != 'LGPL version 2.1 or later':
raise SystemExit(f'Unexpected library license: {license_name}')
+extra_sources = []
+if '--enable-libdav1d' in configuration:
+ if not args.dav1d_source or not (args.dav1d_source / 'COPYING').is_file():
+ raise SystemExit('The linked dav1d requires its matching source and notices')
+ dav1d_port = args.vcpkg / 'ports/dav1d'
+ dav1d_spdx = json.loads((args.prefix / 'share/dav1d/vcpkg.spdx.json').read_text(encoding='utf-8'))
+ for item in dav1d_spdx['files']:
+ if item['SPDXID'].startswith('SPDXRef-port-file-'):
+ expected = next(c['checksumValue'] for c in item['checksums'] if c['algorithm'] == 'SHA256')
+ if hashlib.sha256((dav1d_port / item['fileName']).read_bytes()).hexdigest() != expected.lower():
+ raise SystemExit('dav1d port provenance mismatch')
+ extra_sources = [(args.dav1d_source, 'dav1d-source'), (dav1d_port, 'dav1d-vcpkg-port'),
+ (args.prefix / 'share/dav1d', 'dav1d-notices')]
args.output.parent.mkdir(parents=True, exist_ok=True)
with zipfile.ZipFile(args.output, 'x', compression=zipfile.ZIP_DEFLATED, compresslevel=7) as archive:
- for base, prefix in ((args.source, 'ffmpeg-patched'), (port, 'vcpkg-port')):
+ for base, prefix in [(args.source, 'ffmpeg-patched'), (port, 'vcpkg-port'), *extra_sources]:
for path in sorted(base.rglob('*')):
if path.is_file():
relative = path.relative_to(base)
@@ -79,7 +93,10 @@ with zipfile.ZipFile(args.output, 'x', compression=zipfile.ZIP_DEFLATED, compres
'not copied from a potentially newer build cache.\n'
'Build using Visual Studio x64 tools and vcpkg FFmpeg 9.0.1#1, selecting features\n'
'to match the recorded configuration (shared LGPL libraries, swscale/swresample,\n'
- 'no external codec libraries, no CLI programs). See portfile.cmake and build.sh.in.\n'
+ 'external libraries exactly as listed in binary-configuration.txt, no CLI programs).\n'
+ 'When dav1d is enabled, dav1d-source and dav1d-vcpkg-port contain its source/recipe;\n'
+ 'build and install it first, then configure FFmpeg with --enable-libdav1d.\n'
+ 'See portfile.cmake and build.sh.in.\n'
'The recorded configuration includes original local build paths; adapt paths locally.\n'
'Veyra links dynamically; compatible rebuilt libraries may replace the shipped DLLs.\n'
'Upstream: https://github.com/FFmpeg/FFmpeg/tree/n9.0.1\n'
diff --git a/scripts/package-portable.ps1 b/scripts/package-portable.ps1
index ab9838ce..0c578dd2 100644
--- a/scripts/package-portable.ps1
+++ b/scripts/package-portable.ps1
@@ -97,6 +97,10 @@ foreach ($notice in Get-ChildItem -LiteralPath (Join-Path $resolvedRoot 'third_p
Copy-Payload (Join-Path $resolvedRoot 'runtime_local/config/ngx-local.json') 'runtime/config/ngx-local.json'
Copy-Payload (Join-Path $ffmpegRoot 'share/ffmpeg/copyright') 'licenses/FFMPEG-COPYRIGHT.txt'
Copy-Payload (Join-Path $ffmpegRoot 'share/ffmpeg/vcpkg.spdx.json') 'licenses/FFMPEG-SPDX.json'
+if ($applicationFiles -contains 'dav1d.dll') {
+ Copy-Payload (Join-Path $ffmpegRoot 'share/dav1d/copyright') 'licenses/DAV1D-COPYRIGHT.txt'
+ Copy-Payload (Join-Path $ffmpegRoot 'share/dav1d/vcpkg.spdx.json') 'licenses/DAV1D-SPDX.json'
+}
$dav1dCopyright = Join-Path $ffmpegRoot 'share/dav1d/copyright'
$dav1dSpdx = Join-Path $ffmpegRoot 'share/dav1d/vcpkg.spdx.json'
if (Test-Path -LiteralPath $dav1dCopyright -PathType Leaf) { Copy-Payload $dav1dCopyright 'licenses/DAV1D-COPYRIGHT.txt' }