# Install mjpegtools with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Record and playback videos and perform simple edits. Version 2.2.1 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:mjpegtools
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mjpegtools
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mjpegtools
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install liblavfile-2.1-0t64
```

  Evidence: Debian stable package indexes: liblavfile-2.1-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mjpegtools
```

  Evidence: Fedora Rawhide package metadata: mjpegtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mjpegtools
```

  Evidence: nixpkgs package indexes: pkgs/by-name/mj/mjpegtools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mjpegtools
```

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

- zypper (92%):

```sh
sudo zypper install liblavfile-2_2-0
```

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

## Package facts

- **Package key:** brew:mjpegtools
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mjpegtools>
- **Version:** 2.2.1
- **Source summary:** Record and playback videos and perform simple edits
- **Homepage:** <https://mjpeg.sourceforge.io/>
- **Repository:** <https://svn.code.sf.net/p/mjpeg/Code/trunk/mjpeg_play>
- **Upstream docs:** <https://mjpeg.sourceforge.io/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/mjpeg/mjpegtools/2.2.1/mjpegtools-2.2.1.tar.gz>
- **Last updated:** 2026-06-19T12:32:39-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- anytovcd.sh (cli)
- jpeg2yuv (cli)
- lav2avi.sh (cli)
- lav2mpeg (cli)
- lav2wav (cli)
- lav2yuv (cli)
- lavaddwav (cli)
- lavinfo (cli)
- lavpipe (cli)
- lavtc.sh (cli)
- lavtrans (cli)
- matteblend.flt (cli)
- mjpeg_simd_helper (cli)
- mp2enc (cli)
- mpeg2enc (cli)
- mpegtranscode (cli)
- mplex (cli)
- multiblend.flt (cli)
- pgmtoy4m (cli)
- pnmtoy4m (cli)
- ppmtoy4m (cli)
- transist.flt (cli)
- y4mblack (cli)
- y4mcolorbars (cli)
- y4mdenoise (cli)
- y4mhist (cli)
- y4minterlace (cli)
- y4mivtc (cli)
- y4mscaler (cli)
- y4mshift (cli)
- y4mspatialfilter (cli)
- y4mstabilizer (cli)
- y4mtopnm (cli)
- y4mtoppm (cli)
- y4mtoyuv (cli)
- y4munsharp (cli)
- ypipe (cli)
- yuv2lav (cli)
- yuv4mpeg (cli)
- yuvcorrect (cli)
- yuvcorrect_tune (cli)
- yuvdeinterlace (cli)
- yuvdenoise (cli)
- yuvfps (cli)
- yuvinactive (cli)
- yuvkineco (cli)
- yuvmedianfilter (cli)
- yuvscaler (cli)
- yuvycsnoise (cli)
- yuyvtoy4m (cli)
- anytovcd.sh (alias)
- jpeg2yuv (alias)
- lav2avi.sh (alias)
- lav2mpeg (alias)
- lav2wav (alias)
- lav2yuv (alias)
- lavaddwav (alias)
- lavinfo (alias)
- lavpipe (alias)
- lavtc.sh (alias)
- lavtrans (alias)
- matteblend.flt (alias)
- mjpeg_simd_helper (alias)
- mp2enc (alias)
- mpeg2enc (alias)
- mpegtranscode (alias)
- mplex (alias)
- multiblend.flt (alias)
- pgmtoy4m (alias)
- pnmtoy4m (alias)
- ppmtoy4m (alias)
- transist.flt (alias)
- y4mblack (alias)
- y4mcolorbars (alias)
- y4mdenoise (alias)
- y4mhist (alias)
- y4minterlace (alias)
- y4mivtc (alias)
- y4mscaler (alias)
- y4mshift (alias)
- y4mspatialfilter (alias)
- y4mstabilizer (alias)
- y4mtopnm (alias)
- y4mtoppm (alias)
- y4mtoyuv (alias)
- y4munsharp (alias)
- ypipe (alias)
- yuv2lav (alias)
- yuv4mpeg (alias)
- yuvcorrect (alias)
- yuvcorrect_tune (alias)
- yuvdeinterlace (alias)
- yuvdenoise (alias)
- yuvfps (alias)
- yuvinactive (alias)
- yuvkineco (alias)
- yuvmedianfilter (alias)
- yuvscaler (alias)
- yuvycsnoise (alias)
- yuyvtoy4m (alias)

## Dependencies

- jpeg-turbo

## Build dependencies

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.2.1
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://mjpeg.sourceforge.io/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

MJPEG Tools is a suite of Linux audio and video utilities for Motion JPEG and MPEG workflows. The project site describes the tools as programs for video recording and playback, simple cut-and-paste editing, and MPEG compression of audio and video under Linux; SourceForge gives the same broad scope and notes support for MJPEG capture hardware and Video4Linux2 devices.

### How it is used

The package reflects an older Unix-media-toolkit style: many focused commands, filters, and conversion utilities rather than one monolithic editor. Executables such as `jpeg2yuv`, `mpeg2enc`, `mp2enc`, `mplex`, `lav2mpeg`, `lavtrans`, and the `y4m*` tools support pipelines around MJPEG, YUV4MPEG, and MPEG encoding. In package managers it survives as a specialized media toolbox, packaged by Homebrew and several Linux distributions for workflows that need these legacy formats or command-line video processing pieces.

### Sources

- <https://formulae.brew.sh/formula/mjpegtools>
- <https://linux.die.net/man/1/mjpegtools>
- <https://mjpeg.sourceforge.io/>
- <https://sourceforge.net/projects/mjpeg/>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - liblavfile-2.1-0t64 - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: liblavfile-2.1-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Debian apt - liblavjpeg-2.1-0t64 - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: liblavjpeg-2.1-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Debian apt - liblavplay-2.1-0t64 - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: liblavplay-2.1-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Debian apt - libmjpegtools-dev - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: libmjpegtools-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset (development) | http://mjpeg.sourceforge.net/
- Debian apt - libmjpegutils-2.1-0t64 - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: libmjpegutils-2.1-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Debian apt - libmpeg2encpp-2.1-0t64 - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: libmpeg2encpp-2.1-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Debian apt - libmplex2-2.1-0t64 - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: libmplex2-2.1-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Debian apt - mjpegtools - 1:2.1.0+debian-8.1+b1: normalized package name match | Debian stable package indexes: mjpegtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MJPEG capture/editing/replay and MPEG encoding toolset | http://mjpeg.sourceforge.net/
- Nix - mjpegtools: normalized package name match | nixpkgs package indexes: pkgs/by-name/mj/mjpegtools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblavfile-2.1-0t64 - 1:2.1.0+debian-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblavfile-2.1-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Ubuntu apt - liblavjpeg-2.1-0t64 - 1:2.1.0+debian-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblavjpeg-2.1-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Ubuntu apt - liblavplay-2.1-0t64 - 1:2.1.0+debian-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblavplay-2.1-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Ubuntu apt - libmjpegtools-dev - 1:2.1.0+debian-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmjpegtools-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MJPEG capture/editing/replay and MPEG encoding toolset (development) | http://mjpeg.sourceforge.net/
- Ubuntu apt - libmjpegutils-2.1-0t64 - 1:2.1.0+debian-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmjpegutils-2.1-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Ubuntu apt - libmpeg2encpp-2.1-0t64 - 1:2.1.0+debian-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmpeg2encpp-2.1-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/
- Ubuntu apt - libmplex2-2.1-0t64 - 1:2.1.0+debian-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmplex2-2.1-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MJPEG capture/editing/replay and MPEG encoding toolset (library) | http://mjpeg.sourceforge.net/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [handbrake](https://www.automicvault.com/pkg/brew/handbrake/) - Shares av.db curated category or tags: cli, encoding, media, 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.
- [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.
- [vs-preview](https://www.automicvault.com/pkg/brew/vs-preview/) - Shares av.db curated category or tags: cli, encoding, media, video.
- [bento4](https://www.automicvault.com/pkg/brew/bento4/) - Shares av.db curated category or tags: cli, media, video.
- [netpbm](https://www.automicvault.com/pkg/brew/netpbm/) - Local package facts share a topical domain. Shared terms: cli, jpeg, jpeg-turbo, media, turbo.
- [ffmpegthumbnailer](https://www.automicvault.com/pkg/brew/ffmpegthumbnailer/) - Both packages work with overlapping file formats or content types. Shared terms: cli, jpeg, jpeg-turbo, media, turbo.

## Combined YAML source

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