**Setup:** cxadc on a Conexant CX23880 (PCI), 28.636 MSPS 8-bit, NTSC VHS, SP.
Decoded with vhs-decode, exported with tbc-video-export (`--chroma-decoder ntsc3d`).
**The problem:** every scene with blown-out highlights — stage strobes, white
flashes — came out destroyed. Frames torn horizontally with the blanking band
shoved into the picture, plus rainbow chroma smeared over whole passages.
I spent a while blaming the tape, the deck, my RF path, my gain setting. None of
it. The default per-frame video-level re-measurement mis-reads on clipped
highlight frames and takes the demodulation down with it.
`--use_saved_levels` removes all of it.
vhs-decode's own help says:
> Try re-using video levels detected from the first decoded fields instead of
> re-calculating each frame. Will be done by default once well tested
So I tried to do the "well tested" part.
---
**Method:** one RF capture (13.1 GB, 7 min 37 s, 27,390 frames), decoded twice.
Only that flag differs. Same binary, same export, same analysis scripts, same
everything else.
**Results — full tape, every frame:**
| metric | default | --use_saved_levels |
|---|
| torn frames | 1,265 / 27,392 | 0 / 27,390 |
| max band width in a frame | 67.97 % | 0.00 % |
| rainbow chroma, body of tape | 17 regions / 27.69 s | 0 / 0.00 s |
| rainbow chroma, tape end | 1 region / 17.68 s | 1 region / 17.65 s |
| dropouts | 298 | 304 |
---
**Three controls, because "it looks fixed" is not evidence**
Something that merely kills chroma and smooths frames would also zero the first
three rows. So:
**1. The dropout count does not fall.** 298 → 304 (±2 %, same RF — that's decode
jitter). If the flag were hiding defects rather than fixing them, this number
would drop.
**2. The genuine damage survives.** All 17 rainbow regions in the body of the
tape vanish. The real damage at the physical end of the tape (439.5–457.1 s)
stays, essentially unchanged. Indiscriminate desaturation would have taken that
too.
**3. Normal picture brightness doesn't move.** Sampled at 1 fps across the whole
tape, excluding all-black and all-white frames (380 frames):
| mean luma | black point (1 %) | white point (99 %) | first half | second half |
|---|
| default | 91.936 | 1.000 | 185.000 | 88.992 | 95.438 |
| saved levels | 92.698 | 1.000 | 184.000 | 90.401 | 95.447 |
| difference | +0.762 | 0.000 | −1.000 | +1.409 | +0.009 |
The difference **shrinks** over time. If the saved levels were drifting away
from reality, it would grow.
---
**Caveats, up front**
- **One tape, 7 min 37 s. No long-run test.** If a 2-hour tape ends up brighter
or darker at the end than at the start, this flag is the first thing I would
suspect. I standardised on it anyway, with that written down.
- I also use a parallel decode mode that splits the RF into segments decoded by
separate processes. There, `--use_saved_levels` fixes levels from the first
field **of each segment**, so boundaries could disagree. Untested. If anyone
has looked at this, I'd like to hear it.
- My automated QC passed the *broken* version on all 15 of its checks. It only
verifies that the file isn't corrupt, not that the picture isn't. I also
caught myself calling it "fixed" twice from numbers alone before a human
watched the whole thing end to end. That step isn't skippable.
---
**The question:** does anyone know of material where per-frame re-measurement is
actually the better choice? If not, this looks ready to be the default — the
help text already says that's the intent.
Happy to share the analysis scripts (torn-frame detector, chroma-region
detector) if they're useful to anyone.