# Install mkvtomp4 with Homebrew

Convert mkv files to mp4. Version 2.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:mkvtomp4
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mkvtomp4
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:mkvtomp4
- **Package manager:** Homebrew
- **Version:** 2.0
- **Source summary:** Convert mkv files to mp4
- **Homepage:** <https://github.com/gavinbeatty/mkvtomp4/>
- **Repository:** <https://github.com/gavinbeatty/mkvtomp4>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mkvtomp4 (alias)
- mkvtomp4.py (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0
## Project history and usage

mkvtomp4 is a small Python-era video conversion wrapper by Gavin Beatty for turning H.264 MKV files into MP4 files without re-encoding the video. The README frames the original use case as making troublesome MKV files playable on the Sony PS3 and similar devices: it rewrites H.264 profile-level information when needed, re-encodes audio only when it is not already AAC, and leaves the video stream intact.

### How it is used

That places mkvtomp4 in a different niche from full transcoders. It automates container remuxing and compatibility fixes using existing media tools, while Homebrew's formula records dependencies on ffmpeg, GPAC, MKVToolNix, and Python. Adoption appears modest but real through Homebrew packaging; the repository and formula position it as a convenience CLI for playback compatibility rather than a broad media library or editor.

### Sources

- <https://formulae.brew.sh/formula/mkvtomp4>
- <https://github.com/gavinbeatty/mkvtomp4>


## Security Notes

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
