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++
chore(release): 1.3.2beta package docs and version bump
Veyra Goal Agent4c61b31f2a19
diff --git a/CMakeLists.txt b/CMakeLists.txtindex d30567f2..900d5733 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -1,9 +1,9 @@cmake_minimum_required(VERSION 3.24)-project(veyra VERSION 1.3.1 LANGUAGES CXX RC)+project(veyra VERSION 1.3.2 LANGUAGES CXX RC)# Shown in the EXE's version resource and in the package name. CMake versions# must be numeric, so the beta marker lives here instead.-set(VEYRA_DISPLAY_VERSION "1.3.1beta" CACHE STRING "Human-readable version string")+set(VEYRA_DISPLAY_VERSION "1.3.2beta" CACHE STRING "Human-readable version string")# 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/docs/RELEASE_NOTES_1.3.2.md b/docs/RELEASE_NOTES_1.3.2.mdnew file mode 100644index 00000000..a8a146d4--- /dev/null+++ b/docs/RELEASE_NOTES_1.3.2.md@@ -0,0 +1,56 @@+# Veyra 1.3.2beta 测试包说明(隔离分支构建,未发布)++**这是给用户实机测试用的 beta 包,不是正式发布。** 构建来源:分支+`codex/capture-decode-latency-20260916`(未合并 main、未推送、未创建 Release)。+本包在 1.3.1beta 全部内容之上,重点是**采集(MPEG/压缩格式)链路重构**。++## 采集链路(本次重点)++- **压缩格式不再走系统解码器**:MJPEG/H.264/HEVC/AV1/VP9 由 `ConnectDirect` 直接送入我们的+ 压缩 sink,解码由自有后端完成,不再经过"系统解码器 → 强制 RGB32 → SampleGrabber"这条路径。+- **MJPEG 自有软解 worker**:DirectShow 回调只拷贝压缩 payload(数百 KB),独立线程解码为+ full-range NV12;有界队列丢旧保新。本机 2 分钟实测:1080p60 与 4K18 均 0 丢帧、+ `errors=0 queueDrops=0`;图侧每帧 CPU P95 1080p 1.987→0.36ms、4K 6.218→0.92ms。+- **H.264/HEVC/AV1/VP9 走 D3D12VA**(共享 Veyra 设备),纹理直入图;首帧不可导入自动回退软解。+ 本机采集卡没有这两种格式,合成码流验证:H.264 硬解/软解各 900 帧、HEVC 各 252 帧,帧数一致。+- **三级回退**:D3D12VA → 软解 → RGB32 兼容路径;任一级失败不断流,日志写明当前后端。+ 采集面板的格式列表里压缩格式仍排在原生格式之后(延迟档位标注不变)。+- **延迟口径注意**:`[capture-timing]` 的 `callback→Present` / `readAgeMs` 现在包含我们自己的解码+ (旧路径的解码发生在系统解码器里、不在窗口内),因此这两个数字与旧版本**不可直接比较**;+ 端到端延迟请用相机法或与 OBS/PotPlayer 同源对比。++## 颜色++- 采集颜色 A/B 工具(`veyra_capture_color_probe.exe <采集路径> <目录> [--legacy-rgb]`)修复了+ 双平面格式的越界崩溃,现在新/旧两条路径都能输出对照图。**静止画面的逐像素验收还没做**,+ 测试时若发现颜色异常请附上两条命令的输出。+- H.264/HEVC 的 in-band 参数集与 `MPEG2VIDEOINFO`(Annex-B / avcC / hvcC / 长度前缀四种形态)+ 都做了解析;10bit 压缩输入目前会降位到 8bit(日志会写警告),HDR 压缩采集未实现。++## 继承自 1.3.1beta(不变)++- DLSS 6X(50 系)/ 40 系 MFG 解锁 / XeSS MFG(2X-4X)/ AMD FSR 帧生成与超分;+- 杜比/DTS 位流解码兜底(AC-3/E-AC-3/TrueHD/DTS/DTS-HD)与采集音频手动选择;+- 原生采集格式(YUY2/NV12/RGB 系)的 N1/N3/N4 优化(GPU 解包、格式排序、缓冲协商)。++## 测试重点++| 场景 | 建议 |+| --- | --- |+| MJPEG 采集卡(1080p60 / 4K) | 关闭全部增强,与 OBS/PotPlayer 对比延迟体感;看 `[capture-timing]` 的 `readAgeMs` 与 `captureDropped` |+| H.264/HEVC 采集卡 | 确认能出画面;日志应有 `compressed ConnectDirect codec=h264/hevc ... hr=0x0` 与 `backend=d3d12va`;若显示 `backend=software` 或回退 RGB32,请把日志发回 |+| 颜色 | 静止画面下跑 `--legacy-rgb` A/B(见上) |+| 原生格式卡 | 确认无回归(应与 1.3.1beta 一致) |++## 已知边界++- H.264/HEVC 未在本机真卡验证(本机卡只有 YUY2/MJPEG);AV1/VP9 采集未验证。+- 端到端光子延迟未测;4K18 的 `readAgeMs` 与上一内部版本存在 0.4–3ms 无法定性的差异。+- 帧池固定 4 帧(1080p 约 12MB / 4K 约 50MB 系统内存)。++## 包内容++- `Veyra.exe`、FFmpeg 运行库、VC 运行库、`shaders/`+- `runtime/experimental/`(NVIDIA 组件)、`runtime_local/intel/experimental/`(XeSS)、+ `runtime_local/amd/fidelityfx/`(AMD FidelityFX SDK 2.3.0,MIT,AMD 签名)+- 许可证、第三方 notices、`release-runtime-manifest.json`diff --git a/docs/REMOTEPLAY_BUILD_1.3.2.md b/docs/REMOTEPLAY_BUILD_1.3.2.mdnew file mode 100644index 00000000..aab73c8f--- /dev/null+++ b/docs/REMOTEPLAY_BUILD_1.3.2.md@@ -0,0 +1,15 @@+# Remote Play build and corresponding source / 串流构建与对应源码++The 1.3.2 portable package enables `VEYRA_ENABLE_REMOTEPLAY`. The default build without this option does not include PS5 Remote Play. This beta package is built from the isolated branch `codex/capture-decode-latency-20260916` (not merged, not pushed); the `v1.3.2` tag will be created when the build is released.++Application source: https://github.com/Likely7/Veyra-NRVideo (tag `v1.3.2` at release time)++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.2-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.2.md b/docs/RUNTIME_COMPONENTS_1.3.2.mdnew file mode 100644index 00000000..2955c63b--- /dev/null+++ b/docs/RUNTIME_COMPONENTS_1.3.2.md@@ -0,0 +1,47 @@+# Veyra 1.3.2 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.+# Veyra 1.3.1beta 运行组件清单(测试包)++本清单说明测试包里 `runtime/` 与 `runtime_local/` 下的运行组件来源与身份,+与 `release-runtime-manifest.json` 一一对应。1.3.1beta 相对 1.3.0 **新增 AMD FidelityFX 组件**+(MIT 许可,AMD 签名),用于 FSR 帧生成与 FSR 超分;NVIDIA / Intel 组件身份不变。++## 新增(1.3.1beta)++| 文件 | 目录 | 版本 | 类别 |+| --- | --- | --- | --- |+| `amd_fidelityfx_loader_dx12.dll` | `runtime_local/amd/fidelityfx` | 2.3.0.2740 | AMD FidelityFX SDK 2.3.0 loader |+| `amd_fidelityfx_framegeneration_dx12.dll` | `runtime_local/amd/fidelityfx` | 4.0.1.2740 | 帧生成提供方(本机枚举到 3.1.6/3.1.7 能力) |+| `amd_fidelityfx_upscaler_dx12.dll` | `runtime_local/amd/fidelityfx` | 4.1.1.2740 | 超分提供方(本机枚举到 3.1.5/2.3.4) |++三者的 SHA-256、签名状态(AMD 有效签名)与大小见 manifest;许可证文本在+`licenses/AMD-FIDELITYFX-LICENSE.txt`(MIT)。**注意**:这些是 AMD 官方签名产物,+不是 NVIDIA 运行库,不受 NVIDIA EULA 的 Release Runtime Pack 限制。