forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/census-longgop-v2.mdClear filter

2026-09-07

fix(av1): the probe armed a window film B does not haveAhmet Kaan Gümüş · 2ebcc2c
fix(av1): the probe armed a window film B does not have

`examples/enc_probe` was handed its crop by hand, and every long-GOP
census so far passed `crop=1920:1024:960:568` -- the centre of a
3840x2160 frame. Film B is coded 3840x1608, so the gate's own window is
`crop=1920:1024:960:292`: the instrument measured different pixels than
the gate it reported on (60466 B vs the gate's 90674 B at q=150), and
the probe also had no `-ss`, so on any clip it read from frame 0
instead of the gate's pinned seek.

One definition of the arming now serves both: `ec_av1::probe::source`
(the loader, with the seek) and `ec_av1::probe::gate_crop` (the
superblock-aligned centre window, from ffprobe), called by the probe and
by `encode::tests`' `clip_frames_vf`/`native_bd_arm`. The probe takes
`gate` as its width argument to ask for that window, and `EC_ENC_SS` for
the seek. In gate mode the probe now codes 90674 bytes on film B at
q=150 -- byte-exact with `bd_rate_film_long_gop`'s own ladder point.

`lanes/census-longgop-v2.md` re-takes the per-level census on the real
window; the v1 shares were off (ARF 49.3% -> 53.8%, key 25.6% -> 21.6%).