# 使用 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
- **版本:** 0.4.5
- **来源摘要:** SDL MPEG Player Library
- **主页:** <https://icculus.org/smpeg/>
- **仓库:** <https://github.com/icculus/smpeg>
- **最后更新:** 2026-06-22T14:06:18-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
