Landscape¶
How ICL Forge's encoder compares to FFmpeg's and Dolby's own (DEE, the Dolby Encoding Engine) at matched bitrates, release by release. This is the headline number — see Tool comparison trend for the commit-level, per-Annex-E-tool detail this page deliberately doesn't show.
The comparison is necessarily one number per (leg, tool): neither FFmpeg's
nor DEE's own E-AC-3/AC-3 encoder exposes which internal coding tools it
used, so there's no apples-to-apples way to isolate "just coupling" or "just
spectral extension" against them the way this project can against its own
history. What's shown is landscape — this project's auto-tools E-AC-3
encode (the set the encoder picks from the per-channel rate, which is the
like-for-like answer to FFmpeg's and DEE's own automatic choices), or AC-3's
unconditionally-automatic encode — since that's the number a user of
either tool gets, not an internal detail.
This page covers the AC-3 and E-AC-3 encoders. AC-4 is not in it: its encoder is scored in CI
against floors, decoded and compared with its own source (tools/checks/score_ac4_encode.py),
and those scores are a series of their own, AC-4 encode quality.
Its race against DEE's streams of the same sources runs on a maintainer's machine and keeps no
history to show here (Validation: AC-4). TrueHD is not in it either. A lossless
encoder has no quality to race, only size: tools/checks/verify_truehd_encode_interop.py records the TrueHD
encoder's output beside FFmpeg's encoder's for the same input (0.85 to 0.96 times the size at 44.1 to 96 kHz, larger at 192 kHz, on full-scale squares and with the downmix
presentations), and keeps no history; TrueHD against FFmpeg and DEE holds the measured table and the method. DEE's TrueHD
streams are not raced (Validation: TrueHD).
Loading landscape data…
Spectrograms¶
A visual supplement to the table above — one image per leg, each stacking the original source against ICL Forge's own decode and, where the baseline has a trustworthy score for it (see n/a below), FFmpeg's and DEE's own decodes of the same material at the same bitrate. All four panels are present on every leg from baseline version 2 onward; before that the two 5.1 legs had no DEE panel, because DEE had no trustworthy score for them.
These are not tied to any specific release row above — there is only a
single "latest" image per leg, regenerated by each run of FFmpeg Validate on
main (the nightly run, see CI for many agents), never one
per historical release. If the image looks newer than the table row you're
comparing it against, it is: the images have no history of their own, only a
current snapshot. They come from the same quality-history branch
mechanism as the table's own numbers (see "Where the data lives" below) —
generated in CI by tools/ci/quality_race.py's render_spectrograms()
(trend --spectrogram-dir), decoding this build's own encode plus the
committed testdata/external-baseline/ FFmpeg/DEE bitstreams — never
invoking FFmpeg's or DEE's own encoder, same boundary as the numbers.
Reading it¶
Each row is one (tagged release, leg) result — a release cuts one commit on
main, and that commit contributes one row per leg. Alternating row shading
marks where one release's rows end and the next begins, so a release's leg
rows read as one band rather than blending into the wall of numbers below.
There are eight legs as of baseline version 2. The first three go back to the first baseline and are unchanged, so their series are continuous:
| Leg | Codec | Layout | Rate | Material |
|---|---|---|---|---|
ac3-51-448 |
AC-3 | 5.1 | 448 kbit/s | synthetic |
eac3-stereo-192 |
E-AC-3 | stereo | 192 kbit/s | synthetic |
eac3-51-256 |
E-AC-3 | 5.1 | 256 kbit/s | synthetic |
eac3-stereo-96 |
E-AC-3 | stereo | 96 kbit/s | synthetic |
eac3-stereo-64 |
E-AC-3 | stereo | 64 kbit/s | synthetic |
ac3-music-stereo-192 |
AC-3 | stereo | 192 kbit/s | music |
eac3-music-stereo-96 |
E-AC-3 | stereo | 96 kbit/s | music |
eac3-speech-stereo-64 |
E-AC-3 | stereo | 64 kbit/s | speech |
The five added at version 2 close two different gaps.
Rates where the Annex E tools run. ICL Forge's auto decides per frame,
from the rate and the frame's own content
(libs/ac3/src/encoder/eac3_frame.cpp): coupling starts below about
12 + 14n kbit/s per channel for n channels, and spectral extension below a
ceiling of 55 to 110 kbit/s per channel, higher the emptier the frame's top
end. The
first baseline had one stereo leg, at 192 kbit/s (96 per channel), where
auto on the synthetic fixture uses spectral extension in most blocks and
coupling in a few. The two stereo legs added at version 2 sit at 96 kbit/s
(48 per channel) and 64 (32 per channel), where auto uses spectral
extension in every block.
Material that is not band-limited. The synthetic fixtures are 2.5–3 s of
sin(), pseudo-random noise and FIR smoothing, which leaves a flat noise
plateau across the whole top octave — a shape no real programme material has,
and one that has already produced a measured, fake 2.1 dB "win" when the
encoder's bandwidth default was tuned against it. The three programme legs
use 30 s CC0 recordings of real speech and music instead. The synthetic legs
stay: their series are the history this page exists to show, and breaking
that continuity to swap the material would throw it away. See
tools/generators/README.md
for the sources, licences and measured spectra.
Three metrics are shown side by side, each with its own vs FFmpeg / vs DEE delta against that tool's number for the same leg at the baseline version shown. Green always means ICL Forge came out better, which is a higher number for SNR and MOS and a lower one for LSD — the stored deltas are all plainly ours-minus-theirs, and only the colouring knows which way each metric points.
No one of the three is the headline, and that is deliberate. E-AC-3's coupling and spectral extension trade waveform fidelity for banded envelope fidelity on purpose — that is what they are for — so waveform SNR alone reports a working tool as a straight loss, while LSD alone rewards one that has thrown the waveform away. Reading all three together is the only way the comparison says something true about the encoder rather than about the metric. (The per-tool detail behind that trade is in Tool comparison trend.)
n/a on a vs DEE or vs FFmpeg cell means that side of the comparison
has no real number for that leg and metric — not that the comparison came out
even. - in an ICL Forge cell means the metric was not scored for that row
at all: LSD is a measure of what the Annex E tools trade away, so it is scored
on the E-AC-3 legs only and the AC-3 rows leave it blank.
Two long-standing sources of n/a are gone as of baseline version 2:
- Both 5.1 legs used to have no DEE number, because the installed DEE build
drops the surround-left channel when 5.1 arrives as one discrete
6-channel file. Feeding it one mono WAV per channel instead
(
--input-format wav_list) does not, so thevs DEEcells onac3-51-448andeac3-51-256carry real numbers now. - Every MOS cell was empty, in every row ever published, because CI did not
install
visqol-python— so both sides of the delta were missing. It is installed now, and baseline version 2 was generated with it, so both sides exist.
Releases from before those two changes keep their n/a cells; nothing is
back-filled, because the numbers were never measured.
The baseline itself — FFmpeg's and DEE's actual encoded output — is
regenerated locally, occasionally, and reviewed by hand as a normal PR (see
tools/generators/gen_external_baseline.py's own docstring); it is never re-run
automatically, and never runs in CI. The Baseline column names which
version of it a given release's numbers were compared against, so a jump in
that column marks where the external side of the comparison changed, not
ICL Forge's own encoder.
MOS is ViSQOL's MOS-LQO (Mean Opinion Score - Listening Quality Objective) in audio mode, a perceptual- quality prediction from 1 (bad) to a ceiling around 4.75 — see Tool comparison trend for why ViSQOL over PEAQ. Of the three metrics it is the only one that tries to answer "which sounds better", which is why it is worth having beside the two that answer narrower questions exactly.
Unlike SNR and LSD, which span the whole fixture, MOS is scored on a fixed
4 s window taken from the middle of it (MOS_WINDOW_S in
tools/ci/quality_race.py). ViSQOL's patch matching is super-linear —
3.9 s of compute for 3 s of audio, 127.8 s for 30 s — so scoring the
programme legs whole would cost more than the rest of the CI job put
together. The window is the same deterministic span every run, so the
release-to-release deltas this page is read for are unaffected; only the
absolute value carries a small constant offset (~0.02 MOS against a much
longer window, measured).
Listening test¶
Everything above this section is a waveform or model measure. SNR and LSD are distances; MOS-LQO is a prediction of what a panel would say, from a model trained on panels — which is closer to "how it sounds" than a distance is, and still not a listener. This section is where a listening session's result goes.
No session has been run yet. The apparatus is in the repository
(tools/listening/);
the listening is human time that has not been spent. The results table below
is empty and says so rather than carrying placeholder numbers, and
README.md's and Validation's sentences saying that no
listening test has been run stay as they are until one has.
Protocol¶
Systems under test. The first three legs of the table above, and the same conditions:
| Leg | Codec | Layout | Rate | Arms |
|---|---|---|---|---|
ac3-51-448 |
AC-3 | 5.1 | 448 kbit/s | ICL Forge, FFmpeg |
eac3-stereo-192 |
E-AC-3 | stereo | 192 kbit/s | ICL Forge, FFmpeg, DEE |
eac3-51-256 |
E-AC-3 | 5.1 | 256 kbit/s | ICL Forge, FFmpeg |
The 5.1 legs have no DEE arm, for the reason their vs DEE cells are already
n/a above: that DEE build drops the Ls channel on discrete 6-channel
input, so its 5.1 output is marked unverified in the baseline manifest. A
stimulus nobody should draw a conclusion from is worse than a missing one.
Each leg also carries BS.1534-3's hidden reference and its two low-pass anchors, 3.5 kHz (mandatory) and 7 kHz (recommended).
One decoder for everything. Every stimulus, including ICL Forge's own
encode, is decoded by FFmpeg. This is deliberately the opposite of what the
trend legs do. A listening test compares encoders; if each encoder's output
went through its own decoder, the panel would be scoring encoder-and-decoder
pairs and no result could be attributed to either. One decoder makes the
decoder a constant, and FFmpeg is the one all three encoders have in common.
Neither FFmpeg's nor DEE's encoder is ever run — the external arms are the
committed testdata/external-baseline/ bitstreams, the same boundary the
numbers above observe.
Alignment and level. Codec delay is removed by cross-correlation and every condition trimmed to a common length, so switching between them mid-item does not click. Levels are deliberately not re-normalized per condition: a level change introduced by the apparatus would be scored as an artifact of the encoder.
Method. BS.1534-3 MUSHRA where a panel can be staffed — all of a leg's conditions presented together against a labelled reference, scored 0–100, with BS.1534-3 post-screening (a listener who scored the hidden reference below 90 on more than 15% of trials is excluded, reported by name with their numbers). Forced-choice A/B/X otherwise, which works with one listener and answers a narrower question — not "how much worse", only "could this listener tell them apart at all" — with an exact one-sided binomial p-value against the 0.5 guessing rate. 24 trials per pair puts the p < 0.05 threshold at 17 correct.
Two limits of the synthetic fixtures, both detected and reported by the stimulus generator rather than left to be discovered mid-session:
- The anchors do not work on the 5.1 legs. A low-pass anchor only anchors
the scale if removing the band above its cutoff is audible.
reference_51.wavcarries 0.059% of its total energy above 3.5 kHz (−32.3 dB) and 0.031% above 7 kHz, so both anchors are near-transparent copies of the reference there — a panel would correctly score them near 100, which leaves the bottom of the scale undefined and the session unscalable against any other panel's.reference_stereo.wavis fine (−5.0 dB and −11.5 dB). - The items are 1.9 seconds long. BS.1534-3 asks for excerpts of about 10
s. The synthetic fixtures are 2.5–3.0 s before alignment trims them, and
they are
sin()and filtered noise, not programme.
Both are recorded per session in session.json alongside the seed, render
mode and baseline version, so a session's own limits travel with its numbers.
Both have since landed: two 30 s CC0
fixtures, full-band speech and music, are committed as
testdata/audio/programme_{speech,music}_stereo.flac and carry three legs
of their own in the external-baseline manifest — ac3-music-stereo-192,
eac3-music-stereo-96 and eac3-speech-stereo-64. gen_listening_stimuli.py
walks every leg in that manifest, so those three already get a stimulus set
built with no change to the generator; the two limits above are properties of
the synthetic legs specifically, and a MUSHRA session on the programme stereo
legs (with ABX still the right method for the synthetic 5.1 ones) is the
session worth running. What has not happened is the running of it: that is
human listening time, and that gap stays open until it is spent.
Monitoring. --render native presents the 5.1 legs as 5.1 and needs a 5.1
setup; --render stereo renders them through FFmpeg's own downmix (which
applies the stream's cmixlev/surmixlev) for a headphone session. Which was
used is part of the result — the two are not the same experiment.
Decoder complaints ride through to the table. FFmpeg reports two out-of-range exponents decoding DEE's own committed stereo stream. A concealed error is an artifact a listener hears, but it is that decoder reading that stream, not DEE's encoder being worse, and any row scored from a flagged stimulus carries the flag.
Results¶
No session has been run, so there are no numbers here. When one is,
score_listening_test.py --markdown-out produces the table that goes in this
space: one row per (leg, condition) with the mean score and a 95% confidence
interval for MUSHRA, or one row per (leg, system) with proportion correct, a
95% Wilson interval and an exact binomial p for ABX.
Reproducing the stimulus set¶
After building forge:
ICLFORGE_CLI=build/config-linux-llvm/bin/forge python3 tools/listening/gen_listening_stimuli.py --out listening-session
tools/listening/README.md
is the operator's sequence, including what a session needs from a person.
Where the data lives¶
Same quality-history branch mechanism as
Quality trend and
Tool comparison trend -
this page reads external-comparison-main.jsonl specifically (releases only
ever happen on main) and filters it down to commits the GitHub API reports
as tagged, joined client-side the same way quality-trend.md's own release
badges are.