# 使用 Homebrew, MacPorts, Nix 安装 mp3cat

查看 mp3cat 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mp3cat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mp3cat
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mp3cat
```

  证据: MacPorts ports tree: audio/mp3cat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mp3cat
```

  证据: nixpkgs package indexes: pkgs/by-name/mp/mp3cat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mp3cat
- **软件包管理器:** Homebrew
- **版本:** 0.5
- **来源摘要:** Reads and writes mp3 files
- **主页:** <https://tomclegg.ca/mp3cat>
- **仓库:** <https://github.com/tomclegg/mp3cat>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mp3cat (别名)
- mp3dirclean (别名)
- mp3http (别名)
- mp3log (别名)
- mp3log-conf (别名)
- mp3stream-conf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.5
## 项目历史与用法

mp3cat is a small Unix-style MP3 stream utility distributed from Tom Clegg's site and GitHub repository. Its core behavior is deliberately narrow: it copies a byte stream while skipping everything except MP3 frames with valid headers, so it can clean concatenated or noisy input and write the remaining frames to standard output or to its own directory format.

### 项目历史

The distinctive feature is the "mp3dir" workflow. Instead of producing one file, mp3cat can append valid frames to current.mp3 and rotate timestamped segment files after a size threshold. The same format can be read like a following log: mp3cat waits at the end of current.mp3, notices rotations, and continues from the next file. The accompanying tools, including mp3log-conf and mp3stream-conf, place it in the same practical niche as daemontools-style audio logging and simple MP3 streaming.

### 使用方式

The project page says the software was written for Kootenay Cooperative Radio in Nelson, British Columbia, and presents a live-radio use case: record from a sound card into an mp3dir, clean old segments, and stream the directory to network clients. In package managers it is a niche command-line audio utility rather than a general editor or encoder; Homebrew describes it simply as a tool that reads and writes MP3 files.

### 来源

- <https://formulae.brew.sh/formula/mp3cat>
- <https://github.com/tomclegg/mp3cat>
- <https://tomclegg.ca/mp3cat>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Nix - mp3cat: normalized package name match | nixpkgs package indexes: pkgs/by-name/mp/mp3cat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mp3cat: normalized package name match | MacPorts ports tree: audio/mp3cat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/mp3cat.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mp3cat.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
