macOS
brew install codec2local Homebrew formula metadata
sudo port install codec2MacPorts ports tree · audio/codec2/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für codec2 in AI-Agent-Workflows.
Installation
brew install codec2local Homebrew formula metadata
sudo port install codec2MacPorts ports tree · audio/codec2/Portfile · Quelle: api.github.com
sudo apk add codec2Alpine Linux edge package indexes · codec2 · Quelle: dl-cdn.alpinelinux.org
sudo apt install codec2Debian stable package indexes · codec2 · Quelle: deb.debian.org
sudo dnf install codec2Fedora Rawhide package metadata · codec2 · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#codec2nixpkgs package indexes · pkgs/by-name/co/codec2/package.nix · Quelle: api.github.com
sudo pacman -S codec2Arch Linux sync databases · codec2 · Quelle: geo.mirror.pkgbuild.com
sudo zypper install codec2openSUSE Tumbleweed package metadata · codec2 · Quelle: download.opensuse.org
Überblick
Open source speech codec
Verlauf
Codec 2 is an LGPL open-source low-bit-rate speech codec written in C for communications-quality speech around 700 to 3200 bit/s. Its main application is low-bandwidth HF/VHF digital radio, where open codecs are important because many comparable vocoders have historically been proprietary or patent-encumbered.
David Rowe announced the project on 2009-08-21 in a Rowetel post titled Open Source Low Rate Speech Codec Part 1, describing a plan for a free low-bit-rate speech codec initially targeting 2400 bit/s communications-quality speech. The motivation was explicitly tied to ham radio, low-bandwidth digital radio, and the lack of open sub-5 kbit/s speech codecs.
The current Codec 2 README says the project is C99, LGPL 2.1, and includes the FreeDV API, HF OFDM and FSK modems, FEC, packet-data APIs, and embedded FreeDV support. In July 2023 the repository was refactored, with older code moved to `drowe67/codec2-dev`.
The Rowetel Codec 2 page says the codec fills a gap below 5000 bit/s and integrates with FreeDV, an open-source digital voice protocol that combines modems, codecs, and FEC.
Codec 2 has unusually broad package-manager distribution for a specialized DSP library: the input package facts list Alpine, Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Arch/pacman, Ubuntu, and openSUSE/Zypper. That reflects its use as both a library and a command-line toolkit in radio and audio stacks.
The official FreeDV documentation shows Codec 2 modes inside multiple FreeDV HF and VHF modes from 2012 onward, including 1600, 700C, 700D, 700E, 2400A, and 2400B. This is adoption through an application protocol rather than a standalone end-user CLI alone.
The README documents simple command-line workflows with `c2enc`, `c2dec`, `c2demo`, and `c2sim`, including one-liners that encode raw speech, decode it, and play it through ALSA tools. It also documents FreeDV transmit and receive programs, modem programs, LDPC utilities, and build instructions for Linux, Windows cross-compilation, Android, and microcontrollers.
In practice, Codec 2 is used by developers and radio experimenters as a codec library, a set of command-line demonstrations, and the speech-coding component of FreeDV digital voice modes.
Codec 2 matters to package maintainers because it is a rare open implementation in the very-low-bit-rate speech codec space, packaged widely despite being specialized DSP software. It brings together C libraries, demo CLIs, radio modem tooling, Octave test/development scripts, embedded targets, and FreeDV protocol support.
It is also a good example of why package histories are not just download counts: the package is important because downstream radio applications, Linux distributions, and experimenters need an auditable open codec where proprietary alternatives such as AMBE and MELP are culturally and legally awkward.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
c2dec | cli | globales Executable | |
c2demo | cli | globales Executable | |
c2enc | cli | globales Executable | |
c2sim | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/drowe67/codec2
Installationsmetadaten
| Paketschlüssel | brew:codec2 |
|---|---|
| Version | 1.2.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/codec2 |
| Homepage | https://www.rowetel.com/?page_id=452 |
| Repository | https://github.com/drowe67/codec2 |
| Upstream-Dokumentation | https://github.com/drowe67/codec2#readme |
| Lizenz | LGPL-2.1-only |
| Quellarchiv | https://github.com/drowe67/codec2/archive/refs/tags/1.2.0.tar.gz |
| Build-Abhängigkeiten | cmake |
| Bottle | verfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | codec2 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
codec2 1.2.0-3
command line tools for handling Codec2 data
http://rowetel.com/codec2.html
sudo apt install codec2libcodec2-1.2 1.2.0-3
Codec2 runtime library
http://rowetel.com/codec2.html
sudo apt install libcodec2-1.2libcodec2-dev 1.2.0-3
Codec2 library development files
http://rowetel.com/codec2.html
sudo apt install libcodec2-devcodec2
nix profile install nixpkgs#codec2codec2 1.2.0-2build1
command line tools for handling Codec2 data
http://rowetel.com/codec2.html
sudo apt install codec2libcodec2-1.2 1.2.0-2build1
Codec2 runtime library
http://rowetel.com/codec2.html
sudo apt install libcodec2-1.2libcodec2-dev 1.2.0-2build1
Codec2 library development files
http://rowetel.com/codec2.html
sudo apt install libcodec2-devcodec2 1.2.0-r1
Open source speech codec designed for communications quality speech between 700 and 3200 bps
https://github.com/drowe67/codec2
sudo apk add codec2codec2-dev 1.2.0-r1
Open source speech codec designed for communications quality speech between 700 and 3200 bps (development files)
https://github.com/drowe67/codec2
sudo apk add codec2-devcodec2 1.2.0-9.fc44
Next-Generation Digital Voice for Two-Way Radio
http://rowetel.com/codec2.html
sudo dnf install codec2codec2-devel 1.2.0-9.fc44
Development files for Codec 2
http://rowetel.com/codec2.html
sudo dnf install codec2-develcodec2 1:1.2.0-2
Open source speech codec designed for communications quality speech between 450 and 3200 bit/s
https://github.com/drowe67/codec2
sudo pacman -S codec2codec2 1.2.0-2.5
Low bit rate speech codec
https://rowetel.com/codec2.html
sudo zypper install codec2codec2-devel 1.2.0-2.5
Development library for codec2
https://rowetel.com/codec2.html
sudo zypper install codec2-develcodec2-examples 1.2.0-2.5
Example code for Codec 2
https://rowetel.com/codec2.html
sudo zypper install codec2-exampleslibcodec2-1_2 1.2.0-2.5
Low bit rate speech codec
https://rowetel.com/codec2.html
sudo zypper install libcodec2-1_2Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.