Skip to content

Latency Analyzer 0.4

Choose a tag to compare

@MoreOrLessSoftware MoreOrLessSoftware released this 30 Nov 02:15
· 8 commits to main since this release
File Goes on What it is
LatencyAnalyzer-0.4-windows.zip The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings
LatencyCam-0.2.1.apk The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) Films the display

latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.

What's fixed

  • Frames captured late in the frame are matched to the right capture: with Sunshine's frame log, each test app present was matched to the first capture from 2 ms before it to 8 ms after it. When a frame reached the desktop more than 8 ms after its present (9.4 ms was seen on a 119.88 Hz host display at 97 fps), it took the previous frame's capture instead: host present → capture read about −0.9 ms, and every stage from the capture to the photon came out a whole frame too long. A present is now matched to the first capture at or after it, up to 50 ms later, and when one capture takes several presents it goes to the newest. Recordings whose frames were captured within 8 ms analyse exactly as before. Delays longer than a whole frame interval still can't be told apart from one a frame shorter.
  • Latency Cam and latency-test.exe are unchanged from 0.3; the APK is attached again so this release has everything you need.

Licences

This project is licensed under the GPLv3, and this release's source is at the v0.4 tag (the APK was built from v0.2.1). The files above also contain third-party software under its own licence:

  • latency-analyzer.exe (in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)
  • latency-test.exe (in the zip): QR Code generator by Project Nayuki (MIT)
  • LatencyCam-0.2.1.apk: ZXing core (Apache 2.0)