macOS
brew install codec2local Homebrew formula metadata
sudo port install codec2MacPorts ports tree · audio/codec2/Portfile · ソース: api.github.com
brew
codec2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install codec2local Homebrew formula metadata
sudo port install codec2MacPorts ports tree · audio/codec2/Portfile · ソース: api.github.com
sudo apk add codec2Alpine Linux edge package indexes · codec2 · ソース: dl-cdn.alpinelinux.org
sudo apt install codec2Debian stable package indexes · codec2 · ソース: deb.debian.org
sudo dnf install codec2Fedora Rawhide package metadata · codec2 · ソース: dl.fedoraproject.org
nix profile install nixpkgs#codec2nixpkgs package indexes · pkgs/by-name/co/codec2/package.nix · ソース: api.github.com
sudo pacman -S codec2Arch Linux sync databases · codec2 · ソース: geo.mirror.pkgbuild.com
sudo zypper install codec2openSUSE Tumbleweed package metadata · codec2 · ソース: download.opensuse.org
概要
Open source speech codec
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
c2dec | cli | グローバル実行可能ファイル | |
c2demo | cli | グローバル実行可能ファイル | |
c2enc | cli | グローバル実行可能ファイル | |
c2sim | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/drowe67/codec2
インストールメタデータ
| パッケージキー | brew:codec2 |
|---|---|
| バージョン | 1.2.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/codec2 |
| ホームページ | https://www.rowetel.com/?page_id=452 |
| リポジトリ | https://github.com/drowe67/codec2 |
| 上流ドキュメント | https://github.com/drowe67/codec2#readme |
| ライセンス | LGPL-2.1-only |
| ソースアーカイブ | https://github.com/drowe67/codec2/archive/refs/tags/1.2.0.tar.gz |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 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 | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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_2ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.