# 使用 Homebrew, apk, apt, Nix, pacman, MacPorts, scoop 安装 mplayer

查看 mplayer 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mplayer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mplayer
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install MPlayer
```

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

### Linux

- apk (92%):

```sh
sudo apk add mplayer
```

  证据: Alpine Linux edge package indexes: mplayer from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mplayer
```

  证据: Debian stable package indexes: mplayer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#mplayer
```

  证据: nixpkgs package indexes: pkgs/by-name/mp/mplayer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mplayer
```

  证据: Arch Linux sync databases: mplayer from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install extras/mplayer
```

  证据: Scoop official bucket manifest trees: bucket/mplayer.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mplayer
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mplayer>
- **版本:** 1.5
- **来源摘要:** UNIX movie player
- **主页:** <https://mplayerhq.hu/>
- **上游文档:** <https://mplayerhq.hu/>
- **许可证:** GPL-2.0-only AND GPL-2.0-or-later
- **源码归档:** <https://mplayerhq.hu/MPlayer/releases/MPlayer-1.5.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mencoder (cli)
- mplayer (cli)
- mencoder (别名)
- mplayer (别名)

## 依赖

- fontconfig
- freetype
- jpeg-turbo
- libcaca
- libpng

## 构建依赖

- pkgconf

## macOS 提供的库

- bzip2
- libxml2
- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.5
- 本地数据: OK
- 上游仓库: https://mplayerhq.hu/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

MPlayer is a Unix-oriented command-line movie player that grew out of the Linux media-player scene around 2000. MPlayer project pages credit Arpad Gereoffy, known as A'rpi, as the creator; a project news post marking the tenth anniversary says the first MPlayer v0.01 release was on November 11, 2000, while an interview with A'rpi explains that the project came from frustration with available video players and MPEG/VCD playback.

### 项目历史

The project became known for breadth: its manual describes playback of many container and codec families, with support for DVDs, VCDs, network streams, subtitles, and numerous output drivers. MEncoder, shipped alongside MPlayer, reused the same decoding base to encode or transcode MPlayer-readable input into other formats, making the package both a playback tool and a scriptable conversion tool.

### 采用历史

MPlayer's ecosystem role was partly technical and partly cultural. It was a keyboard-driven player that could be controlled from scripts, launched by front ends, embedded in workflows, or used directly by users who preferred shell control over a full media-library application. Its code and workflows also fed later projects and wrappers, including mplayer2, mpv, graphical front ends, and macOS-specific shells.

### 使用方式

In package managers, MPlayer remains the classic low-level media player package: install it for the mplayer binary, install related builds for mencoder, and use configuration files such as ~/.mplayer/config and ~/.mplayer/input.conf for local playback behavior. Users choosing it over mpv or VLC usually want legacy compatibility, MEncoder, old front-end support, or exact MPlayer command-line behavior.

### 来源

- <https://formulae.brew.sh/formula/mplayer>
- <https://mplayerhq.hu/MPlayer/DOCS/HTML/en/MPlayer.html>
- <https://mplayerhq.hu/design6/interview-arpi.html>
- <https://mplayerhq.hu/design6/news.html>
- <https://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html>


## 安全说明

没有找到 mplayer 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.mplayer/config, ~/.mplayer/input.conf
## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - mencoder - 2:1.5+svn38674-2: normalized package name match | Debian stable package indexes: mencoder from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MPlayer's Movie Encoder | https://mplayerhq.hu
- Debian apt - mplayer - 2:1.5+svn38674-2: normalized package name match | Debian stable package indexes: mplayer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | movie player for Unix-like systems | https://mplayerhq.hu
- Debian apt - mplayer-doc - 2:1.5+svn38674-2: normalized package name match | Debian stable package indexes: mplayer-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for MPlayer | https://mplayerhq.hu
- Debian apt - mplayer-gui - 2:1.5+svn38674-2: normalized package name match | Debian stable package indexes: mplayer-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | movie player for Unix-like systems (GUI variant) | https://mplayerhq.hu
- Nix - mplayer: normalized package name match | nixpkgs package indexes: pkgs/by-name/mp/mplayer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mencoder - 2:1.5+svn38446-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: mencoder from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MPlayer's Movie Encoder | https://mplayerhq.hu
- Ubuntu apt - mplayer - 2:1.5+svn38446-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: mplayer from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | movie player for Unix-like systems | https://mplayerhq.hu
- Ubuntu apt - mplayer-doc - 2:1.5+svn38446-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: mplayer-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for MPlayer | https://mplayerhq.hu
- Ubuntu apt - mplayer-gui - 2:1.5+svn38446-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: mplayer-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | movie player for Unix-like systems (GUI variant) | https://mplayerhq.hu
- apk - mplayer - 1.5.0_git20230717-r4: normalized package name match | Alpine Linux edge package indexes: mplayer from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Movie player for linux | http://www.mplayerhq.hu/design7/news.html
- apk - mplayer-doc - 1.5.0_git20230717-r4: normalized package name match | Alpine Linux edge package indexes: mplayer-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Movie player for linux (documentation) | http://www.mplayerhq.hu/design7/news.html
- pacman - mplayer - 38542-8: normalized package name match | Arch Linux sync databases: mplayer from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Media player for Linux | http://www.mplayerhq.hu/
- MacPorts - MPlayer: normalized package name match | MacPorts ports tree: multimedia/MPlayer/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/mplayer: normalized package name match | Scoop official bucket manifest trees: bucket/mplayer.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- pacman - mencoder - 38542-8: installed executable or alias match | Arch Linux sync databases: mencoder from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Free command line video decoding, encoding and filtering tool | http://www.mplayerhq.hu/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [fontconfig](https://pkg.so/zh-hans/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [libcaca](https://pkg.so/zh-hans/brew/libcaca/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [yewtube](https://pkg.so/zh-hans/brew/yewtube/) - Popular package that depends on this formula.
- [qmmp](https://pkg.so/zh-hans/brew/qmmp/) - Popular package that depends on this formula.
- [mplayershell](https://pkg.so/zh-hans/brew/mplayershell/) - Popular package that depends on this formula.
- [mpv](https://pkg.so/zh-hans/brew/mpv/) - Shares pkgdb curated category or tags: audio, cli, media, media-player, subtitles.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [yt-dlp](https://pkg.so/zh-hans/brew/yt-dlp/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [mpg123](https://pkg.so/zh-hans/brew/mpg123/) - Shares pkgdb curated category or tags: audio, cli, media, unix.
- [gstreamer](https://pkg.so/zh-hans/brew/gstreamer/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [ffmpeg-full](https://pkg.so/zh-hans/brew/ffmpeg-full/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [pipewire](https://pkg.so/zh-hans/brew/pipewire/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [media-info](https://pkg.so/zh-hans/brew/media-info/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [ocp](https://pkg.so/zh-hans/brew/ocp/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, freetype, jpeg, jpeg-turbo.

## Combined YAML source

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


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
