Automic VaultAutomic Vault

brew

Installer codec2 avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de codec2 pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install codec2

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install codec2

MacPorts ports tree · audio/codec2/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add codec2

Alpine Linux edge package indexes · codec2 · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install codec2

Debian stable package indexes · codec2 · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install codec2

Fedora Rawhide package metadata · codec2 · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#codec2

nixpkgs package indexes · pkgs/by-name/co/codec2/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S codec2

Arch Linux sync databases · codec2 · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install codec2

openSUSE Tumbleweed package metadata · codec2 · Source: download.opensuse.org

aperçu

Résumé du paquet

Open source speech codec

Commandes et alias

  • c2dec
  • c2demo
  • c2enc
  • c2sim

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2009-08-21: David Rowe publicly announces the open-source low-rate speech codec project.
  • 2012: FreeDV 1600 mode uses Codec 2 1300 according to the FreeDV mode table.
  • 2016: FreeDV 2400A and 2400B VHF modes use Codec 2 1300.
  • 2017: FreeDV 700C and 800XA modes use Codec 2 700C.
  • 2018: FreeDV 700D uses Codec 2 700C.
  • 2020: FreeDV 700E appears in the official FreeDV mode table.
  • 2023-07: Current README says the repo was refactored and older code moved to codec2-dev.
  • 2023-07-24: Codec2 1.2.0 release published in the current GitHub repository.

Related projects

  • FreeDV is the most closely related project and is described by the README and Rowetel page as an open-source digital voice protocol integrating Codec 2, modems, and FEC. The repository also references `codec2-dev` for older code, `drowe67/LPCNet` for FreeDV 2020 support, the SM1000 FreeDV adaptor, and modem components such as OFDM, FDMDV, COHPSK, FSK, and LDPC utilities.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 12 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
c2deccliexécutable global
c2democliexécutable global
c2enccliexécutable global
c2simcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire1.2.0
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectée1.2.0

https://github.com/drowe67/codec2

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:codec2
Version1.2.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/codec2
Page d'accueilhttps://www.rowetel.com/?page_id=452
Dépôthttps://github.com/drowe67/codec2
Docs amonthttps://github.com/drowe67/codec2#readme
LicenceLGPL-2.1-only
Archive sourcehttps://github.com/drowe67/codec2/archive/refs/tags/1.2.0.tar.gz
Dépendances de compilationcmake
Bouteilledisponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecodec2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

codec2 1.2.0-3

command line tools for handling Codec2 data

http://rowetel.com/codec2.html

sudo apt install codec2
  • Section: sound
  • Architecture: amd64
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Codec2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: codec2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcodec2-1.2 1.2.0-3

Codec2 runtime library

http://rowetel.com/codec2.html

sudo apt install libcodec2-1.2
  • Section: libs
  • Architecture: amd64
  • Source Package: codec2
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Codec2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcodec2-1.2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcodec2-dev 1.2.0-3

Codec2 library development files

http://rowetel.com/codec2.html

sudo apt install libcodec2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: codec2
  • 1 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Codec2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcodec2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

codec2

nix profile install nixpkgs#codec2
  • normalized package name match
  • Correspondance par : Codec2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/codec2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

codec2 1.2.0-2build1

command line tools for handling Codec2 data

http://rowetel.com/codec2.html

sudo apt install codec2
  • Section: universe/sound
  • Architecture: amd64
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Codec2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: codec2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcodec2-1.2 1.2.0-2build1

Codec2 runtime library

http://rowetel.com/codec2.html

sudo apt install libcodec2-1.2
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: codec2
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Codec2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcodec2-1.2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcodec2-dev 1.2.0-2build1

Codec2 library development files

http://rowetel.com/codec2.html

sudo apt install libcodec2-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: codec2
  • 1 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Codec2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcodec2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

codec2 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 codec2
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: codec2
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Codec2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: codec2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

codec2-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-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: codec2
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Codec2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: codec2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

codec2 1.2.0-9.fc44

Next-Generation Digital Voice for Two-Way Radio

http://rowetel.com/codec2.html

sudo dnf install codec2
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: codec2
  • 5 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Codec2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: codec2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

codec2-devel 1.2.0-9.fc44

Development files for Codec 2

http://rowetel.com/codec2.html

sudo dnf install codec2-devel
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: codec2
  • 4 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Codec2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: codec2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

codec2 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 codec2
  • License: LGPL2.1
  • Architecture: x86_64
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Codec2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: codec2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

codec2 1.2.0-2.5

Low bit rate speech codec

https://rowetel.com/codec2.html

sudo zypper install codec2
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: codec2
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Codec2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: codec2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

codec2-devel 1.2.0-2.5

Development library for codec2

https://rowetel.com/codec2.html

sudo zypper install codec2-devel
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: codec2
  • 2 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Codec2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: codec2-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

codec2-examples 1.2.0-2.5

Example code for Codec 2

https://rowetel.com/codec2.html

sudo zypper install codec2-examples
  • License: LGPL-2.1-only
  • Category: Productivity/Hamradio/Other
  • Architecture: noarch
  • Source Package: codec2
  • 1 fournit
  • normalized package name match
  • Correspondance par : Codec2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: codec2-examples from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libcodec2-1_2 1.2.0-2.5

Low bit rate speech codec

https://rowetel.com/codec2.html

sudo zypper install libcodec2-1_2
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: codec2
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Codec2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcodec2-1_2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment