Skip to content

Tool comparison trend

This page compares AC-3 and E-AC-3 encoders. AC-4 is not compared here. Its encoder is raced against Dolby's DEE encoder by tools/checks/score_ac4_encode.py --gold, which runs locally because DEE is licensed and never runs in CI; see Validation. Its own scores, run by run, are AC-4 encode quality.

The commit-level half of the external-encoder landscape comparison — see Landscape for the release-facing headline number. Each nightly run on main encodes the same eight fixed legs tools/generators/gen_external_baseline.py measures FFmpeg's and Dolby DEE's encoders against, scores this build's own output through forge's own decoder (no FFmpeg, no DEE, at CI time — see tools/ci/quality_race.py's trend mode), and appends the numbers here. The job that computes them, FFmpeg Validate, runs nightly, so the series has a point a night, not one per merge. It exists to answer a narrower question than the landscape page: not "are we competitive with the outside world" but "did this specific Annex E tool get better or worse as the code changed" — one row per (leg, tool-set), not just the single black-box number a real user actually gets.

The landscape row is E-AC-3's auto tools — the set this encoder picks from the per-channel rate and the frame's own content (see Encoding E-AC-3), and so the configuration comparable to FFmpeg's/DEE's own automatic best-effort choices (AC-3 has no such toggle; coupling, rematrixing and delta bit allocation are unconditionally automatic there). It is the same encode as the auto variant row, which is why those two lines coincide exactly; the remaining rows are the forced sets auto is choosing between, which is what makes the cost of each one legible here. It carries vs_ffmpeg/vs_dee columns — the delta against the committed baseline's numbers for the same leg — that the other rows don't, since only landscape has a matching external number to compare against. A leg whose DEE score is marked unverified in testdata/external-baseline/manifest.json (see that file's own header) shows no vs_dee value rather than one computed against a number that was never real. At baseline version 2 that is the two 64 kbit/s stereo legs, where DEE's stereo range starts at 96 kbit/s, and rows recorded against an earlier baseline keep the gap they were recorded with.

Same two-tier regression check as Quality trend: a soft one (0.5 dB below the trailing 10-run mean for the same leg/variant/branch) that only annotates a row, and a hard one (10 dB below) that fails the CI run that produced it — after the numbers are still recorded here. See REGRESSION_DROP_DB/HARD_REGRESSION_DROP_DB in tools/ci/append_external_comparison_history.py.

MOS is a perceptual-quality prediction alongside the waveform-level SNR — ViSQOL's MOS-LQO (Mean Opinion Score - Listening Quality Objective) in audio mode, 1 (bad) to a ceiling around 4.75, via the visqol-python package (see perceptual_score() in tools/ci/quality_race.py for why ViSQOL over PEAQ and why that package specifically). It has a soft regression tier of its own — 0.15 below the trailing 10-run mean warns, and nothing about MOS ever fails a run. That asymmetry is deliberate: ViSQOL predicts a listening-test result rather than measuring the signal, it is scored on a bounded window where SNR spans the whole fixture, and it is bounded above at ~4.75 so it has nothing like SNR's dynamic range. MOS_REGRESSION_DROP carries the reasoning and the measured number behind 0.15.

Rows older than 2026-08-23 show - for MOS, on every leg and every variant. That is not a zero score: CI did not install visqol-python until then, so the column was never populated. Rows from that point on carry real numbers.

Loading trend data…

Reading it

Each row is one (commit, leg, tool-set) result. The Chart control picks what the lines represent, always within the single leg selected above. "By branch" (the default) plots a single focus variant (landscape by default — "Chart line" selector) as one point per commit per branch, against a shared calendar x-axis — this view answers "did this variant regress." "By variant" answers a different question instead: it un-folds a single branch (picked with the Branch control that replaces the branch checkboxes in this view) into one line per tool-set variant, so a variant drifting relative to its siblings — e.g. cpl alone trending down while all holds steady — is visible as its own line rather than something you'd only catch by toggling the focus variant one at a time. AC-3's only variant is landscape, so switching to "By variant" on an AC-3 leg draws a single line — the other ten simply have no points there. The table below can still show several variants' rows at once via the checkboxes regardless of which chart mode is active, so you can compare e.g. none against all without switching the chart back and forth.

develop and main behave exactly as on Quality trend: main's full history is the default view, develop's frozen pre-2026-08-25 history is available as an explicitly-labelled historical track (dashed, muted) via the same "Show historical" control, and a 🏷 badge marks a row whose commit was tagged as a release.

vs FFmpeg / vs DEE are only populated on landscape rows — the delta between this build's own auto-tools E-AC-3 encode (or AC-3's automatic-everything encode) and the corresponding tool's number in the checked-in external baseline for that same leg, at the baseline_version recorded alongside it. A blank vs DEE cell on a landscape row means that leg's DEE score is marked unverified in the baseline manifest, not that the delta was zero — at baseline version 2 that is the two 64 kbit/s stereo legs, where DEE simply cannot encode: its stereo Dolby Digital Plus rate range starts at 96.

Where the data lives

Same mechanism as Quality trend: a dedicated quality-history branch, external-comparison-<branch>.jsonl this time, written by a job in _ci-core.yml (persist-external-comparison-trend, called from ci.yml) downstream of ffmpeg-validate's compute-only trend step, on main only. FFmpeg Validate runs in the nightly run and not after a merge, so the job publishes once a night.

external-comparison-develop.jsonl stopped gaining rows on 2026-08-24, the same migration to trunk-based development that froze Quality trend's develop.jsonl — see that page for the detail. It is kept as-is and is what the "Show historical" control above reads.