Doh! there's a better filter for this: photosensitivity. It detects local brightness changes that sum to 0, unlike deflicker and apparently the Apple algorithm.
drawgraph can be bodged to convert metadata to frames, and signalstats the opposite. This enables silly things like a self-contained filtergraph mimicking Apple's demo with plots and usable in mpv.
Tools > Effects and Filters > Video Effects > Advanced > Anti-Flickering
Tools > Preferences > Show settings: All > Search: antiflicker
(generate test video): antiflicker and deflicker are different implementations