# 使用 Homebrew, MacPorts, Nix, pacman, apt, zypper 安装 smpeg

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

## 安装

```sh
sudo av install brew:smpeg
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install smpeg
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install smpeg
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#smpeg
```

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

- pacman (92%):

```sh
sudo pacman -S smpeg
```

  证据: Arch Linux sync databases: smpeg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libsmpeg-dev
```

  证据: Debian stable package indexes: libsmpeg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libsmpeg-0_4-0
```

  证据: openSUSE Tumbleweed package metadata: libsmpeg-0_4-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:smpeg
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/smpeg>
- **版本:** 0.4.5
- **来源摘要:** SDL MPEG Player Library
- **主页:** <https://icculus.org/smpeg/>
- **仓库:** <https://github.com/icculus/smpeg>
- **上游文档:** <https://icculus.org/smpeg/>
- **许可证:** LGPL-2.0-or-later
- **源码归档:** <https://github.com/icculus/smpeg/archive/refs/tags/release_0_4_5.tar.gz>
- **最后更新:** 2026-06-22T14:06:18-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- plaympeg (cli)
- smpeg-config (cli)
- plaympeg (别名)
- smpeg-config (别名)

## 依赖

- sdl12-compat

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4.5
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/icculus/smpeg
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

SMPEG is Loki Software's free MPEG-1 video player library with sound support, built around SDL.

### 项目历史

The official README identifies SMPEG version 2.0.0 dated 2001-07-17, written by Karl Robillard and Sam Lantinga at Loki Software, with streaming MPEG support contributed by Vivien Chappelier.

The README says video playback is based on Berkeley MPEG player `mpeg_play` 2.2 and audio playback on a modified `mpegsound` library from Splay 0.8.2.

### 采用历史

SMPEG became a reusable SDL-era media library: the official README ships simple players such as `plaympeg`, `gtv`, and `glmovie` to test the library.

Input package facts show the library remained packaged by Homebrew, Debian, MacPorts, Nix, Arch, Ubuntu, and openSUSE.

### 使用方式

The official README documents building with `make all`, producing `libsmpeg.a` and `plaympeg`.

The documented `plaympeg` usage is `plaympeg [--noaudio] [--novideo] [--double|-2] [--loop|-l] file ...`.

### 为什么软件包爱好者会关心

SMPEG is a preservation-minded package because it keeps an SDL MPEG-1 decoding stack and test player available for older games and media software.

The package exposes both development-library surfaces and small command-line utilities, which is why it appears as both a library and a CLI package.

### 时间线

- 2001: Official README identifies SMPEG 2.0.0 dated 2001-07-17.

### Related projects

- Related projects named by the official README include SDL, Berkeley `mpeg_play`, `mpegsound`, Splay, `plaympeg`, `gtv`, and `glmovie`.

### 来源

- <https://github.com/icculus/smpeg#readme>
- <https://icculus.org/smpeg/>
- source_facts.package-manager


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** smpeg
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - libsmpeg-dev - 0.4.5+cvs20030824-9.1+b1: normalized package name match | Debian stable package indexes: libsmpeg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SDL MPEG Player Library - development files | https://icculus.org/smpeg/
- Debian apt - libsmpeg0t64 - 0.4.5+cvs20030824-9.1+b1: normalized package name match | Debian stable package indexes: libsmpeg0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SDL MPEG Player Library - shared libraries | https://icculus.org/smpeg/
- Debian apt - smpeg-plaympeg - 0.4.5+cvs20030824-9.1+b1: normalized package name match | Debian stable package indexes: smpeg-plaympeg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SMPEG command line MPEG audio/video player | https://icculus.org/smpeg/
- Nix - smpeg: normalized package name match | nixpkgs package indexes: pkgs/by-name/sm/smpeg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsmpeg-dev - 0.4.5+cvs20030824-9.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsmpeg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SDL MPEG Player Library - development files | https://icculus.org/smpeg/
- Ubuntu apt - libsmpeg0t64 - 0.4.5+cvs20030824-9.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsmpeg0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SDL MPEG Player Library - shared libraries | https://icculus.org/smpeg/
- Ubuntu apt - smpeg-plaympeg - 0.4.5+cvs20030824-9.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: smpeg-plaympeg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SMPEG command line MPEG audio/video player | https://icculus.org/smpeg/
- pacman - smpeg - 2.0.0-4: normalized package name match | Arch Linux sync databases: smpeg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | SDL MPEG Player Library | https://icculus.org/smpeg/
- zypper - libsmpeg-0_4-0 - 0.4.5-3.12: normalized package name match | openSUSE Tumbleweed package metadata: libsmpeg-0_4-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SDL MPEG Player Library | https://icculus.org/smpeg
- zypper - smpeg-devel - 0.4.5-3.12: normalized package name match | openSUSE Tumbleweed package metadata: smpeg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libsmpeg | https://icculus.org/smpeg
- MacPorts - smpeg: normalized package name match | MacPorts ports tree: multimedia/smpeg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [sdl12-compat](https://pkg.so/zh-hans/brew/sdl12-compat/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [smpeg2](https://pkg.so/zh-hans/brew/smpeg2/) - Package name indicates the same formula family.
- [aom](https://pkg.so/zh-hans/brew/aom/) - Shares pkgdb curated category or tags: cli, decoding, media, video.
- [libvmaf](https://pkg.so/zh-hans/brew/libvmaf/) - Shares pkgdb curated category or tags: cli, library, media, video.
- [ffms2](https://pkg.so/zh-hans/brew/ffms2/) - Shares pkgdb curated category or tags: cli, library, media, video.
- [libmpeg2](https://pkg.so/zh-hans/brew/libmpeg2/) - Shares pkgdb curated category or tags: cli, library, media, video.
- [libwebm](https://pkg.so/zh-hans/brew/libwebm/) - Shares pkgdb curated category or tags: cli, library, media, video.
- [wildmidi](https://pkg.so/zh-hans/brew/wildmidi/) - Shares pkgdb curated category or tags: cli, library, media, player.
- [sdl2_sound](https://pkg.so/zh-hans/brew/sdl2-sound/) - Shares pkgdb curated category or tags: cli, library, media, sdl.

## Combined YAML source

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


## 来源

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