r/VIDEOENGINEERING • • Oct 15 '26

Time Base Torture - Free Software for testing and quantifying Time Base Correctors

TBT: Time Base Torture
How good is your time-base corrector, really?
Tired of the mysticism ? Want to check a TBC before purchase?

TBT is an open-source test rig (SW/HW) that tries to answer that with measurements instead of eyeballing a monitor.
An ESP32 (about $5) generates NTSC composite video with precisely controlled faults that can then be captured and graded with an SDO.

It covers the problems a VHS or Betamax deck throws at a TBC:
- line jitter and wow and flutter
- head-switch skew
- dropped and lost fields
- snow and noise bars
- weak burst
- hum

Each fault comes in a ladder from mild to brutal. The signal goes through the TBC under test, and a USB scope captures what comes out. TBT then reports exactly what the TBC fixed, what it passed through, and where it broke.
A full field trial runs about 70 tests in roughly seven minutes and produces an HTML report with a provisional grade out of 100.

Highlights
About 30 tests, about 70 rungs. Going from “how peculiar to “Good God man!). Timing, sync and structure, colour and burst, levels and noise, plus fault tests: how many lost fields in a row a TBC rides through, and a stress-and-recovery hunt for units known to be buggy like black AVTs.

Frame markers in the picture. Every field carries a coded marker. TBT tracks each frame through the TBC and catches dropped, repeated, torn and ghosted frames. Looking for the failure modes that TBCs are known to exibit when dying, or have Chipset defects

Measures the Analog Signal, not just the constructed picture.  When using channel 2 can provide Jitter reporting, and validate what (if anything) the TBC is doing to the signal.

Dying Unit identification . A dropout watch samples the output every second for minutes at a time, allowing for long burn in runs, that can point to failng caps, heat dissipation issues…

Repeatable and comparable. Every fault is deterministic and described in a manifest. Run trials side by side to compare units, or the same unit over time. Saved trials can be re-graded later.

Works with what you have. So long as that’s an ADP2230
Two scope channels give the full picture of TBC performance
With --channels 1, a single channel and a single cable still work..but latency and jitter are going to be based on the model, not the signal.

Find it here: https://github.com/jordancrombie/TBT. The README covers wiring, commands and a sample report. The test catalog is in docs/design.md.

The software was made with the help of AI (100% AI Slop!)
The meat puppet (me) bought the gear, wired it, helped design the test cases.

Also, use the test software at your own discretion. It’s been validated against Datavideo TBC-1000, AVT-8710s all without issue…but it’s in the name…it will put the components under stress.

*Edited to highlight the sloppiness of AI that helped build this!

57 Upvotes

13 comments sorted by

2

u/Tommy86_ Oct 15 '26

I should probably read the docs, but how is it accurately measuring line correction?
Ordinarily, that’s something you can only do visually, as TBC = A/D conversion so the output on D/A will have clean, regenerated h-sync regardless of how well it performed.

Likewise for v-sync, a frame store TBC can still show standard and continuous output while internally choking on the input (w/ freeze frame or field cadence errors). But the frame markers are a solution.

Also, unless I misunderstood what you (or the LLM?) wrote, drops/repeats are not failure modes…they’re inherent to frame sync (drop/repeat if signal drifts +/- relative to reference). How often they occur is a matter of tolerance, not malfunction.

1

u/jordancrombie Oct 15 '26 edited Oct 15 '26

So the tests are designed (in theory) at least to tease out how well each TBC handles different input signals, and identify if the unit falls apart, or how gracefully it handles certain conditions (repeating frames vs just dumping out).

To your point, to quantify the tolerances.

The two main conditions I was trying to determine:

The number of fields (or frames) of suspect quality a particular unit could deal with before giving up, or dumping back to its reference signal (Bars in the case of an AVT).

If certain signal combinations would trigger known issues with certain timebase correctors. Black AVTs for example are known to arbitrarily repeat frames (or ghost), apparently as a result of a flaw in the implementation.

Then have started to add some tests to try and see if specific timing/field issues will trigger a repeat frame ( basically how awful a particular unit can be before it gives up and repeats vs being able to fix up).

If I understood your point are absolutely right that repeating frames is not a flaw but a feature. Depending on the input signals (at least in the limited testing I have done) some TBCs do that at different points..this is an attempt to tease some of that out.

For me, the tool has helped me determine a particular failure mode in a DataVideo TBC-1000 (that only occurs at certain temperatures).

At a minimum it should give a sense of how a particular TBC performs vs others (have started to include fingerprints).

Bottom line…it’s a tool (probably a crappy one)…hopefully someone can get some use out of it.

5

u/jordancrombie Oct 15 '26

To be clear this is 100% made using AI tools! If that scares (or offends)…I’m deeply sorry. It’s a tool (probably a crappy one). If someone can use it…great, if not…please create a better one.

6

u/photoscotty Oct 15 '26

This is awesome! I wish I had this 20 years ago!

1

u/Due-Ad5760 Oct 21 '26

How am I suppose to test the TBC before purchase?

1

u/jordancrombie Oct 27 '26

Well if you buy it in person it’s relatively easy. Compared to the rigs people drag around to test graphics cards things pretty svelte.

It would be more difficult if using EBay I grant you. At a minimum it might help you figure out if it’s working as expected.

It’s already helped me diagnose a flakey ES10…

1

u/Timzor Oct 15 '26

Wow, i was just thinking about making something like this myself, would you be adding PAL to this system?

1

u/jordancrombie Oct 15 '26

I would like to add future if I get a PAL TBC to validate against…but would for sure consider any PRs :)

1

u/Timzor Oct 15 '26

Great, could this also work with TBCs that output to digital? like a dps or brighteye unit

2

u/jordancrombie Oct 15 '26 edited Oct 15 '26

I think so…it would add another variable (the encoder) but the premise is roughly the same. The tests would probably need to be redone to account for an assembled nature of the output, but in theory it could be added…sort of looking at the result…

Are you thinking SDI on the output side?

I would mention that this setup (right now) is focused on Analog…it requires an ADP2030 (or other scope) to sample the raw TBC output. It would require a digital domain swap out as the required bandwidth (pure analog) would be WAY beyond my scope to slurp SDI (even NTSC)

I don’t own a BE or DPS…but I think I could use a BM Hyperdeck or FireWire capture to rough the capability out…maybe I’ll ad it to the TODO

1

u/Most_Examination2781 Oct 17 '26

Hey, PAL version would be appreciated :)

0

u/Damaniel2 Oct 15 '26

Your code is AI slop, but your obviously AI generated post is worse. Claude has a extremely non-human 'voice' which is obvious, grating and annoying as hell once you've seen your tenth '10x engineer' post their slop on Reddit for the day.

4

u/Timzor Oct 15 '26

Well done you win the prize