# 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
- **Package manager page:** <https://formulae.brew.sh/formula/mkvtomp4>
- **Version:** 2.0
- **Source summary:** Convert mkv files to mp4
- **Homepage:** <https://github.com/gavinbeatty/mkvtomp4/>
- **Repository:** <https://github.com/gavinbeatty/mkvtomp4>
- **Upstream docs:** <https://github.com/gavinbeatty/mkvtomp4>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/89/27/7367092f0d5530207e049afc76b167998dca2478a5c004018cf07e8a5653/mkvtomp4-2.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

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

## Dependencies

- ffmpeg
- gpac
- mkvtoolnix
- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0
- Local data: ok
- Upstream repository: https://github.com/gavinbeatty/mkvtomp4
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## 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

## Source Database Details

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [ffmpeg](https://www.automicvault.com/pkg/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [gpac](https://www.automicvault.com/pkg/brew/gpac/) - Runtime dependency declared by Homebrew.
- [mkvtoolnix](https://www.automicvault.com/pkg/brew/mkvtoolnix/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [gifify](https://www.automicvault.com/pkg/brew/gifify/) - Shares av.db curated category or tags: cli, conversion, media, video, video-conversion.
- [dovi_convert](https://www.automicvault.com/pkg/brew/dovi-convert/) - Shares av.db curated category or tags: cli, media, mkv, video, video-conversion.
- [tivodecode](https://www.automicvault.com/pkg/brew/tivodecode/) - Shares av.db curated category or tags: cli, conversion, media, video.
- [bento4](https://www.automicvault.com/pkg/brew/bento4/) - Shares av.db curated category or tags: cli, media, mp4, video.
- [h264bitstream](https://www.automicvault.com/pkg/brew/h264bitstream/) - Shares av.db curated category or tags: cli, h264, media, video.
- [mkclean](https://www.automicvault.com/pkg/brew/mkclean/) - Shares av.db curated category or tags: cli, media, mkv, video.
- [mp4ff](https://www.automicvault.com/pkg/brew/mp4ff/) - Shares av.db curated category or tags: cli, media, mp4, video.
- [mp4v2](https://www.automicvault.com/pkg/brew/mp4v2/) - Shares av.db curated category or tags: cli, media, mp4, video.
- [mkvdts2ac3](https://www.automicvault.com/pkg/brew/mkvdts2ac3/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, ffmpeg, media.

## Combined YAML source

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