Catalog PyPI
PACKAGE EXPLORERView in registry

ac3forge

PyPI

Clean-room AC-3/E-AC-3 (Dolby Digital/Digital Plus) encoder and decoder, with Atmos object encode/decode

ac3atmosaudiocodecdolby-digitaleac3
Versions collected1
Direct dependencies2From release 0.10.0b1
Last observed20 Oct, 17:48 UTC

README

Version 0.10.0b1 documentation

ac3forge

Python bindings for ac3forge, a clean-room AC-3/E-AC-3 (Dolby Digital/Digital Plus) encoder and decoder written in C++23, including the Atmos-in-DD+ object layer (OAMD + JOC).

import numpy as np
import ac3forge as ac3

encoder = ac3.FrameEncoder(ac3.EncoderConfig(acmod=ac3.Acmod.k2_0, bitrate_kbps=192))
tone = 0.2 * np.sin(2 * np.pi * 440 * np.arange(ac3.SAMPLES_PER_FRAME) / 48000).astype(np.float32)
frame = encoder.encode_frame([tone, tone])

decoder = ac3.FrameDecoder()
decoded = decoder.decode_frame(frame)
print(decoded.channels[0].shape)  # (1536,)

See docs/library/python-api.md for the full surface (E-AC-3 and Atmos object encode/decode included) and the main project README for what the codec itself covers. Licensed GPL-3.0-only, same as the rest of the project — see LICENSE.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.10.0b11 Sept 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
iainchesworthlabs/ac3forge

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:48 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:7f331a7bf596d3b74e79ab8cfaafae8c3cbf82ea5ca5cafabfec2836d15073ab