macOS
brew install libmpeg2local Homebrew formula metadata
sudo port install libmpeg2MacPorts ports tree · multimedia/libmpeg2/Portfile · source: api.github.com
brew
Library to decode mpeg-2 and mpeg-1 video streams. Version 0.5.1 via Homebrew; verified 2026-06-01.
install
brew install libmpeg2local Homebrew formula metadata
sudo port install libmpeg2MacPorts ports tree · multimedia/libmpeg2/Portfile · source: api.github.com
sudo apk add libmpeg2Alpine Linux edge package indexes · libmpeg2 · source: dl-cdn.alpinelinux.org
sudo dnf install libmpeg2Fedora Rawhide package metadata · libmpeg2 · source: dl.fedoraproject.org
nix profile install nixpkgs#libmpeg2nixpkgs package indexes · pkgs/by-name/li/libmpeg2/package.nix · source: api.github.com
sudo pacman -S libmpeg2Arch Linux sync databases · libmpeg2 · source: geo.mirror.pkgbuild.com
sudo zypper install libmpeg2-0openSUSE Tumbleweed package metadata · libmpeg2-0 · source: download.opensuse.org
sudo apt install libmpeg2-4Debian stable package indexes · libmpeg2-4 · source: deb.debian.org
overview
Library to decode mpeg-2 and mpeg-1 video streams
history
libmpeg2 is a free GPL C library for decoding MPEG-1 and MPEG-2 video streams, distributed with the mpeg2dec test program. It represents the small, focused multimedia libraries that predate the dominance of larger codec frameworks.
The official download page lists mpeg2dec 0.1.7 on November 2, 2000 with MPEG-1 and MPEG-2 support, an integrated demuxer, and standards-compliance work. Later releases added a new libmpeg2 API, 4:2:2-profile decoding, robustness improvements, and platform optimizations.
The 2008 libmpeg2 0.5.x releases brought newer compiler and system support, SSE2 and ARM optimizations, aspect-ratio handling, and installation/pkg-config fixes. The official project page also notes VideoLAN maintainers joining the project.
libmpeg2 became a reusable decoder dependency because it was portable C code with a narrow library purpose and a bundled test program. The batch input lists broad package-manager coverage across Homebrew, Debian-family, Fedora-family, Arch, MacPorts, Nix, and openSUSE ecosystems.
Upstream lists projects using libmpeg2, including xine, VideoLAN, MPlayer, GStreamer, XBMC, HandBrake, and other media tools, showing its historical role as a shared MPEG decoder component.
Downstream software uses libmpeg2 to decode MPEG-1 and MPEG-2 streams. Packagers and developers can use mpeg2dec as a simple test program and rely on the official conformance test-suite notes on the download page.
For package maintainers, libmpeg2 is notable as a compact codec library with hand-written CPU optimizations, GPL licensing, pkg-config metadata, and a long tail of reverse dependencies. It persists because legacy media formats and decoder dependencies remain relevant long after newer codecs appear.
security posture
No matching local secret-handling manifest was found for libmpeg2. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
corrupt_mpeg2 | cli | global executable | |
extract_mpeg2 | cli | global executable | |
mpeg2dec | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://libmpeg2.sourceforge.io/
install metadata
| Package key | brew:libmpeg2 |
|---|---|
| Version | 0.5.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libmpeg2 |
| Homepage | https://libmpeg2.sourceforge.io/ |
| Repository | https://code.videolan.org/videolan/libmpeg2 |
| Upstream docs | https://libmpeg2.sourceforge.io/ |
| License | GPL-2.0-or-later |
| Source archive | https://download.videolan.org/contrib/libmpeg2/libmpeg2-0.5.1.tar.gz |
| Last updated | 2026-06-01T17:24:04Z |
| Pulse | updated |
| Build dependencies | autoconf, automake, libtool |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libmpeg2 |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libmpeg2
nix profile install nixpkgs#libmpeg2libmpeg2 0.5.1-r12
A library for decoding MPEG-1 and MPEG-2 video streams
https://libmpeg2.sourceforge.net/
sudo apk add libmpeg2libmpeg2-dev 0.5.1-r12
A library for decoding MPEG-1 and MPEG-2 video streams (development files)
https://libmpeg2.sourceforge.net/
sudo apk add libmpeg2-devlibmpeg2-doc 0.5.1-r12
A library for decoding MPEG-1 and MPEG-2 video streams (documentation)
https://libmpeg2.sourceforge.net/
sudo apk add libmpeg2-docmpeg2dec 0.5.1-r12
a test program for libmpeg2
https://libmpeg2.sourceforge.net/
sudo apk add mpeg2declibmpeg2 0.5.1-33.fc44
MPEG-2 decoder libraries
http://libmpeg2.sourceforge.net
sudo dnf install libmpeg2libmpeg2-devel 0.5.1-33.fc44
Development files for libmpeg2
http://libmpeg2.sourceforge.net
sudo dnf install libmpeg2-develmpeg2dec 0.5.1-33.fc44
MPEG-2 decoder program
http://libmpeg2.sourceforge.net
sudo dnf install mpeg2declibmpeg2 0.5.1-11
Library for decoding MPEG-1 and MPEG-2 video streams
https://libmpeg2.sourceforge.io/
sudo pacman -S libmpeg2libmpeg2-0 0.5.1-3.23
MPEG-2 Video Stream Decoder
http://libmpeg2.sourceforge.net/
sudo zypper install libmpeg2-0libmpeg2-0-32bit 0.5.1-3.23
MPEG-2 Video Stream Decoder
http://libmpeg2.sourceforge.net/
sudo zypper install libmpeg2-0-32bitlibmpeg2-devel 0.5.1-3.23
Development files for libmpeg2
http://libmpeg2.sourceforge.net/
sudo zypper install libmpeg2-devellibmpeg2convert0 0.5.1-3.23
MPEG-2 Video Stream Decoder
http://libmpeg2.sourceforge.net/
sudo zypper install libmpeg2convert0mpeg2dec 0.5.1-3.23
MPEG-2 Decoder
http://libmpeg2.sourceforge.net/
sudo zypper install mpeg2declibmpeg2
sudo port install libmpeg2libmpeg2-4 0.5.1-9+b3
MPEG1 and MPEG2 video decoder library
http://libmpeg2.sourceforge.net/
sudo apt install libmpeg2-4source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.