You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LibDTSX’s dca crate says it’s a port of FFmpeg’s dca decoder, which is LGPL-2.1+, but it’s labelled Apache-2.0 and shipped as a static library. Could it be confirmed as Apache, or shipped as a dynamic framework like FFmpegBuild so the LGPL terms are met?
Filed 16 minutes after this issue, #799 carries the file-by-file reading behind the same point (the crate's source headers against its licence field, at harletty-bridge a717bae and FFmpeg n8.0) and points at harletty/harletty-bridge#158, where the crate's author is asked which licence applies. Nothing in it decides the question; it only lays out what the files say.
2. Filed 16 minutes after this issue, #799 carries the file-by-file reading behind the same point (the crate's source headers against its licence field, at harletty-bridge a717bae and FFmpeg n8.0) and points at harletty/harletty-bridge#158, where the crate's author is asked which licence applies. Nothing in it decides the question; it only lays out what the files say.
Thanks for catching this, it is correct. The dca crate's own sources call it "a native Rust port of ffmpeg's dca decoder", and its core, XLL, EXSS and header parser each name the FFmpeg file they were ported from (tables included). So the Apache-2.0 label does not hold, and neither did our NOTICE that repeated it.
What changed:
LibDTSX 2.0.0 (release) ships DTSX.framework as a dynamic framework in every slice, under an @rpath install name and exporting only the C API, the same shape as FFmpegBuild. An app embeds it in Frameworks/, where it can be replaced. The decoder is unchanged, and the output is bit-identical to 1.0.1.
Its NOTICE and README now state the built library as LGPL-3.0-or-later: the dca part is LGPL-2.1-or-later as a work based on FFmpeg, and combined with the Apache-2.0 code around it, only version 3 works. LICENSES/ carries the texts.
AetherEngine main pins LibDTSX 2.0.0 (ede2539), and the README's license section says what a host receives. It goes out with the next engine release.
What is still open: getting the whole thing to LGPL-2.1-or-later like the FFmpeg frameworks, which avoids the extra conditions of version 3. That needs the Apache-2.0 authors to also allow LGPL-2.1-or-later:
@kristofferR for the LibDTSX C API, framing and the SpatialAudioBridge-derived reconstruction: would you be fine with that code also being available under LGPL-2.1-or-later (or MIT)?
I'm keeping this issue open until that is settled.
Follow-up: the license question is now settled differently. Waiting on a relicense of the dca crate (harletty/harletty-bridge#159) was not needed in the end, and LibDTSX is out of the engine.
FFmpegBuild 3.9.0 patches FFmpeg's own dca decoder to decode the height channels of DTS:X's standard presentation (decoder option x_heights, 7.1.4, the -3 dB fold removed from the bed). Plain FFmpeg, LGPL-2.1-or-later, dynamically linked as before.
AetherEngine 7.44.0 decodes DTS:X through it, behind the same DTSXObjectAudio trait. DTSX.framework is gone from apps, so the LGPL-3.0 problem LibDTSX#2 raised for App Store builds no longer exists.
Thanks again to @kristofferR for agreeing to the relicense, and to everyone who looked at the provenance.
Activity
cmcpherson274 commentedon Oct 16, 2026
Filed 16 minutes after this issue, #799 carries the file-by-file reading behind the same point (the crate's source headers against its licence field, at harletty-bridge a717bae and FFmpeg n8.0) and points at harletty/harletty-bridge#158, where the crate's author is asked which licence applies. Nothing in it decides the question; it only lays out what the files say.
tweakapps commentedon Oct 16, 2026
Tank you!
fix(deps): LibDTSX 2.0.0, a dynamic framework under the LGPL
superuser404notfound commentedon Oct 16, 2026
Thanks for catching this, it is correct. The
dcacrate's own sources call it "a native Rust port of ffmpeg'sdcadecoder", and its core, XLL, EXSS and header parser each name the FFmpeg file they were ported from (tables included). So the Apache-2.0 label does not hold, and neither did our NOTICE that repeated it.What changed:
DTSX.frameworkas a dynamic framework in every slice, under an@rpathinstall name and exporting only the C API, the same shape as FFmpegBuild. An app embeds it inFrameworks/, where it can be replaced. The decoder is unchanged, and the output is bit-identical to 1.0.1.dcapart is LGPL-2.1-or-later as a work based on FFmpeg, and combined with the Apache-2.0 code around it, only version 3 works.LICENSES/carries the texts.What is still open: getting the whole thing to LGPL-2.1-or-later like the FFmpeg frameworks, which avoids the extra conditions of version 3. That needs the Apache-2.0 authors to also allow LGPL-2.1-or-later:
dcacrate: dca crate: labelled Apache-2.0, but ported from FFmpeg's LGPL-2.1+ dca decoder harletty/harletty-bridge#159I'm keeping this issue open until that is settled.
fix(deps): LibTrueHD 2.3.1, the version string names the truehd commi…
kristofferR commentedon Oct 16, 2026
Yeah, do whatever you need 🙂
chore(deps): FFmpegBuild 3.9.0, LibDTSX out of the resolved graph (#798)
feat(audio): decode DTS:X with FFmpeg's dca decoder instead of LibDTSX (
Merge feat/798-dtsx-via-ffmpeg: decode DTS:X with FFmpeg's dca decode…
superuser404notfound commentedon Oct 20, 2026
Follow-up: the license question is now settled differently. Waiting on a relicense of the
dcacrate (harletty/harletty-bridge#159) was not needed in the end, and LibDTSX is out of the engine.dcadecoder to decode the height channels of DTS:X's standard presentation (decoder optionx_heights, 7.1.4, the -3 dB fold removed from the bed). Plain FFmpeg, LGPL-2.1-or-later, dynamically linked as before.DTSXObjectAudiotrait.DTSX.frameworkis gone from apps, so the LGPL-3.0 problem LibDTSX#2 raised for App Store builds no longer exists.Thanks again to @kristofferR for agreeing to the relicense, and to everyone who looked at the provenance.