# Install smpeg with Homebrew, apt, MacPorts, Nix, pacman, zypper

SDL MPEG Player Library. Version 0.4.5 via Homebrew; verified 2026-06-22.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install smpeg
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install smpeg
```

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

### Linux

- Debian apt (92%):

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

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

- Nix (92%):

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

  Evidence: 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
```

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

- zypper (92%):

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

  Evidence: openSUSE Tumbleweed package metadata: libsmpeg-0_4-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:smpeg
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/smpeg>
- **Version:** 0.4.5
- **Source summary:** SDL MPEG Player Library
- **Homepage:** <https://icculus.org/smpeg/>
- **Repository:** <https://github.com/icculus/smpeg>
- **Upstream docs:** <https://github.com/icculus/smpeg#readme>
- **License:** LGPL-2.0-or-later
- **Source archive:** <https://github.com/icculus/smpeg/archive/refs/tags/release_0_4_5.tar.gz>
- **Last updated:** 2026-06-22T14:06:18-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- plaympeg (cli)
- smpeg-config (cli)
- plaympeg (alias)
- smpeg-config (alias)

## Dependencies

- sdl12-compat

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.4.5
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/icculus/smpeg
- info: No cached GitHub release or tag data was available.
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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 ...`.

### Why package nerds care

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.

### Timeline

- 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`.

### Sources

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


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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.10: normalized package name match | openSUSE Tumbleweed package metadata: libsmpeg-0_4-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | SDL MPEG Player Library | https://icculus.org/smpeg
- zypper - smpeg-devel - 0.4.5-3.10: normalized package name match | openSUSE Tumbleweed package metadata: smpeg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [sdl12-compat](https://www.automicvault.com/pkg/brew/sdl12-compat/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [smpeg2](https://www.automicvault.com/pkg/brew/smpeg2/) - Package name indicates the same formula family.
- [ffms2](https://www.automicvault.com/pkg/brew/ffms2/) - Shares av.db curated category or tags: cli, library, media, video.
- [libvmaf](https://www.automicvault.com/pkg/brew/libvmaf/) - Shares av.db curated category or tags: cli, library, media, video.
- [libwebm](https://www.automicvault.com/pkg/brew/libwebm/) - Shares av.db curated category or tags: cli, library, media, video.
- [mjpegtools](https://www.automicvault.com/pkg/brew/mjpegtools/) - Shares av.db curated category or tags: cli, media, mpeg, video.
- [mpegdemux](https://www.automicvault.com/pkg/brew/mpegdemux/) - Shares av.db curated category or tags: cli, media, mpeg, video.
- [mpgtx](https://www.automicvault.com/pkg/brew/mpgtx/) - Shares av.db curated category or tags: cli, media, mpeg, video.
- [tivodecode](https://www.automicvault.com/pkg/brew/tivodecode/) - Shares av.db curated category or tags: cli, media, mpeg, video.
- [sdl2_sound](https://www.automicvault.com/pkg/brew/sdl2-sound/) - Local package facts share a topical domain. Shared terms: cli, compat, library, media, sdl.

## Combined YAML source

View the package source record on GitHub. [combined/smpeg.yml](https://github.com/automic-vault/db/blob/main/combined/smpeg.yml)


## Sources

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