# 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. Also installable with debian: sudo apt install liblavfile-2.1-0t64.

## 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 mjpegtools
```

  Evidence: Debian stable package indexes: mjpegtools 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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 mjpegtools
```

  Evidence: openSUSE Tumbleweed package metadata: mjpegtools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:mjpegtools
- **Package manager:** Homebrew
- **Version:** 2.2.1
- **Source summary:** Record and playback videos and perform simple edits
- **Homepage:** <https://mjpeg.sourceforge.io/>
- **Last updated:** 2026-06-19T12:32:39-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.2.1
## 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

## 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/


## Combined YAML source

View the package source record on GitHub. [combined/mjpegtools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mjpegtools.yml)


## Sources

- 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
