Repository navigation
v0.1.7162
Stable release 0.1.7162 built and fully verified from f507bf3.
Highlights & Changes
Improved
-
Capture startup and release robustness: host GPU-load metrics now defer driver-state allocation until the first sample instead of allocating during static initialization. The low/high load snapping behavior is unchanged, startup no longer carries an uncaught static-initialization exception risk, and release packaging now finishes before a fatal lint result is propagated so the actual gate failure is reported accurately.
-
Hardware encoder open-failure trace diagnostics: when
avcodec_open2fails (includingh264_amf,hevc_amf,av1_amf, Quick Sync, and NVENC), Capture Engine now flushes the bounded thread-local libav debug trace captured during the failed open (and includes the last line inencoder=autoprobe rejections). This surfaces AMF's own internal property/init rejection lines (which FFmpeg's AMF trace writer logs atAV_LOG_DEBUG) without adding any log noise when opens succeed. -
Reliable, responsive overlay GPU load reporting: replaced raw single-poll Windows PDH
\GPU Enginereporting with a three-tier sampler and stabilizer. On NVIDIA GPUs (including multi-GPU systems, matched per adapter LUID via PCI bus and device), Capture Engine now integrates hardware PMU utilization samples directly from NVML (nvmlDeviceGetSampleswithnvmlDeviceGetUtilizationRatesfallback), measuring actual graphics/compute core activity instead of WDDM scheduler residency. This eliminates the 0%/100% jumping seen in high-FPS Direct3D 9 workloads under HAGS (Mirror's Edge) as well as inflated ~100% GPU load readings when FIFO V-Sync holds queued frames waiting on scanout. On non-NVIDIA GPUs (AMD, Intel) or when NVML is unavailable, Capture Engine reads adapter-wide WDDM node running times directly throughD3DKMTQueryStatistics(excluding video encode/decode/OFA/JPEG engines), detects invalid PDH counter statuses instead of publishing false 0% readings, suppresses single-poll WDDM dropouts while confirming real idle drops on the next poll, and polls active targets every 500 ms to match the overlay's text refresh.
Changed
-
FFmpeg 9.1 stable: updated the bundled custom FFmpeg from the pre-release
release/9.1snapshot to the upstreamn9.1release tag (commit74e4393595cf2b5857f0da925c4e0dd74ea306e5). The stable branch retains native AAC NMR coding and the project's seven local patches, so encoder quality, CFR timing, and audio/video synchronization behavior remain on the validated 9.1 codec path. -
Cleaner default
[AMF]config template:captureengine/config.ini.templatenow keeps the core AMF controls (usage,preset,qp,lookahead,spatial_aq,temporal_aq,aq_strength) active with accurate compatibility notes, and comments out advanced or streaming-only knobs (async_depth,preanalysis,preencode,high_motion_quality_boost,b_ref_mode,enforce_hrd,filler_data) whose defaults are already managed automatically. Existingconfig.inifiles continue to parse all keys unchanged.
Fixed
-
FFmpeg corresponding-source packaging with release tags: fixed source-archive generation to resolve an annotated FFmpeg pin such as
n9.1to its peeled commit before checking the clean checkout. The archive manifest records both the tag and exact commit, preserving fail-closed provenance without rejecting the released source. -
AMD AMF encoder option compatibility and failures: fixed several invalid option combinations that caused
h264_amf,hevc_amf, andav1_amfto fail encoder initialization or stall:- Changed
[AMF] preanalysisto default toauto(still acceptingtrue/false/enabled/disabledfor existing configs) soCQ/QVBR,HQVBR, andHQCBRrate-control modes automatically enable AMF PreAnalysis instead of explicitly forcingpreanalysis=0. - Stopped emitting mutually exclusive encoder-side
vbaq/aq_modeandhigh_motion_quality_boost_enablealongside PreAnalysis AQ/high-motion options, and explicitly emittedpa_lookahead_buffer_depth(raising to at least1when temporal AQ or PA high-motion boost is active, withpa_taq_mode=2for DX11 gaming) so AMF's 11-frame usage default cannot deadlock a smallerasync_depth. - Guarded incompatible combinations cleanly: disabled
preencode, PreAnalysis,spatial_aq(includingav1_amfaq_mode=caq),high_motion_quality_boost,enforce_hrd, andfiller_dataunderCQP; restrictedfiller_datatoCBR/HQCBRandpreencodeaway from low-latency usages; rejected 10-bit/HDRCQ/QVBR/HQVBR/HQCBRup front while cleanly disabling optional PreAnalysis assists on 10-bitP010input; and enforced AMF's1-51QVBR and1-255AV1 CQP lower bounds.
- Changed
-
ReLimiter 4.0 and ReShade add-on compatibility: made Capture Engine coexist cleanly with ReLimiter 4.0 and other ReShade add-ons so frame pacing, Streamline frame generation handoff, and both overlays work together:
- Step past peer threads whose kernel DACL explicitly denies suspend/context access (
ThreadQuiescenceon bothNtGetNextThreadand system-snapshot walks) so co-resident anti-freeze hook installer threads no longer block Capture Engine's inline/deep hooks. - Classify ReShade add-ons (
.addon64/.addon32/.addon) as third-party overlay/add-on modules without inflating the tracked overlay count, keeping Capture Engine from patching their IAT or hijacking theirGetProcAddress,nvapi_QueryInterface, andNvAPI_D3D12_SetFlipConfiglookups. - Preserve the real
sl.dlss_g.dll/sl.reflex.dll/sl.pcl.dllfunction pointers returned byslGetFeatureFunctionwhenever Capture Engine's direct inline hook is active (and always for third-party overlay/add-on callers), so co-resident tools discover the real Streamline plugin image and chained entry hooks run. - Inline-hook native
D3D12Core.dll/d3d12.dllID3D12CommandQueue::ExecuteCommandListsandSignalinstead of overwritingID3D12CommandQueuevtable slots[10]and[14]in place, preserving the class vtable slots that ReLimiter 4.0's queue-based pacer and Streamline GPU handoff require.
- Step past peer threads whose kernel DACL explicitly denies suspend/context access (
-
Direct3D 10 startup crash: fixed a stack overflow when a Direct3D 10 application loads part of the graphics runtime after Capture Engine initializes its hooks.
-
Windows build self-tests with launcher-provided Git settings: fixed false failures in the repository privacy and release authentication tests when the launcher supplies Git configuration with an empty value.
-
Build self-tests after a denied process launch: finish independent suites and retry the denied launch once after the parallel batch. Persistent launch failures name the suite and OS error in the build report.
Release Assets
captureengine-0.1.7162.7z: core product binaries, PDBs, FFmpeg closure, and default configurationcaptureengine-setup-0.1.7162.exe: graphical installer and uninstaller (shortcuts, startup, elevation service, optional PawnIO driver)testapps-0.1.7162.7z: standalone graphics & frame generation test executables and diagnostic toolsffmpeg-corresponding-source-0.1.7162.7z: complete LGPL corresponding source archivelatest_manifest.json/latest_summary.txt: full build and verification evidence
Distribution & Licensing
- FFmpeg is distributed as shared libraries under LGPL-2.1-or-later; see bundled notices.
- Binaries are verified with PE hardening checks (ASLR, DEP/NX, CFG) and are not Authenticode-signed.