mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-23 17:04:19 +01:00
feat(video): motion, framediff, blank and compare for recordings
Built-in frame analysis for agents that scripted ffmpeg tblend/signalstats. motion is changes with an optional --region (display points) and a peak mean luma delta; framediff compares two frames (or one moment of two recordings with --against) with an optional PNG; blank reports stretches where a region is near-uniform (named colour) or frozen; compare sets two recordings side by side. changes now shares the engine with motion and behaves as before. The crop API takes a rect so a window rect can be passed later. No macOS-specific code touched (not buildable here).
This commit is contained in:
1 parent
1f6e4cef05
commit
6af9eabd27
14 files changed
+2942
-109
No files matched your search
@@ -119,6 +119,10 @@ and `event:12.end` when it finished.
|
||||
| `search TEXT` | Where a word appears: komorebi's log, events, incidents, annotations (and `--oslog` for the macOS trace) |
|
||||
| `changes` | When and where on each display the picture changed, and which events fall inside |
|
||||
| `sheet` | A contact sheet image of frames with times, events and the bug region marked |
|
||||
| `motion [--region x,y,w,h]` | When, and how hard, a display or a region of it was moving: segments with start, duration, frame count, peak share of pixels changed and peak mean brightness delta (replaces scripting ffmpeg `tblend`) |
|
||||
| `framediff A B [--region ..] [--png FILE] [--against SESSION]` | How two frames differ: changed share, mean and peak brightness delta, the box of change, and a PNG with the changed pixels in red |
|
||||
| `blank --region x,y,w,h` | When a region was blank (one colour, named: `white`, `black`, a hex code) or frozen (identical to the frame before): "the window went white for 200 ms" |
|
||||
| `compare A B` | Two recordings side by side: duration, frames, effective fps, worst frame gap, motion, findings by kind, annotations, and the difference |
|
||||
| `annotate`, `annotations` | Add, change and list bug regions, notes and findings |
|
||||
|
||||
### Who changed it
|
||||
|
||||
Reference in new issue
Block a user