# Install mpgtx with Homebrew, MacPorts, pacman, apt

Toolbox to manipulate MPEG files. Version 1.3.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:mpgtx
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mpgtx
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mpgtx
```

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

### Linux

- pacman (92%):

```sh
sudo pacman -S mpgtx
```

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

- Ubuntu apt (92%):

```sh
sudo apt install mpgtx
```

  Evidence: Ubuntu 24.04 LTS package indexes: mpgtx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Package facts

- **Package key:** brew:mpgtx
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mpgtx>
- **Version:** 1.3.1
- **Source summary:** Toolbox to manipulate MPEG files
- **Homepage:** <https://mpgtx.sourceforge.net/>
- **Repository:** <https://sourceforge.net/p/mpgtx/code/HEAD/tree>
- **Upstream docs:** <https://mpgtx.sourceforge.net/>
- **License:** GPL-2.0-only
- **Source archive:** <https://downloads.sourceforge.net/project/mpgtx/mpgtx/1.3.1/mpgtx-1.3.1.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mpgcat (cli)
- mpgdemux (cli)
- mpginfo (cli)
- mpgjoin (cli)
- mpgsplit (cli)
- mpgtx (cli)
- tagmp3 (cli)
- mpgcat (alias)
- mpgdemux (alias)
- mpginfo (alias)
- mpgjoin (alias)
- mpgsplit (alias)
- mpgtx (alias)
- tagmp3 (alias)

## 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, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.1
- Local data: ok
- Upstream repository: https://mpgtx.sourceforge.net/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

mpgtx is Laurent Alacoque's GPL command-line toolbox for manipulating MPEG audio, video, and system files. The project homepage presents it in Unix-tool style: a program meant to do a small set of MPEG operations from the shell, including splitting, joining, demultiplexing, inspecting MPEG streams, and editing ID3 tags on MP3 files.

### Project history

The early project history is preserved in the homepage news log. Version 1.0 was announced as the first stable release on July 23, 2001. Version 1.1 added support for files larger than 2 GB, and version 1.3 in August 2002 brought major improvements such as MPEG-2 support and more playable chunks from MPEG-1 and MPEG-2 splits. A 2004 note describes Debian packager Erik Schanze helping revive maintenance after a long quiet period.

### How it is used

In practice mpgtx is used less like a media player and more like a repair-and-surgery tool for older MPEG assets: split a large MPEG file, concatenate streams, demux transport/program streams into elementary audio and video files, or batch-edit ID3v1 tags. Its limitation is also part of its identity: it is GOP-based, so video cuts happen at group-of-picture boundaries rather than exact frames.

### Sources

- <https://formulae.brew.sh/formula/mpgtx>
- <https://linux.die.net/man/1/mpgtx>
- <https://mpgtx.sourceforge.net/>
- <https://packages.debian.org/sid/sound/mpgtx>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Ubuntu apt - mpgtx - 1.3.1-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mpgtx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | toolbox to manipulate MPEG files (video, system, and audio) | http://mpgtx.sourceforge.net/
- pacman - mpgtx - 1.3.1-8: normalized package name match | Arch Linux sync databases: mpgtx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command line MPEG audio/video/system toolkit | http://mpgtx.sourceforge.net
- MacPorts - mpgtx: normalized package name match | MacPorts ports tree: multimedia/mpgtx/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.
- [mpegdemux](https://www.automicvault.com/pkg/brew/mpegdemux/) - Shares av.db curated category or tags: audio, cli, media, mpeg, video.
- [ffmpeg](https://www.automicvault.com/pkg/brew/ffmpeg/) - Shares av.db curated category or tags: audio, cli, media, video.
- [ffmpeg-full](https://www.automicvault.com/pkg/brew/ffmpeg-full/) - Shares av.db curated category or tags: audio, cli, media, video.
- [mjpegtools](https://www.automicvault.com/pkg/brew/mjpegtools/) - Shares av.db curated category or tags: cli, media, mpeg, video.
- [smpeg](https://www.automicvault.com/pkg/brew/smpeg/) - Shares av.db curated category or tags: cli, media, mpeg, video.
- [smpeg2](https://www.automicvault.com/pkg/brew/smpeg2/) - 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.
- [bento4](https://www.automicvault.com/pkg/brew/bento4/) - Shares av.db curated category or tags: cli, media, video.
- [libquicktime](https://www.automicvault.com/pkg/brew/libquicktime/) - Both packages work with overlapping file formats or content types. Shared terms: cli, files, media, video.
- [id3lib](https://www.automicvault.com/pkg/brew/id3lib/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, id3, media.

## Combined YAML source

View the package source record on GitHub. [combined/mpgtx.yml](https://github.com/automic-vault/db/blob/main/combined/mpgtx.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
