Repository navigation
Releases
v0.11.0-beta.1
Eleventh tagged release. TrueHD and MLP become a full programme: a lossless decoder and encoder, a TrueHD Atmos object layer that is written and read here (provisional until an outside decoder reads it), the main forge commands, the Forge window, and MAT playback to a receiver from Hearth and Crucible. AC-4 arrives complete: a decoder and encoder for channel-based, immersive and object streams, in forge, Hearth, the language bindings and the ESP32-P4 and S3, with content signing under the operator's own key. Annex C karaoke streams are reproduced by the decoder, shown with word-timed lyrics and scored against a singer's pitch in Hearth. Hearth grows into a Windows, macOS and Linux player with a Sendspin network and an Android sink app, and the ESP32 boards become Sendspin players that update their own firmware over the network, with the P4X panel drawing lyrics and the room. The project is now ICL Forge, with new names for every program and library.
Before you upgrade: the programs are forge, forge-gui, hearth and crucible, with no alias for the old names (Renamed), and every already-flashed ESP32 board needs one USB flash before network updates work again. E-AC-3 streams without mixmdate now fold at -3 dB, and RF mode no longer decodes 11 dB below a Dolby decoder. macOS 14.4 is the minimum. Several paths are written but not yet run on the hardware they target, and their entries say so: notably TrueHD to a receiver on Windows, macOS and Android, AC-4 to a receiver, and the ESP32-P4X panel.
Added
TrueHD, MLP and Dolby Atmos in TrueHD
forge truehd-encodewrites lossless TrueHD from one or several WAVs, placing each channel by name.src=,map=andoffset=work as for the other encoders (map=0.0:L,0.1:R,1.0:C,2.0:LFE,2.1:Ls,2.2:Rs); a map that is not one valid channel assignment is refused with the nearest valid sets. Tuning options aretruehd-restart=,truehd-major-sync=,truehd-peak-rate=,truehd-bitrate=andtruehd-stereo-mode=, plus the provisional channel-meaning fields (truehd-dialnorm-6ch=,truehd-mix-level-8ch=,truehd-drc-start-up-gain=). Output is a bare.thdor a Matroska, MP4 or Blu-ray transport stream file.- Streams are held to a bitrate, and
forge probe detail=ratereports how well. The arrival model of TH spec 3.4 and 18 (RateModel) runs at the declared peak and at a chosentruehd-bitrate=<kbit/s>, so one loud burst no longer ends a long stream.truehd-rate-mode=shapelets Atmos object channels give up low bits in intervals that do not fit; off by default and provisional. forge truehd-atmoswrites a TrueHD Atmos stream (provisional, unsigned). A WAV's channels (first the LFE) or an ADM master become the object substream (12, 14 or 16 channels); the 7.1 bed, from a WAV (truehd-bed=) or rendered from the objects, is in substreams 0 to 2. FFmpeg's strict decode returns the bed. 96 000 and 192 000 Hz are accepted; the Dolby Reference Player plays the bed at both but has not yet read the object metadata there.truehd-evo-frames=all|every:N|first|nonechooses which metadata frames get an evolution frame, since a licensed decoder rejects tags that are not its own.EncoderConfig::object_pathsmoves objects block to block andobject_downmixtakes a general 8 by N downmix of 9 to 16 objects. The bed render uses the law measured on DEE controls (iclforge/truehd/encoder/bed_pan.hpp), within 0.02 % for a lone fixed object; interior places, height and size are not measured.forge decodereads the object layer of a TrueHD Atmos stream (provisional). Withtruehd-presentation=all,objects_dirwrites each object as a mono WAV,adm_outan ADM master, andtruehd-render=<layout>renders onto a speaker layout;forge probenames the object substream.truehd-reading=(seed-shr7-32,zero-histories,shift-by-position,fold-by-position) decodes with the other reading of a point the specification leaves open, for scoring against Dolby's DEE set.- TrueHD evolution frames can be signed with your own key.
forge truehd-atmos sign-objects signing-key=PATHandforge metadata <in> <out> sign-objects signing-key=<path>write a keyed HMAC-SHA-256 tag over the access unit;forge decode ... verify-objectsorgate-objectscheck it (repeatsigning-key=for a keyring), andgate-objectsstrips the object layer from units that fail so the stream plays as its bed. The library isiclforge::truehd::signing. The tag is one byte: it detects tampering but does not authenticate. It is ICL Forge's own scheme, not Dolby-authentic; a licensed Dolby decoder will not accept it. See Object signing. forge probe,forge qcandforge normalizeunderstand TrueHD and MLP.probereports data rate against the declared peak, presentations and restart spacing;detail=checksadds the lossless check anddetail=matrixlists every matrix section andoutput_shift.qcalso fails a misplaced terminator word or azero_samplesof 4096 or more, as a licensed player does.normalizewrites the 2 channel dialogue norm as the measurement plus 6, as DEE does.- More
forgecommands take TrueHD and MLP.cutandcatmove whole access units;silence,sineandrecord ... codec=truehdwrite.thd;monitorplays a stream;transcodewrites AC-3 or E-AC-3 (AC-4 is refused);decode channels=2reads the stereo presentation. - A Forge project of codec
truehdcarries the whole encode (options, several sources withoffsetSeconds,assignments);forge project p.forgeproj out printprints the equivalentforge truehd-encodeline. A project with several WAVs no longer drops all but the first. - The Forge window opens, plays, checks and encodes TrueHD and MLP. Open stream takes
.thd,.mlpand a TrueHD track inside Matroska, MP4 or a Blu-ray transport stream, plays a window at a time (a film that would decode to about 11 GB plays in a few megabytes), seeks and exports a 24-bit WAV; QC gives a card per presentation. Encode TrueHD... takes several sources with a channel map and offsets, picks the container from the Save as name (.thd,.mkv,.mp4,.m2ts) and shows the twin command line.
AC-4
- A complete AC-4 decoder (
libs/ac4,iclforge::ac4::Decoder, from TS 103 190-1 and -2). It decodes channel-based streams from mono to 7.X in SIMPLE, A-SPX and A-CPL; the immersive element (5.1.4, 7.0.4, 7.1.4); 9.0.4 and 9.1.4; 22.2; object audio (A-JOC, direct-coded objects and their metadata); the speech spectral frontend; the efficient high frame rate mode; and 96 and 192 kHz SIMPLE substreams. Everyframe_rate_indexis converted to 48 kHz, and DEE's 2.0 streams decode at unity gain within 0.03 dB. 96/192 kHz, 22.2, 9.X.4, efficient high frame rate and the speech frontend have no real streams to test against and are checked on constructed streams only. Hearth and the ESP32 player refuse 22.2 and 9.X.4. - Presentations, mixing and a player API.
DecoderConfig::presentationselects bypresentation_id, position, language, associated-audio service orb_pre_virtualized; main plus associated audio and music-and-effects plus dialogue mix within 0.01 dB of their formulas.OutputConfigsets output level, DRC mode, dialogue enhancement and downmix (5.X, stereo, mono; Lo/Ro, Lt/Rt or Pro Logic II), andConcealmentPolicyrepeats and fades, or mutes, an undecodable frame. For players,set_output()andset_presentation()apply from the next frame,decode_by_block()returns 256-sample blocks, andSyncFrameSplittersplits sync frames out of a piecemeal stream. The library installs asiclforge::ac4(pkg-configiclforge-ac4); see AC-4 andexamples/decode_ac4.cpp. - An AC-4 encoder (
libs/ac4,iclforge::ac4::Encoder) for 48 and 44.1 kHz PCM from 8 kbps: SIMPLE and ASPX in mono, stereo, 5.0 and 5.1, A-CPL (ASPX_ACPL_2 and 3) for 5.1, every frame rate, average and variable rates, loudness, DRC and downmix metadata, dialogue enhancement, and several substreams and presentations. At 192 kbps its SNR is 5.6 dB above DEE's on music and 14.9 dB on speech;CodecMode::kAutosteps down so 5.1 still encodes from 20 kbps.Encoder::refusal_reason()names the rule a refused configuration breaks,build_dac4()writes the fulldac4box for every presentation (matching DEE's muxer byte for byte on the reference streams), andcmaf_refusal()names the rule a stream breaks for a CMAF track. forgespeaks AC-4 throughout.decodereads raw or MP4 AC-4 and takesoutput-level=,drcmode=,dialogue-enhancement=,downmix=,conceal=,presentation=,presentation-id=,language=,associated=,decoding=full|core,speakers=(5.1 to 7.1.4; objects render to 7.1.4 by default) andsyntax-trace=<file>.ac4-encodewrites raw sync frames or MP4 withcodec-mode=aspx|aspx-acpl-1|aspx-acpl-2|aspx-acpl-3,frame-rate=,rate-mode=,iframe-interval=,dialnorm=,loudness=,drc=,substream2=tosubstream32=andpresentation1=topresentation64=with per-item keys, andsubstreamN-enhances=anddialogue-hybrid=for hybrid dialogue enhancement.transcodeconverts AC-4 to and from AC-3 or E-AC-3;recordandliveencode withcodec=ac4;monitor,play,qc,levels,loudness,spdifandprobehandle AC-4, andprobereports each presentation instream.ac4oficlforge.probe/1.- AC-4 over IEC 61937-14.
iclforge::containers::iec61937::Ac4BurstPackerpacks a sync frame into any of the four burst types (AC-4, HBR4, HBR16, LD);BurstReader,unwrap_streamandPassthroughDetectorread them.PassthroughSinktakesBitstreamFormat::kAc4,kAc4Hbr4andkAc4Hbr16: ALSA and Android send the first two, WASAPI, PipeWire and Core Audio refuse withPassthroughError::kUnsupportedFormat, and every backend refuses HBR16. Hearth's `_iclforge_playe...
v0.10.0-beta.1
Tenth tagged release. The E-AC-3 encoder catches up with the decision quality AC-3 got in 0.7.0,
both decoders gain a consumer output stage, all three containers become readable as well as
writable, and the verification estate extends to E-AC-3. The immersive surface widens well past
Atmos-in-DD+: an IAMF writer, an IAB/MXF reader bridged onto the Atmos encoder, and an AC-4
bitstream inspector. The browser gains in-page encoding and QC beside the existing decode demo,
plus a reusable streaming decoder package. The Shield Atmos demo grows into a real application,
and the library is now reachable from Rust as well as C and Python. The repository also moved to
trunk-based development, and a concrete API-freeze plan for v1.0 now exists.
Added
Encoding
- Per-channel exponent strategies and short syncframes for E-AC-3. The encoder wrote one
exponent set per frame for every channel; it now plans them per channel or per block, and can
emit 1/2/3-block syncframes withconvsync. Spectral distance improves about 0.6 dB on
transient material. See Encoding E-AC-3. - Real bit-allocation parameters for E-AC-3.
bamode=1transmits the frame's own parameters
instead of inheriting Table E1.4's, anddbpbcod=3— measured better at every rate and layout
tried — replaces the pinned default. - Content-decided
dithflagon both encoders, per channel per block, free in bits because
the flag is transmitted either way.dither=offpins it at 0 for callers needing bit-for-bit
agreement between two decodes. - Delta bit allocation under coupling, and per-channel coupling membership. Delta is no
longer skipped whenever coupling is active;chincplis decided per channel rather than
frame-wide; 2/0 gets a measured phase-restoringphsflg; enhanced-coupling angle interpolation
is encoded and decoded. - Content-adaptive tool selection. E-AC-3's
autochooses coupling, spectral extension and
AHT from the frame's own spectrum rather than the bit rate alone: +0.11 MOS and +0.36 dB on
real programme material. - Average-rate (ABR) E-AC-3 encoding.
vbr=avg:kbps[,win:frames]holds a long-run average
through a sliding bit reservoir. The rate-control curve
shows where CBR, VBR and ABR each win. - A per-frame bit-allocation search (
EncoderConfig::search,eac3::FrameConfig::search),
judged by a decoded-domain distortion measure and psychoacoustic model inac3::quality.
search=distortionis a measured win on AC-3 from 448 kbit/s up;search=perceptualis not
yet competitive. Both are off by default. See Quality measures. fgaincodis settable on both codecs (fgaincod=on the command line). On E-AC-3 this
means writing Table E1.4's per-blockfgaincodeelement, which the encoder had never emitted.
The default is unchanged and writes no element at all.
Decoding and playback
- A decoder output stage.
ac3::OutputStageapplies dialnorm, the §7.8 Lo/Ro, Lt/Rt and mono
downmixes using the stream's own levels, LFE mixing, and the line and RF operating modes.
Reachable asdecode/monitor'schannels=,downmix=,drcmode=andmix-lfe. Off by
default, so existing callers are unaffected. Lo/Ro agrees with FFmpeg's own fold to 119–121 dB.
See Decoding. - Error concealment, opt-in: a bad frame is repeated-and-faded or muted in the overlap-add
domain, so the delay state stays coherent.conceal=repeat|mute. - The full metadata surface, writable and reportable on both codecs instead of being constants
on the way out and skipped on the way in: AC-3's Annex D alternate syntax (bsid6), the
informational BSI fields, and E-AC-3'smixmdateandinfomdatgroups —bsmod,dsurmod,
separate Lt/Rt and Lo/Ro levels, programme scale factors, mixing and pan information. See
Metadata. - More than one programme per stream. Access units are grouped by programme;
decode,qc
andlevelstakeprogramme=<0..7>, andeac3-encodecan author a second withprogramme2=. - Third-party Atmos streams decode. OAMD, JOC and EMDF read the real breadth of the syntax —
multiple update blocks, object size/zone/snap, sparse JOC matrices, alternate object data,
several bed instances — rather than only the shapes this encoder produces. A committed Dolby
Encoding Engine fixture exercises it. - QMF-domain JOC. Object reconstruction runs in the 64-band complex filterbank the format
calls for. Mean per-object SNR 22.8 → 28.6 dB.joc-domain=qmf|mdctselects it on both sides. - A consumer-facing diagnostic sink.
DecoderConfig::diagnosticsreports recoverable,
informational decode events — a CRC failure (fired the moment the check runs, so it still
reaches a caller even whenconceal=turns the same frame into a successful, concealed
result) and an EMDF payload id neither decoder interprets. A plain function pointer, no
allocation, off by default, usable from the minimum-footprint decoder profile.
Containers and streams
- Readers for Matroska, MP4 and MPEG-TS, plus
ac3cli demux. Each reads real third-party
shapes this project never writes, anddecode,qc,levels,playandmonitor— and the
GUI's QC and Inspect pickers — now take a container directly, sniffed by content rather than by
extension. See Muxing and sinks. ac3cli probe: what a stream declares — layout, substream map, tools in use, metadata
ranges, CRC validity — without decoding audio.json=1emits a versioned schema.
Command reference.ac3cli probereads AC-4 too, auto-detected. A new standaloneac4::library parses the
sync frame, table of contents, presentation and substream-group framing (ETSI TS 103 190-1/-2)
— channel-coded, A-JOC-coded, direct-coded-object and OAMD substream groups alike, including
7.0.4 through 22.2 channel-based immersive layouts — bitstream inspection, not decoding: audio
content is reported by byte range, never decoded, andoamd_common_data()is refused cleanly
rather than misparsed. Backed by an independent Python transcription, real Dolby Encoding
Engine fixtures for the channel-coded path, and synthetic hand-built vectors for A-JOC/object/
OAMD, no real fixture being reachable for that path. See Validation.- IEC 61937 de-framing. A burst parser and
ac3cli unspdif, plus capture-side recognition, so
a loopback of a bitstreaming player records the elementary stream rather than PCM. - A streaming fMP4/CMAF fragmenter with a rolling HLS playlist and dynamic MPD, the DASH
object-audio signalling, theceaobrand, and the MPEG-TS ATSC profile beside DVB. - Object-layer strip without re-encoding, so a JOC stream yields a bit-identical-bed 5.1
companion rendition (strip-objects, andfmp4 … fallback-51writing both). - Stream tools that leave the audio alone:
transcode(DD+→DD, carrying metadata across),
in-place metadata rewrite with CRCs re-stamped, and access-unit-alignedcut/cat.
Immersive formats
- A JOC → ADM BWF writer.
decode … adm_outwrites a Dolby Atmos Master ADM Profile BW64
from a decoded stream's own bed LFE and reconstructed objects, positioned by their real OAMD
timeline. Scoped to dynamic-object-only programmes. Needs-DAC3FORGE_BUILD_ADM=ON. iamf, a writer for AOM's IAMF (Immersive Audio Model and Formats) v1.1.0. E-AC-3 can never
be an IAMF codec, so this decodes a 7.1.4 stream and re-wraps it as a channel-based IAMF Audio
Element carryingipcmsubstreams, in IAMF's own ISO-BMFF encapsulation — a direct route to the
IAMF/Eclipsa Audio ecosystem alongside the indirect one the ADM writer above already opens
(AOM'siamf-toolsencoder accepts ADM-BWF input). Object elements and a reader are not
started. See IAMF writing.ac3iab, a reader for SMPTE ST 2098-2's Immersive Audio Bitstream — the frame framing and
every element in the format's element tree, with positions, spreads and gains resolved. Its
lossless coder is read by identity only. Validated against the DTS reference validator's own
sample corpus. Reads real MXF IAB Track Files too (ac3iab::parse_mxf_iab), not just a bare
elementary.iabfile — the wrapping is governed by a separate standard, SMPTE ST 2067-201,
which clip-wraps the whole bitstream as a single KLV.atmos-iab: a real Dolby Atmos cinema/IMF master straight to DD+ JOC E-AC-3. Every Bed
channel/Object an IAB file (or MXF Track File) names becomes anAtmosEncoderobject, driven by
the file's own authored per-frame panning —ac3::admbridge::build_iab, the IAB counterpart to
the existingatmos-adm/ADM bridge. Needs-DAC3FORGE_BUILD_ADM=ON.- One object-scene timeline type (
ac3::oba::ObjectScene) shared byatmos-path, the GUI and
the examples, replacing four ad-hoc formats. - Object extent, channel lock and zone constraints on encode, mapped from the ADM bridge.
Command line and GUI
- A documented exit-code scheme,
help <command>,quiet/verbose, and a man page and shell
completions generated from the same command table and installed by the build. recordandlivereach parity with the GUI session: any layout up to 7.1.4, either codec,
container=raw|mkv|ts|spdif|fmp4written incrementally, a capture-silence watchdog, an object
slot budget formode=atmos, and a parallel 5.1 leg for an AC-3-only endpoint.- Live object positioning over OSC, replacing the synthetic orbit
live mode=atmosand the
GUI's live room used to fake motion with.ac3cli live ... mode=atmos positions=osc:<port>
and a "Drive objects from OSC" toggle on the GUI's Live session ca...
v0.9.0-beta.1
What's Changed since v0.8.0-beta.2
Ninth tagged release. The headline is the memory-usage optimization programme landing in full:
per-frame codec allocation churn down 54–88%, every CLI command and GUI recording streaming
instead of buffering, and a new memory trend that gates regressions the same way the timing
series always has — alongside a default-on fast inverse transform (4.5–4.7× faster decodes), a
whole-library per-component coverage gate, ac3::signing joining the installed/exported library
surface, and continued apps/cli command-group extraction.
Added
- Performance and reference transform modes. The decoder's inverse transform joins the
forward MDCT in having a fast path: §7.9.4 step 3 — the one O(N²) part of the normative
inverse — now runs through the same radix-2 FFT core the fast forward fold uses, and after
its evidence was reviewed (worst transform-level relative error 7.8e-14 against the direct
form; 214.9 dB SNR agreement for AC-3 and 284.7 dB for E-AC-3 over 180 seconds of real 5.1
material) it became the default: decodes run 4.5–4.7× faster (a 180-second decode drops
from ~3.5 s to ~0.8 s), and the direct form's 320 KiB of tabulated matrices are no longer
built at all on the default path. The pair is exposed as one intent-level switch:
mode=referenceruns every transform in a command on the spec's own direct evaluations —
the forms the fast paths are validated against, for fixture regeneration or sample-for-sample
comparison against an external decoder — andmode=performance(the default state) names the
fast paths;fast-mdct=off/fast-imdct=offstill adjust one half at a time. Encoded
output never depends on the decode-side switch. Seedocs/verification.md. - Span-output decode forms.
FrameDecoder::decode_frame_intoand
Eac3Decoder::decode_access_unit_intodecode into caller-owned planar storage rather than
allocating a fresh vector per call, with the same results as the value forms, pinned by
lockstep equivalence tests. The E-AC-3 form keeps
§3.7's transient-pre-noise hold-back semantics exactly: a held-back frame leaves the caller's
spans untouched and is copied out at release. - Streaming I/O for unbounded sessions.
ac3::io::WavStreamReader(block-at-a-time WAV
reading with the same parsing and sample conversion as the whole-file reader),
ac3::io::WavPcm16StreamWriter(the incremental sibling of the one-shot PCM16 writer, for
IEC 61937 carriers whose length isn't known up front), andmpegts::Writer(incremental
transport-stream muxing whose output is byte-identical tompegts::mux()— that equality is
its contract and its test). Matroska already had its incrementalWriter; MP4 deliberately
does not get one —moov/stconeed every frame's final offset, andfragment()(fMP4) is
that format's streaming shape. - A memory trend beside the timing trends.
ac3membenchcounts heap allocations and
allocator traffic per frame, live-byte drift and peak RSS across the encoder configurations
and the decode paths the timing benches never covered; everydevelop/mainpush appends
to the samequality-historyseries the CPU numbers use, rendered on
docs/performance-trend.mdwith the same trailing-baseline gates (either churn metric
regressing flags the row) plus an absolute leak check that applies regardless of the trailing
baseline. ac3::signingis now an installed, exported library component (repo-structure review D6),
restructured into the same OBJECT+STATIC+SHARED shapeac3::forgeitself uses
(ac3::signing_static/ac3::signing_shared,AC3SIGNING_EXPORT-annotated) instead of a
single internal-onlySTATICtarget with noinstall()at all.signing_static/
signing_sharedeach publicly link their own matchingforge_static/forge_shared,
preserving today'sPUBLIC ac3::forgepropagation; a real standalone
find_package(ac3forge CONFIG REQUIRED)consumer linkingac3::signing_staticnow builds and
runs across the installed-package boundary.
Fixed
- The encoder input-space fuzz no longer reports FFmpeg container-probe misses as encoder
failures. Case seed 1124127684685913171 (stereo at 512 kbit/s, 48 kHz) produced a fully
valid stream — every syncframe on its exact 2048-byte boundary, both CRC words of every frame
good, a clean strict decode under-f ac3— that FFmpeg 8.0's auto-detection nonetheless
handed to its MPEG-PS demuxer: with frames that large, ffmpeg's AC-3 prober cannot clear its
own accept threshold inside the 8 KiB probe window (it wants seven consecutive syncframes),
while three start-code-shaped byte patterns inside ordinary quantized mantissas were enough
for the MPEG-PS prober to win that window outright, and no amount of appended audio can win it
back.tools/ci/fuzz_encoder_space.pynow arbitrates any FFmpeg refusal by rerunning with
-f ac3forced and every error check kept — a clean forced decode classifies the case as
"misprobed" (counted and reported, never failing), a refused one still fails with the real
decode error. The seed is recorded in the script's new--regressionsreplay list, which CI
gates on before each unseeded search, andfuzz/seeds/gained a 512 kbit/s stereo stream so
decoder-side fuzzing mutates from the big-frame corner too. - Installed packages now actually export
ac3::forge_c_static/ac3::forge_c_shared, matching
whatdocs/library/c-api.mdand the in-treeALIAStargets always documented. The raw CMake
targets were previouslycapi_static/capi_sharedunder theac3::namespace with no
matching alias, so an installed package actually providedac3::capi_static— a name nothing
in the documented consumer surface used, and afind_package(ac3forge)consumer following the
docs could not link the C API at all. Fixing the name surfaced a second, more serious bug: the
C API's object library always privately links the static codec regardless of
BUILD_SHARED_LIBS(a deliberate self-contained-ABI design), and
AC3FORGE_INSTALL_BOTH_LINKAGES=OFFcombined with a shared-only build used to leave that
static target out of every export set, failing the configure step outright. That combination
now configures, builds and installs cleanly. - The Conan and Winget packaging manifests are back on the real latest release — both were
still pinned to0.8.0-beta.1after0.8.0-beta.2shipped.tools/checks/check_packaging_versions.sh
now runs in CI and fails the build if any packaging manifest's version drifts from the others
again. - The hosted WASM decode demo (
docs/assets/wasm-decode-demo/) matches the real one again — it
had silently fallen out of sync withapps/wasm/'s own copy (missing favicon links and the GPL
footer).docs.yml's docs build now byte-compares the two and fails if they drift apart again. - The Debian/Ubuntu package's homepage field is no longer empty —
PROJECT_HOMEPAGE_URLis now
set on the rootproject()call, sodpkg -s ac3forgereports the real project URL instead of
nothing. - Fixed a stale anchor in
docs/platforms/raspberry-pi.mdpointing at alinux.mdheading whose
text no longer matches. - Fixed
docs/library/index.mdanddocs/releasing.md's vcpkg port sections, which still blamed
ac3::forge_c's absence from the port on the installed-export-set bug fixed above — the port
has always passed-DAC3FORGE_BUILD_CAPI=OFFregardless of that bug and continues to now that
it's gone, as a deliberate scope decision pending acapifeature. Verified with a real
vcpkg install ac3forge --overlay-ports=packaging/vcpkg-portthat the port still installs no
ac3::forge_cartifacts today. - A stack-overflow-risk PREfast finding (alert #77) is fixed:
examples/atmos_objects.cpp
now heap-allocates itsEac3Decoderinstead of stack-declaring it, the same fix already
applied toatmos_fallback.cppandstation_broadcast.cppfor the identical scratch-state
growth. Two duplicate false-positiveoptional-access findings (alerts #70/#71, in
apps/gui/qc_controller.cpp's andapps/cli/main.cpp'smeasure_qc/measure_eac3) are
documented and suppressed — ahave_first/non-empty-stream guard already proves the meter
optional is engaged before use, matching a pattern already fixed once elsewhere inmain.cpp. misc-include-cleanerfindings that leaked back intoapps/cli/main.cppand
commands/analysis.cppafter the CLI command-group extraction (both predate that move and
were never revisited for their own include lists) are fixed, keeping thestatic-analysisCI
leg green.
Changed
- The CI coverage gate now measures the whole library, per component. The
coverageleg
previously instrumented and gated the codec core (nowsrc/forge) alone; it now instruments
every library component —ac3::forge,ac3::audio,ac3::signing, the Matroska/MP4/MPEG-TS
writers, the C API, and the opt-in ADM module plus its bridge — and gates statement (line) and
branch coverage per component via the newtools/checks/coverage_report.sh, so a regression in
a small module can no longer hide inside a blended number.src/forge's own floor rose from
80%/70% line/branch to 88%/78% to track the suite's growth, and the first whole-library
measurement put honest floors under two thin spots —src/audio's device I/O paths and the C
API's E-AC-3 surface — rather than leaving them unmeasured. - The C API's E-AC-3 surface is now tested, and its coverage floor raised to match.
tests/test_capi.cppgained the E-AC-3 half it was missing: substream and access-unit round
trips across the Annex E tool combinations, dependent-substream and dual mono metadata,
transient pre-noise hold-back and flush, the decode/encode error mappings, and the NULL-handle
defaults across the whole opaque-handle surface — all on real mul...
v0.8.0-beta.2
What's Changed since v0.8.0-beta.1
Eighth tagged release. ac3gui builds and packages on macOS for the first time — every
platform's release archive now carries a real GUI, not just Windows/Linux's — plus Python
bindings on PyPI and a C API over the encode/decode core.
Added
- Python bindings (
ac3forgeon PyPI), roadmap F2: a pybind11 module bound directly onto
ac3::FrameEncoder,ac3::FrameDecoder,ac3::Eac3Decoderandac3::oba::AtmosEncoder—
numpy-friendly PCM, Python exceptions in place ofstd::expected..github/workflows/wheels.yml
builds wheels for Windows, macOS and Linux viacibuildwheel; publishing to PyPI itself is
wired up but stays off until a maintainer provisions PyPI trusted publishing. See
docs/library/python-api.md. - A C API over the encode/decode core (roadmap F1), for consumers that can't link C++23
directly. ac3guinow builds, tests and packages on macOS. Themacos-llvmCI leg was CLI-only
since it was promoted out of experimental; it now installs Homebrew'sqtformula and builds
the GUI the same opt-in way the four Linux legs do,ac3gui_qmltestsand a headless
ac3gui --smokeincluded, and this release'sac3forge-0.8.0-Darwin.dmgcarriesac3gui.app
for the first time. Getting there needed two real fixes for hangs under Qt's offscreen platform
plugin, not just turning the option on — seedocs/platforms/macos.md.- A Homebrew Cask for
ac3guiis staged atpackaging/homebrew/Casks/ac3gui.rb, alongside
the existing CLI-only Formula — a Cask, not a Formula, being the right shape for a prebuilt
.app. Not yet published to thehomebrew-ac3forgetap.
Artifacts
| Platform | Arch | End-user package | Library (ac3forge-dev-*) |
|---|---|---|---|
| Windows | x64 | ac3forge-0.8.0-win64.zip |
ac3forge-dev-0.8.0-beta.2-win64.zip |
| Linux | x86_64 | ac3forge-0.8.0-Linux-x86_64.tar.gz, -runtime.deb, -runtime.rpm |
ac3forge-dev-0.8.0-beta.2-Linux-x86_64.tar.gz/.zip, plus real libac3forge0/libac3forge-dev(DEB)/libac3forge0/ac3forge-devel(RPM) packages |
| Linux | aarch64 | ac3forge-0.8.0-Linux-aarch64.tar.gz, -runtime.deb, -runtime.rpm |
same split as x86_64, above |
| macOS | arm64 | ac3forge-0.8.0-Darwin.dmg, .zip — first release with ac3gui.app on macOS |
ac3forge-dev-0.8.0-beta.2-Darwin.zip |
| Android (Shield) | arm64 | ac3forge-shield-v0.8.0-beta.2.apk |
— |
Plus an SPDX SBOM (ac3forge-0.8.0.spdx.json) and an aggregate SHA512SUMS manifest. Every
artifact ships with its own .sha512 checksum, a GPG detached signature (.asc,
ac3forge-signing-key.asc is the public key), and a Sigstore/SLSA provenance attestation
(.intoto.jsonl) — verify whichever you need. See ac3cli --help and docs/quickstart.md to
get started.
Pre-release. The macOS
ac3gui.appin this release is not Apple-notarized or code-signed
— expect a Gatekeeper "developer cannot be verified" prompt on first launch. See the Known
gaps in CHANGELOG.md.
Full Changelog: v0.8.0-beta.1...v0.8.0-beta.2
v0.8.0-beta.1
What's Changed since v0.7.0-beta.1
Seventh tagged release. The repository moved from iainchesworth/ac3forge to iainchesworthlabs/ac3forge; this release cuts over to the new location and closes out everything left stale by that move. No AC-3/E-AC-3/Atmos codec or CLI/GUI behavior changed.
Added
- CI can build on a self-hosted runner when one is actually online and idle, per OS, falling back to GitHub-hosted otherwise — never as an all-or-nothing switch, and never for fork PRs, which always stay on GitHub-hosted regardless of runner availability. See docs/ci-self-hosted-runners.md for the live-check and override design.
Fixed
- The published docs site was about to go stale at its own URL. GitHub's repo-transfer redirect covers
github.com/<owner>/<repo>paths (blob/tree/actions/releases), but the default GitHub Pages URL is owner-scoped with no such redirect —iainchesworth.github.io/ac3forgewould 404 once this repo'sgh-pagesbranch (now underiainchesworthlabs) next deployed. Docs now publish to and link fromiainchesworthlabs.github.io/ac3forge. - Dependabot auto-merge silently stopped working after the transfer.
dependabot-auto-merge.yml's repository guard hardcoded the pre-transferiainchesworth/ac3forgeslug; sincegithub.repositorynow reportsiainchesworthlabs/ac3forge, the job'sifcondition never matched, so no Dependabot PR auto-merged since the move. - Roughly 40 hardcoded
iainchesworth/ac3forgerepo-path links across docs, README/ROADMAP/CONTRIBUTING/SECURITY,mkdocs.yml, and the vcpkg portfile updated toiainchesworthlabs/ac3forge. PR/issue references that predate the transfer (docs/wasm-demo.md's#168/#169links) were deliberately left as-is — GitHub's redirect still serves them, and rewriting would misrepresent when they were filed.
Known gaps
- Objects still will not decode as objects in Dolby's own decoder or hardware — unchanged from 0.6.0-beta.1;
verify-objectschecks a stream against its own signature, not Dolby's gate. - Exclusive-mode S/PDIF/HDMI passthrough has not been confirmed against real bitstreaming hardware on any platform, ALSA or PipeWire.
fscod2audio content has no external decode oracle at all — verified only by this project's own encoder/decoder round trip.
See CHANGELOG.md for the full curated list and Validation for what is and isn't independently verified.
Artifacts
Self-contained, SHA-512-summed, GPG-signed and Sigstore/OIDC-attested:
| Platform | Files |
|---|---|
| Windows | ac3forge-0.8.0-win64.zip |
| Linux (x86_64) | ac3forge-0.8.0-Linux-x86_64.tar.gz, ac3forge-0.8.0-Linux-x86_64.zip, ac3forge-0.8.0-Linux-x86_64-runtime.deb, ac3forge-0.8.0-Linux-x86_64-runtime.rpm |
| Linux (arm64 / Raspberry Pi) | ac3forge-0.8.0-Linux-aarch64.tar.gz, ac3forge-0.8.0-Linux-aarch64.zip, ac3forge-0.8.0-Linux-aarch64-runtime.deb, ac3forge-0.8.0-Linux-aarch64-runtime.rpm |
| macOS | ac3forge-0.8.0-Darwin.dmg, ac3forge-0.8.0-Darwin.zip |
| Android (Shield) | ac3forge-shield-v0.8.0-beta.1.apk |
Library packages for third-party projects consuming ac3::forge/matroska::matroska/mp4::mp4/mpegts::mpegts via find_package(ac3forge) (see docs/library/index.md) — headers, static and shared libraries, and the CMake package config, with the same checksum/signature/attestation coverage as the packages above:
| Platform | Library package |
|---|---|
| Windows | ac3forge-dev-0.8.0-beta.1-win64.zip |
| Linux (x86_64) | ac3forge-dev-0.8.0-beta.1-Linux-x86_64.tar.gz, ac3forge-dev-0.8.0-beta.1-Linux-x86_64.zip |
| Linux (arm64) | ac3forge-dev-0.8.0-beta.1-Linux-aarch64.tar.gz, ac3forge-dev-0.8.0-beta.1-Linux-aarch64.zip |
| macOS | ac3forge-dev-0.8.0-beta.1-Darwin.zip |
Real Linux system packages, installable with apt install/dnf install instead of only a manual archive download: ac3forge-0.8.0-Linux-{x86_64,aarch64}-library.{deb,rpm} (headers, static archives, CMake config — libac3forge-dev/ac3forge-devel) and ac3forge-0.8.0-Linux-{x86_64,aarch64}-libruntime.{deb,rpm} (just the shared library — libac3forge0).
Every file above has a matching .sha512 and .asc (GPG signature) and an .intoto.jsonl attestation; SHA512SUMS/SHA512SUMS.asc cover the whole set with their actual checksums, ac3forge-signing-key.asc is the public key to verify against, and ac3forge-0.8.0.spdx.json is the SPDX SBOM. See docs/releasing.md for verification commands.
vcpkg: the library is also installable via the port staged at packaging/vcpkg-port/ac3forge/ (vcpkg install ac3forge --overlay-ports=..., pending submission to the curated microsoft/vcpkg registry).
ac3cli --help for the full command list, or docs/quickstart.md to get started.
Full Changelog: v0.7.0-beta.1...v0.8.0-beta.1
Pre-release. The API is not stable. Objects still won't decode as objects in Dolby's own decoder or hardware — DD+ JOC gates that on an authenticity tag keyed to a secret embedded in Dolby's decoder binaries, which this project ships no key for; the bed still decodes as plain 5.1 anywhere. See Known gaps above.
v0.7.0-beta.1
What's Changed since v0.6.0-beta.1
Sixth tagged release. The main change is an AC-3 quality push: three independent fixes to the encoder's bit allocation — weighing delta segments against their own cost at every layout, raising dbpbcod past the spec's own recommendation, and giving the LFE its own fine SNR offset instead of a shared one — move the 5.1 landscape leg at 448 kbit/s from 2.98 dB behind FFmpeg 8.0.1 to 0.72 dB ahead of it, with perceptual quality unchanged. Finding and fixing those relied on new verification infrastructure landing alongside them: a fuzz harness over the encoder's own input space (as opposed to only the decoder's), an opt-in encoder/decoder mirror self-check, and a codec matrix now driven by real programme material rather than synthetic tones — which is what caught a stale coupling-channel delta cursor and a frame-ending mid-delta bug that had escaped every existing gate.
Also landing this release: a native PipeWire audio backend for Linux, a shared app icon and About dialogs across every GUI surface, and an E-AC-3 auto tool set that picks coupling/spectral extension/AHT from the per-channel bitrate instead of taking on/off flags as given.
Added
- An opt-in AC-3 encoder/decoder mirror self-check (
ac3::verify), which decodes every frame the encoder just emitted with this project's own decoder and diffs the decoder's model against the encoder's own — per-block bit offset, decoded exponents, bit allocation and delta correction. Motivated by a bug wheredeltbaie == 0was written to mean "no delta this block" instead of §5.4.3.47's "keep the previous block's" — the self-check catches that class of bug structurally, at the block where the two models first part company. AC-3 only for now. - A property/fuzz harness over the AC-3 encoder's own input space (
tools/fuzz_encoder_space.py). Every existing fuzzing target mutated an already-encoded bitstream, asking whether the decoder survives corrupt input; this one draws random legal encoder configurations crossed with adversarial PCM and holds the resulting streams against both this project's decoder and FFmpeg's strict decode. Runs bounded on every pull request and deeper nightly. - A new
autoE-AC-3 tool set, which picks coupling/spectral extension/AHT from the per-channel bitrate instead of taking the on/off flags as given, applying measured crossovers while still honouring an explicitcpl:N/spx:N/aht:Nband-edge pin. - A native PipeWire audio backend for Linux (
AC3FORGE_WITH_PIPEWIRE), selected via pkg-config when ALSA's headers are not present. Live capture and monitor playback are genuinepw_streamPCM; IEC 61937 bitstream passthrough negotiates PipeWire's own compressed-format API for real, but depends on the target node'siec958Codecshaving been enabled by the session manager — see Known gaps. - A shared app icon and About dialogs across every GUI surface. One procedurally-generated mark now backs
ac3gui's window/taskbar icon and packaged.exe/.appicon, Shield's launcher icon and Android-TV banner, and the WASM demo's favicon.ac3guiand Shield each gained an About screen showing real build version/git provenance alongside the GPLv3 notice.
Changed
- The AC-3 encoder now gives the LFE its own fine SNR offset instead of copying the one every other channel gets, so its precision is no longer decided entirely by channels 36× its size. LFE SNR up by as much as 5.7 dB, ViSQOL MOS flat.
- The AC-3 encoder now weighs delta bit allocation against what it costs at every layout, not only when coupling is active. 5.1 at 448 kbit/s was spending 5% of the whole frame on segments nobody had weighed against a higher SNR offset; worth 0.7 dB on the 5.1 reference.
- The AC-3 encoder raises
dbpbcodfrom the §8.2.12 recommendation of 2 to 3, steering bits away from bands holding almost no energy. Up to 5.9 dB SNR at 192 kbit/s on the 5.1 reference, MOS flat or better throughout. - Together, these three move the AC-3 5.1 landscape leg at 448 kbit/s from 36.02 dB to 39.71 dB — from 2.98 dB behind FFmpeg 8.0.1 to 0.72 dB ahead of it — with MOS unchanged at 3.67.
- Coupling is now dropped, rather than moved down in frequency, when spectral extension leaves it no room, instead of silently coupling from a lower frequency than the rate model asked for. Worth 6.8 dB of SNR on the stereo reference at 192 kbit/s.
- The landscape comparison now reports
autorather than a forcedall, matching the standard applied to FFmpeg's and DEE's own automatic choices. - The landscape page shows SNR, LSD and MOS side by side, each with its own vs-FFmpeg/vs-DEE delta, and now includes a spectrogram alongside the numbers for a visual reference.
- The CI quality gate now includes an AC-3 5.1 leg, closing the gap that let two separate LFE/allocation faults ship stereo-clean.
- The AC-3 codec matrix now sweeps real programme material, not only synthetic tones — a stationary sine made any defect at a mid-frame exponent-run boundary structurally unreachable, which is exactly the shape the
deltbaiebug below took. - A new
tools/check_ac3_allocation.pyreports per-channel and per-band SNR against FFmpeg at a matched bitrate.
Fixed
- AC-3 encoder: a delta bit allocation that ended part-way through a frame produced an undecodable stream.
deltbaie = 0means "keep the previous block's delta bit allocation" (A/52 §5.4.3.47), not "no delta" — real material hit this at several bitrates, 64 and 96 kbit/s stereo among them. - AC-3 encoder: the LFE sent one exponent set per frame however much its level moved, costing 12 dB of LFE channel SNR on the 5.1 reference. Worth +0.3 to +3.8 dB overall across 192–640 kbit/s.
- AC-3 coupling channel: delta bit allocation could push corrections past band 50, or land them somewhere the decoder never reads, because the delta band cursor started at band 0 regardless of the channel's own start band. Found by the encoder input-space fuzz harness above.
Known gaps
- Objects still will not decode as objects in Dolby's own decoder or hardware — unchanged from 0.6.0-beta.1;
verify-objectschecks a stream against its own signature, not Dolby's gate. - Exclusive-mode S/PDIF/HDMI passthrough has not been confirmed against real bitstreaming hardware on any platform, ALSA or PipeWire — the new PipeWire path additionally depends on the target node's
iec958Codecshaving been enabled by the session manager, outside this library's control. fscod2audio content has no external decode oracle at all — verified only by this project's own encoder/decoder round trip.
See CHANGELOG.md for the full curated list and Validation for what is and isn't independently verified.
Artifacts
Self-contained, SHA-512-summed, GPG-signed and Sigstore/OIDC-attested:
| Platform | Files |
|---|---|
| Windows | ac3forge-0.7.0-win64.zip |
| Linux (x86_64) | ac3forge-0.7.0-Linux-x86_64.tar.gz, ac3forge-0.7.0-Linux-x86_64.zip, ac3forge-0.7.0-Linux-x86_64-runtime.deb, ac3forge-0.7.0-Linux-x86_64-runtime.rpm |
| Linux (arm64 / Raspberry Pi) | ac3forge-0.7.0-Linux-aarch64.tar.gz, ac3forge-0.7.0-Linux-aarch64.zip, ac3forge-0.7.0-Linux-aarch64-runtime.deb, ac3forge-0.7.0-Linux-aarch64-runtime.rpm |
| macOS | ac3forge-0.7.0-Darwin.dmg, ac3forge-0.7.0-Darwin.zip |
| Android (Shield) | ac3forge-shield-v0.7.0-beta.1.apk |
Library packages for third-party projects consuming ac3::forge/matroska::matroska/mp4::mp4/mpegts::mpegts via find_package(ac3forge) (see docs/library/index.md) — headers, static and shared libraries, and the CMake package config, with the same checksum/signature/attestation coverage as the packages above:
| Platform | Library package |
|---|---|
| Windows | ac3forge-dev-0.7.0-beta.1-win64.zip |
| Linux (x86_64) | ac3forge-dev-0.7.0-beta.1-Linux-x86_64.tar.gz, ac3forge-dev-0.7.0-beta.1-Linux-x86_64.zip |
| Linux (arm64) | ac3forge-dev-0.7.0-beta.1-Linux-aarch64.tar.gz, ac3forge-dev-0.7.0-beta.1-Linux-aarch64.zip |
| macOS | ac3forge-dev-0.7.0-beta.1-Darwin.zip |
Real Linux system packages, installable with apt install/dnf install instead of only a manual archive download: ac3forge-0.7.0-Linux-{x86_64,aarch64}-library.{deb,rpm} (headers, static archives, CMake config — libac3forge-dev/ac3forge-devel) and ac3forge-0.7.0-Linux-{x86_64,aarch64}-libruntime.{deb,rpm} (just the shared library — libac3forge0).
Every file above has a matching .sha512 and .asc (GPG signature) and an .intoto.jsonl attestation; SHA512SUMS/SHA512SUMS.asc cover the whole set with their actual checksums, ac3forge-signing-key.asc is the public key to verify against, and ac3forge-0.7.0.spdx.json is the SPDX SBOM. See docs/releasing.md for verification commands.
vcpkg: the library is also installable via the port staged at packaging/vcpkg-port/ac3forge/ (vcpkg install ac3forge --overlay-ports=..., pending submission to the curated microsoft/vcpkg registry).
ac3cli --help for the full command list, or docs/quickstart.md to get started.
Full Changelog: v0.6.0-beta.1...v0.7.0-beta.1
Pre-release. The API is not stable. Objects still won't decode as objects in Dolby's own decoder or hardware — DD+ JOC gates that on an authenticity tag keyed to a secret embedded in Dolby's decoder binaries, which this project ships no key for; the bed still decodes as pla...
v0.6.0-beta.1
What's Changed since v0.5.0-beta.1
Fifth tagged release. The main change is Atmos object decode: earlier releases could only encode object audio, and decoding an Atmos file just played its 5.1 bed. The E-AC-3 decoder now reads OAMD object positions and reconstructs JOC object audio, surfaced through the CLI's decode/monitor commands, a new GUI object inspector, and a browser-based WASM demo that renders real decoded object motion and solos individual object audio. A companion verify-objects mode checks a stream's own EMDF authenticity tag (not Dolby's proprietary decoder gate — see Known gaps).
Also landing this release: a standalone BW64/RF64 + Audio Definition Model (ADM) reader that drives a real professional ADM BWF master straight through to a DD+ JOC E-AC-3 stream; two new container writers — MP4/ISOBMFF (with fragmented MP4/CMAF segmenting plus HLS/DASH signaling) and MPEG-2 Transport Stream — alongside the existing Matroska writer; full ITU-R BS.1770/EBU R128 loudness metering and a bitstream-aware delivery-QC command; Raspberry Pi (arm64 Linux) and a real macOS CoreAudio backend; and the library is now installable through vcpkg.
Atmos object decode
- The E-AC-3 decoder reads OAMD object metadata and reconstructs JOC object audio, closing the gap where only the encoder side supported objects.
ac3cli decode/monitorsurface the decoded object layer directly (including per-object WAV export viaobjects_dir). - A new GUI "Inspect objects…" dialog plays back a decoded Atmos stream's object positions and lets you solo individual objects' audio.
- A browser-based WASM demo renders real decoded object motion and solo-plays real isolated object audio, entirely in-browser.
ac3::signinggained stream verification (verify_atmos_frame/verify_atmos_stream, CLIverify-objects): checks a stream's own embedded EMDF authenticity tag. This is opt-in and separate from Dolby's own decoder gate — see Known gaps.- The E-AC-3 decoder now applies dynamic range control (
drc=/heavy), matching the legacy AC-3 decoder; previously accepted and silently ignored.
ADM ingest
- A standalone BW64/RF64 + Audio Definition Model parser (
ac3adm::ac3adm) reads a professional ADM BWF master's object graph into memory, and a bridging layer maps it onto the Atmos object encoder's input shape. ac3cli atmos-admdrives both together end to end: a real ADM BWF master straight to a DD+ JOC E-AC-3 stream. This module is opt-in (-DAC3FORGE_BUILD_ADM=ON, off by default) since it needs several Boost header libraries; see docs/library/index.md.
Delivery containers
- A standalone MP4/ISOBMFF container writer, with a spec-correct
dec3/dac3box, plus fragmented MP4/CMAF segmenting and HLS/DASH manifest signaling. - A standalone MPEG-2 Transport Stream container writer.
- Live capture sessions can mux straight to Matroska. The GUI's Format tab and the CLI both gained the new container options.
Loudness & delivery QC
- Full ITU-R BS.1770-4/EBU R128 metering: momentary and short-term loudness, loudness range, and true peak.
dialnorm=autofinished for multi-source assignments and dual-mono streams, in both the CLI and GUI (dual-mono measures each channel independently).- A new CLI
qccommand and GUI QC dialog audit an already-encoded stream's bitstream-level loudness against its embedded metadata and delivery gates. - A perceptual-quality (ViSQOL) column sits alongside SNR in the quality-comparison tooling.
Platform & packaging
- Raspberry Pi (arm64 Linux) is now a supported platform, Pi 4/5 tier (Pi 3 out of scope on real-time budget grounds).
- A real macOS CoreAudio backend for live capture/monitor playback.
- The library is installable via vcpkg (staged in-tree pending submission to the curated registry — see docs/releasing.md):
ac3::forgeplusmatroska/mp4/mpegtsas opt-in container-writer features.
Fixes
- AC-3 decode's reported dynamic-range floor was wrong whenever the true minimum sample was exactly 0.0 dB — an accumulator seeded at 0.0 instead of the first real sample silently widened the reported range.
- A flushed E-AC-3 dependent substream (e.g. a height-only pair at end of stream) could crash the CLI decoder instead of writing correct audio, when its channel layout didn't match the program's main substream.
fast-mdct=offis now honored consistently across alleac3-encode/eac3-encode-multicommands.- Piping CLI output to
-no longer risks corrupting stdout whendialnorm=autoor a multi-source summary is printed. - The GUI's auto-monitor preference now actually takes effect on the input rail's Add button.
Known gaps
- Objects still will not decode as objects in Dolby's own decoder or hardware: DD+ JOC gates that on an authenticity tag keyed to a secret embedded in Dolby's decoder binaries, which this project ships no key for.
verify-objectschecks a stream against its own signature, not Dolby's gate. The bed still decodes as plain 5.1 anywhere. - Exclusive-mode S/PDIF/HDMI passthrough has not been confirmed against real bitstreaming hardware on any platform.
fscod2audio content has no external decode oracle at all — verified only by this project's own encoder/decoder round trip.
See CHANGELOG.md for the full curated list and Validation for what is and isn't independently verified.
Artifacts
Self-contained, SHA-512-summed, GPG-signed and Sigstore/OIDC-attested:
| Platform | Files |
|---|---|
| Windows | ac3forge-0.6.0-win64.zip |
| Linux (x86_64) | ac3forge-0.6.0-Linux-x86_64.tar.gz, ac3forge-0.6.0-Linux-x86_64.zip, ac3forge-0.6.0-Linux-x86_64-runtime.deb, ac3forge-0.6.0-Linux-x86_64-runtime.rpm |
| Linux (arm64 / Raspberry Pi) | ac3forge-0.6.0-Linux-aarch64.tar.gz, ac3forge-0.6.0-Linux-aarch64.zip, ac3forge-0.6.0-Linux-aarch64-runtime.deb, ac3forge-0.6.0-Linux-aarch64-runtime.rpm |
| macOS | ac3forge-0.6.0-Darwin.dmg, ac3forge-0.6.0-Darwin.zip |
| Android (Shield) | ac3forge-shield-v0.6.0-beta.1.apk |
New this release — Linux packages split by architecture (x86_64 and aarch64, matching new Raspberry Pi support) rather than one shared name.
Library packages for third-party projects consuming ac3::forge/matroska::matroska/mp4::mp4/mpegts::mpegts via find_package(ac3forge) (see docs/library/index.md) — headers, static and shared libraries, and the CMake package config, with the same checksum/signature/attestation coverage as the packages above:
| Platform | Library package |
|---|---|
| Windows | ac3forge-dev-0.6.0-beta.1-win64.zip |
| Linux (x86_64) | ac3forge-dev-0.6.0-beta.1-Linux-x86_64.tar.gz, ac3forge-dev-0.6.0-beta.1-Linux-x86_64.zip |
| Linux (arm64) | ac3forge-dev-0.6.0-beta.1-Linux-aarch64.tar.gz, ac3forge-dev-0.6.0-beta.1-Linux-aarch64.zip |
| macOS | ac3forge-dev-0.6.0-beta.1-Darwin.zip |
Real Linux system packages, installable with apt install/dnf install instead of only a manual archive download: ac3forge-0.6.0-Linux-{x86_64,aarch64}-library.{deb,rpm} (headers, static archives, CMake config — libac3forge-dev/ac3forge-devel) and ac3forge-0.6.0-Linux-{x86_64,aarch64}-libruntime.{deb,rpm} (just the shared library — libac3forge0).
Every file above has a matching .sha512 and .asc (GPG signature) and an .intoto.jsonl attestation; SHA512SUMS/SHA512SUMS.asc cover the whole set with their actual checksums, ac3forge-signing-key.asc is the public key to verify against, and ac3forge-0.6.0.spdx.json is the SPDX SBOM. See docs/releasing.md for verification commands.
vcpkg: the library is also installable via the port staged at packaging/vcpkg-port/ac3forge/ (vcpkg install ac3forge --overlay-ports=..., pending submission to the curated microsoft/vcpkg registry).
ac3cli --help for the full command list, or docs/quickstart.md to get started.
Full Changelog: v0.5.0-beta.1...v0.6.0-beta.1
Pre-release. The API is not stable. Objects still won't decode as objects in Dolby's own decoder or hardware — DD+ JOC gates that on an authenticity tag keyed to a secret embedded in Dolby's decoder binaries, which this project ships no key for; the bed still decodes as plain 5.1 anywhere. See Known gaps above.
v0.5.0-beta.1
What's Changed since v0.4.0-beta.1
Fourth tagged release. The main change is a fast-transform performance initiative: an opt-in FFT-based MDCT was introduced, taken default-on, and then progressively hardware-optimized down through every transform kernel the encoder touches — the long transform, both block-switched short transforms, and the opt-in enhanced-coupling tool's DFT — alongside an algorithmic warm-start for the bit-allocation rate-control search. Measured on the same 5950X release build throughout, default 5.1 encoding drops from 0.4.0-beta.1's ~3.0 ms/frame to ~0.47 ms/frame (about 6.4×) and 8-object Atmos from ~4.8 ms/frame to ~0.43 ms/frame (about 11×), with SNR held at +0.000 dB against an independent FFmpeg oracle at every step along the way. Alongside the performance work: two GUI fixes (object-drag losing its mouse grab mid-gesture, and ambiguous plan/elevation axis labeling), a quality-trend dashboard fix, and Linux packaging now ships real libFOO/libFOO-dev-style system packages instead of one .deb/.rpm silently bundling the CLI together with the entire library SDK.
Performance: fast transforms, default-on and hardware-optimized
- A new FFT-based fast forward MDCT, landed opt-in behind
fast_mdct(off by default): the §7.9.4 N/4-FFT structure replaces the direct §8.2.3.2 O(N²) evaluation for the long transform, ~25× faster at the kernel level (76.8 µs → 3.1 µs/call) with the direct form kept in-tree as the permanent reference/validation oracle. Verified bit-identical-class agreement (peak-relative ~3e-15) against the direct form on goldens, random data and real audio, plus +0.000 dB through an independent FFmpeg oracle at 192–448 kbps. - The inverse transform and enhanced coupling's windowing step got the equivalent fix:
std::cos/std::sincalls insideimdct512_windowed,imdct256_pair_windowedandecpl_channel_spectrum's windowing loop, previously recomputed fresh every call, are now one-time tables. Bit-exact by construction (the naive periodic-index shortcut is provably not bit-exact for the IMDCT's un-reduced angles — documented as a trap so it isn't re-attempted). A real 5.1 E-AC-3 decode drops from ~640 ms to ~145 ms (~4.4×). - The fast MDCT is now the default everywhere, with
band_energy(Atmos's JOC reconstruction solve) wired through the same flag — the gap that had capped Atmos's win at ~2.0×. Whole-frame: plain 5.1 3.0 → 0.67 ms/frame (~4.5×), 8-object Atmos 4.8 → 0.64 ms/frame (~7.6×, up from ~2.0× beforeband_energyrode the flag).fast-mdct=off(AC-3 commands) /tools=nofastmdct(E-AC-3) force the direct form back; the old opt-in spellings still parse as no-ops so existing run history keeps working. - The fast MDCT kernel itself closed to its standalone-prototype speed (3.09 µs → 903 ns/call, a further 3.4×) by moving every angle-dependent value in the §7.9.4 fold — pre/post twiddles and the FFT's own butterfly twiddles/bit-reversal — into one-time tables, and switching the FFT to split real/imaginary arrays so the auto-vectorizer can see the butterfly's independent multiply-add chains.
- Both block-switched short transforms get their own fast folds, closing the last kernels still running direct-form O(N²) sums under the default
fast_mdct. Each derives to the same scaled DCT-IV core the long transform already uses (877 ns/call vs. 35.8 µs direct — ~41×), removing the worst-case real-time hazard on transient-heavy material: a fully block-switched 5.1 frame's transform stage drops from ~1.3 ms-class to ~32 µs-class. - The opt-in enhanced-coupling tool's
dft512gets the same FFT treatment as the long MDCT (both now share onefft_radix2.hppcore):ecpl_channel_spectrum, still the single most expensive kernel measured, drops from 277 µs to 47 µs/call (~5.9×). Not run by any default encode, but a real-time hazard wheneverecplis enabled. - The bit-allocation rate-control search now warm-starts from the previous frame's converged offset instead of a fixed bracket, exploiting that consecutive frames of real material converge to the same or a neighbouring value. A stationary frame's ~11 full bit-allocation evaluations drop to 2–3; whole-frame time falls a further 18% (5.1) / 11% (Atmos) on top of the kernel work above. Brute-force verified against the plain binary search over 4,355 monotone-predicate cases with zero mismatches; outputs are byte-identical on every monotone path, and the one path where they can legitimately differ (AHT's locally non-monotone cost function) was already probe-order-dependent before this change — decoded PCM agrees at 102–115 dB SNR per channel.
- New performance observability: Tracy zones across every previously unzoned encoder stage, a standalone
ac3kernelbenchmicro-benchmark harness timing kernels in isolation against real audio, and a per-kernel trend history (non-gating,::warning::-only) alongside the existing whole-frame performance trend — see docs/performance-trend.md.
Packaging
- Linux
.deb/.rpmnow ship a reallibFOO/libFOO-devsplit instead of one package silently bundlingac3clitogether with the entire library SDK (headers, static archives, the CMake package config — confirmed against realdpkg-deb -coutput, not assumed).libac3forge0carries just the versioned shared library a linked binary loads at runtime;libac3forge-dev/ac3forge-develcarries everything a builder needs, version-pinned to its exact matchinglibac3forge0. Installable with a plainapt install/dnf installrather than a manual archive download — see docs/releasing.md. ZIP/TGZ downloads are unaffected:library+libruntimestill merge into oneac3forge-dev-*archive, exactly as before.
GUI fixes
- Object-drag no longer loses the mouse grab mid-gesture. The Objects tab's plan/elevation/live-session
MouseAreas sit inside aFlickable-basedScrollView, which could steal the grab from a childMouseAreaonce movement looked flick-like — most reproducible on the elevation view's vertical drag, the same axisFlickablewatches for scrolling.preventStealing: trueon all five affectedMouseAreas holds the grab for the whole gesture. - The plan and elevation views in the Objects tab are now labeled as what they are — "(top-down)" / "(side-on)" headers, a one-line caption naming which screen axis maps to which room axis, and a corrected elevation hint ("drag: depth + height" rather than "drag for height", since the plan view's marker moves too during an elevation drag — correct behaviour, previously unexplained).
Developer tooling
- The quality-trend dashboard's table no longer conflates unrelated checks. The chart already scoped rows by codec and
isPrimaryCheck; the table below it rendered the raw, unfiltered record list, which let a steady ~25 dB interop fixture read as a crash relative to an unrelated ~68 dB series. The table now follows the same Codec scoping as the chart, with aCheckcolumn and a tooltipped†marker on non-primary checks.
Known gaps
- Objects will not decode as objects in Dolby's own decoder: DD+ JOC gates that on an authenticity tag keyed to a secret embedded in Dolby's decoder binaries, which this project does not produce. The bed still decodes as plain 5.1 anywhere.
- Exclusive-mode S/PDIF/HDMI passthrough has not been confirmed against real bitstreaming hardware on either platform (no such endpoint was available during development).
fscod2audio content has no external decode oracle at all, not even Dolby's own Reference Player — verified only by this project's own encoder/decoder round trip.- The external-encoder landscape comparison's Dolby DEE leg silently drops the Ls channel on discrete 5.1 input — a limitation of the installed DEE build used as a comparison oracle, not of this project's own encoder; affected rows are marked
unverifiedrather than scored.
See CHANGELOG.md for the full curated list and Validation for what is and isn't independently verified.
Artifacts
Self-contained, SHA-512-summed, GPG-signed and Sigstore/OIDC-attested:
| Platform | Files |
|---|---|
| Windows | ac3forge-0.5.0-win64.zip |
| Linux | ac3forge-0.5.0-Linux.tar.gz, ac3forge-0.5.0-Linux.zip, ac3forge-0.5.0-Linux-runtime.deb, ac3forge-0.5.0-Linux-runtime.rpm |
| macOS | ac3forge-0.5.0-Darwin.dmg, ac3forge-0.5.0-Darwin.zip |
| Android (Shield) | ac3forge-shield-v0.5.0-beta.1.apk |
Library packages for third-party projects consuming ac3::forge/matroska::matroska via find_package(ac3forge) (see docs/library/index.md) — headers, static and shared libraries, and the CMake package config, with the same checksum/signature/attestation coverage as the packages above:
| Platform | Library package |
|---|---|
| Windows | ac3forge-dev-0.5.0-beta.1-win64.zip |
| Linux | ac3forge-dev-0.5.0-beta.1-Linux.tar.gz, ac3forge-dev-0.5.0-beta.1-Linux.zip |
| macOS | ac3forge-dev-0.5.0-beta.1-Darwin.zip |
New this release — real Linux system packages, installable with apt install/dnf install instead of only a manual archive download (see the Packaging section above): ac3forge-0.5.0-Linux-library.deb / ac3forge-0.5.0-Linux-library.rpm (headers, static archives, CMake config — libac3forge-dev/ac3forge-devel) and ac3forge-0.5.0-Linux-libruntime.deb / ac3forge-0.5.0-Linux-libruntime.rpm (just the shared library — libac3forge0).
Every file above has a matching .sha512 and .asc (GPG signature); SHA512SUMS/SHA512SUMS.asc cover the whole set with their actual ch...
v0.4.0-beta.1
What's Changed since v0.3.0-beta.1
Third tagged release. The GUI is rebuilt to the canon design handoff — a numbered-rail workflow, a single assignment table driving all channel routing, an audible timeline with per-source offsets and motion editing, live capture (including two-device parallel capture with software clock-drift correction), per-source gain/LFE/resample controls, dual-mono independent DRC, S/PDIF-wrapped WAV output, four selectable colour palettes with a native system-accent theme, and a full round of dark-mode fixes. Alongside the GUI work: enhanced coupling's encoder now fits real angle/chaos coordinates instead of sending them as zero, the decoder accepts Annex E's default coupling band structure, the EMDF object signer is a committed clean-room library, eight new library examples ship, an external-encoder (FFmpeg/DEE) comparison joins the quality dashboards, and Android release builds sign with a real keystore.
E-AC-3 encoding and decoding
- Enhanced coupling's encoder now fits real angle and chaos coordinates, closing the last known gap from 0.3.0-beta.1's enhanced coupling work — it no longer sends angle/chaos as zero. Amplitude and angle are solved as an exact 2-variable linear least squares per band (§3.5.5.4's reconstruction is linear in the complex gain a band's amplitude/angle pair expresses); chaos is chosen by searching its 8 legal codes directly against the decoder's own deterministic de-correlation sequence and keeping whichever reconstructs closest to the source, rather than estimated from a statistical proxy. Quality on ordinary material is unchanged (a correlated signal's best fit lands near angle zero anyway); the case the amplitude-only fit could not represent at all — two channels' different content forced into the same narrow coupling band — improves measurably, from a ~3 dB floor to ~6 dB, without threatening the coding tool's own structural limit on how much a single coordinate per band can ever separate.
- E-AC-3 stereo (2/0) rematrixing — the bitstream syntax and decoder undo path have existed since 0.2.0-beta.1; only the encoder's own §7.5.3 minimum-power decision was missing, and it turned out to need no new logic at all, just the same rule AC-3's own encoder already makes, over the same Table 7.25 bands (Annex E only changes how many of the four are active, not their boundaries or the rule itself).
- The decoder now accepts Annex E's legal default coupling band structure (
cplbndstrce=0) instead of rejecting it withDecodeError::kUnsupported. This project's own encoder always transmits an explicit band structure, so the default path had only ever been exercised against the encoder's own output — decoding FFmpeg's E-AC-3, which legally chooses the default, failed immediately. The root cause was a stale assumption that Table E2.12's array needed relative-to-cplbegfindexing; cross-checked against FFmpeg's owndecode_band_structure(), the table is indexed absolutely fromcplbegf == 0. A permanent regression fixture (a real FFmpeg 8.0.1 encode with nonzerocplbegf) now covers this in the gold-reference gate.
Atmos object signing
- The EMDF object signer is now a committed, clean-room library (
ac3::signing) rather than a gitignored overlay. The HMAC-SHA-256 construction and the layout of what gets signed are in-tree and dependency-free; the key is the only secret and is supplied by the operator at runtime, never embedded and never written to disk.ac3cli atmosgainssign-objectswithsigning-key=<path>(or theAC3FORGE_SIGNING_KEY_FILE/AC3FORGE_SIGNING_KEYenv vars); signing engages only when both a request and a key are present. The Shield app reads its key from a bundledsigning.keyasset written from theATMOS_SIGNING_KEYCI secret at build time. See docs/concepts/object-signing.md.
GUI: canon workbench redesign
- The desktop GUI is rebuilt to the canon design handoff, replacing the earlier workbench that had drifted from it — the numbered rail (01 Input / 02 Levels / 03 Soundfield), plan strip, two-tier bitrate picker, routing strip and command bar now match the handoff, landed via a 6-agent conformance sweep against the mockup (~70 fixes across CLI parity, run history, timeline editing, live-tab truth and guided copy).
- A single assignment table now drives channel routing everywhere, replacing the free-text token field that only appeared once a second source was loaded. Each source channel gets one destination dropdown (bed position / a new object / programme / nothing); sending a channel to an object turns object mode on, fixes the 5.1 bed, and raises the rate to ≥384 kbps atomically. In object mode, a channel assigned to a bed position becomes a static object pinned at that speaker's azimuth; unassigned channels drop with a named warning, and encoding enforces the sixteen-object cap over dynamic + pinned together.
- Meter and soundfield redraws no longer tear down and rebuild ~30x/second. The 30 Hz level stream previously rebuilt fresh JS arrays (and every delegate) on every tick; meter/soundfield models are now layout-keyed and read by index, and encode-progress/object-drag updates are coalesced onto the ~30–60 Hz publish cadence instead of flooding the GUI event queue per frame.
- A real first-run screen, Preferences dialog and honest run history round out the shell: first run synthesizes a bundled 5.1 test signal into a real WAV; Preferences persists via
QSettings; and run history, failure-banner actions, and the live tab now reflect actual encoder/session state rather than mockup placeholders.
GUI: timeline & time model
- Timeline length is now derived, not fixed —
max(offset + duration)over every loaded source, rather than a hardcoded 8 s. - Each source gets an independent start offset, settable from a rail numeric field or by dragging its clip band, applied as leading silence in both the channel and object encode loops and the meter preview — and reproducible on the command line via a new
offset=CLI token. - Keyframes stay programme-absolute when a clip is dragged; Shift-drag explicitly carries a source's object keyframes along by the same delta (clamped at 0), so a plain drag no longer silently drags authored motion with it.
- Zoom (wheel/button, up to 40x) and snap — ruler-tick and drag-snap tiers at 1 s / 0.1 s / a 32 ms floor — move together as the view scales.
- The Preview button is now audible: it renders every object through the Atmos encoder and plays the 5.1 bed back live through the monitor sink, paced in real time with the playhead following the audio clock.
- Object identity is now keyed by (source, channel) instead of position in the dynamic-object list, so reassigning a channel or removing a non-primary source no longer silently migrates or destroys motion belonging to a different or surviving channel.
atmos-encodegains an optional keyframes-file argument, matchingatmos-path's grammar; the GUI's "Export paths…" writes that exact format, closing the last gap in object-mode CLI reproducibility.
GUI: live session and two-device capture
- A live take now streams to disk incrementally instead of buffering the whole session in RAM: an elementary-stream take is the growing output file, muxed to Matroska once at a clean stop, so a crash still leaves the elementary take behind. An optional raw-WAV safety copy streams the untouched captured PCM alongside it.
- A silence watchdog fails a session ~3 s after a capture device goes quiet, instead of the transport reading "Running" forever against a vanished device, with a "Choose another device" recovery action on the resulting failure banner.
- Live Atmos sessions pre-allocate a fixed object-slot budget rather than baking the capture device's channel count straight into the JOC stream, so objects can be added or reassigned to a different capture channel mid-session.
- Changing the receiver — or toggling passthrough — mid-session now hot-swaps the passthrough sink on the worker thread between frames, without restarting capture or encode.
- A live session can now pace a second capture device off the first's clock in software. The master device's delivery paces the frame loop as before; the second device is conformed to the master's clock via a streaming linear-interpolation fractional resampler and a proportional drift-correction servo, since there's no shared hardware clock between two independent capture endpoints. Available from the GUI and from
ac3cli's newlive capture2=<index>token, with the slave device's measured drift correction visible in the chain's capture cell. A plain channel-mode session's bed still comes from the master device alone — there is no principled default position to auto-pan a second, independent device's audio into.
GUI: source gain, metering, and format/output controls
- Per-assignment gain/trim on the channel routing table, applied inside the same routing matrix that drives encode, meter preview, and fed-channel flags.
- Source-side metering pips: a whole-programme, pre-routing peak/RMS reading per loaded file source.
- Resample-on-load: adding a source at a different sample rate than the primary no longer refuses outright — it resamples to the primary's rate via an offline windowed-sinc polyphase resampler and labels the row accordingly; the refusal survives only when the primary's own rate has no legal AC-3 target at all.
- LFE low-pass filtering: a full-bandwidth channel explicitly routed onto LFE through the assignment table now runs through a 120 Hz 4th-order Butterworth low-pass in preview and channel-encode. Automatic single-source routing (a file's own dedicated LFE channel) stays bit-exact.
- CLIP latches per channel in the meters — once lit, stays lit until clicked or a new transport star...
v0.3.0-beta.1
What's Changed since v0.2.0-beta.1
Second tagged release. Adds the two remaining Annex E coding tools (enhanced coupling, transient pre-noise processing), a native Android app on NVIDIA Shield TV, packaged find_package(ac3forge) libraries for third-party consumers, explicit multi-source channel assignment, and a GUI tier split for first-time users through experts.
E-AC-3 encoding and decoding
- Enhanced coupling (§E3.5) and transient pre-noise processing (§3.7), the two Annex E tools the decoder previously recognised but refused (
DecodeError::kUnsupported) — now implemented end to end, encoder and decoder, each behind its own tool token (cpl+ecpl,tpn). Enhanced coupling round-trips at the same ~20dB near-transparent bar as standard coupling for realistic content; transient pre-noise processing follows the spec's own time-scaling synthesis pseudocode, reusing the existing block-switch transient detector rather than a second one. - Fixed two real conformance bugs found implementing the above: a missing §3.3.2
nrematbdformula forecplinu(both encoder and decoder), and a systematic 2:1 gain error in enhanced coupling's FFT-based reconstruction pathway. Eac3Decoder::decode_substreamnow returns an optional decoded substream plus a newflush(), since transient pre-noise processing can hold a frame back until the next one confirms whether a correction reaches into it. Streams that never use the tool see no behavioural change.
Dolby Atmos objects and multi-source encoding
- Explicit multi-source channel assignment alongside automatic routing —
ac3cli's encode commands takesrc=/map=to assign specific input files/channels to specific output channels and objects, instead of relying purely on automatic layout inference. - Object mode now addresses objects by source, not a stale positional index, so multi-source sessions keep object identity stable as sources are added or reordered.
GUI
- Guided/Advanced/Expert tier split: a real step-by-step wizard for first-time users, with Advanced and Expert tiers exposing the same controls power users had before.
- Multi-source input and an explicit per-channel assignment surface in the GUI, mirroring the CLI's
src=/map=. - Dual mono (1+1) as a bed, not a distinct layout — it now feeds the same object/motion pipeline as any other bed.
- Variable bit rate as a selectable GUI rate mode (a quality target with optional min/max kbps bounds), alongside CBR.
- Live sessions no longer clobber a file's authored objects when a live capture starts, and warn before silently dropping VBR settings that don't apply live.
- A Qt Quick Test harness drives the real
EncoderControllerend-to-end, not a mock, for GUI regression coverage.
Android (Shield) — new platform
- ac3forge on NVIDIA Shield TV: a native Android app (
platform/android/) pairingac3::forge/ac3::audiovia JNI with a live Atmos demo — authored object trajectories, deflection, and ambient object motion, encoded and rendered on-device. - HDMI receiver resilience hardening for the Shield demo, so a receiver renegotiating format mid-playback doesn't drop the session.
- Ships as a debug-signed
.apkthis release — see Known gaps.
Library and packaging
find_package(ac3forge)support:ac3::forgeandmatroska::matroskanow build as proper static and shared CMake targets withinstall()/export support, so a third-party project can consume them without vendoring the source tree.ac3::audio(live capture/monitor/passthrough) stays CLI/GUI-internal, not part of what's installed.ac3::forgesplit into a platform-independent codec core plusac3::audio, clearing the way for the library package above and for platforms — like Android — that only want the codec.
Quality and packaging infrastructure
- Quality-trend dashboard redesign (readability, tightened gate thresholds) and a fix for CI concurrency dropping quality data mid-run.
- A round of security hardening prompted by OpenSSF Scorecard: hash-pinned CI tool installs, commit-SHA-pinned GitHub Actions (replacing tag-pinned ones), a
SECURITY.mdvulnerability-reporting policy, patched CVEs in docs dependencies, branch-protection scoring wired up, and build provenance republished as.intoto.jsonlfor Scorecard to read. - Several MSVC
/analyzeand clang-tidy findings fixed for real: heap-allocating large encoder/decoder objects out of worker-thread stacks, reusing MDCT scratch buffers instead of stack-declaring them per call, and a couple of static-analysis false-positive suppressions. - macOS packaging now stays a single
.dmgbundling both the runtime and library components, matching the archive packages' intent — CPack's DragNDrop generator defaulted to splitting per component the first time this leg actually ran on real macOS CI, caught by this release's own packaging dry run.
Known gaps
- The Shield
.apkships debug-signed via Android's default debug keystore — no release keystore is provisioned in this repo yet, so it's a sideload-only build, not one suited for store distribution. - Enhanced coupling's encoder always sends angle/chaos as zero (an amplitude-only fit) — quality degrades if two channels' content shares one narrow coupling band. Enhanced coupling and spectral extension are never combined by this encoder, and
decode_access_unitrefuses rather than supports transient pre-noise processing across multiple substreams of one access unit. - Objects will not decode as objects in Dolby's own decoder: DD+ JOC gates that on an authenticity tag keyed to a secret embedded in Dolby's decoder binaries, which this project does not produce. The bed still decodes as plain 5.1 anywhere.
- Exclusive-mode S/PDIF/HDMI passthrough has not been confirmed against real bitstreaming hardware on either platform (no such endpoint was available during development).
fscod2audio content has no external decode oracle at all, not even Dolby's own Reference Player — verified only by this project's own encoder/decoder round trip.
See CHANGELOG.md for the full curated list and Validation for what is and isn't independently verified.
Artifacts
Self-contained, SHA-512-summed, GPG-signed and Sigstore/OIDC-attested:
| Platform | Files |
|---|---|
| Windows | ac3forge-0.3.0-win64.zip |
| Linux | ac3forge-0.3.0-Linux.tar.gz, ac3forge-0.3.0-Linux.deb, ac3forge-0.3.0-Linux.rpm, ac3forge-0.3.0-Linux.zip |
| macOS | ac3forge-0.3.0-Darwin.dmg, ac3forge-0.3.0-Darwin.zip |
| Android (Shield) | ac3forge-shield-v0.3.0-beta.1.apk |
New this release: library packages for third-party projects consuming ac3::forge/matroska::matroska via find_package(ac3forge) (see docs/library/index.md) — headers, static and shared libraries, and the CMake package config, with the same checksum/signature/attestation coverage as the packages above:
| Platform | Library package |
|---|---|
| Windows | ac3forge-dev-0.3.0-beta.1-win64.zip |
| Linux | ac3forge-dev-0.3.0-beta.1-Linux.tar.gz, ac3forge-dev-0.3.0-beta.1-Linux.zip |
| macOS | ac3forge-dev-0.3.0-beta.1-Darwin.zip |
Every file above has a matching .sha512 and .asc (GPG signature); SHA512SUMS/SHA512SUMS.asc cover the whole set, ac3forge-signing-key.asc is the public key to verify against, and ac3forge-0.3.0.spdx.json is the SPDX SBOM. See docs/releasing.md for verification commands.
ac3cli --help for the full command list, or docs/quickstart.md to get started.
Full Changelog: v0.2.0-beta.1...v0.3.0-beta.1
Pre-release. The API is not stable. The Shield
.apkis debug-signed only — no release keystore is provisioned yet, so it's a sideload build, not one suited for store distribution. Objects still won't decode as objects in Dolby's own decoder, for the same authenticity-tag reason as v0.2.0-beta.1. See Known gaps above.