# Installer mpv avec Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mpv pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:mpv
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install mpv
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mpv
```

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

### Linux

- apk (92%):

```sh
sudo apk add mpv
```

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

- Debian apt (92%):

```sh
sudo apt install mpv
```

  Preuve: Debian stable package indexes: mpv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mpv
```

  Preuve: Fedora Rawhide package metadata: mpv 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#mpv
```

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

- pacman (92%):

```sh
sudo pacman -S mpv
```

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

- zypper (92%):

```sh
sudo zypper install mpv
```

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

### Windows

- Chocolatey (92%):

```sh
choco install mpv
```

  Preuve: Chocolatey community package catalog: mpv from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','mono'

- Scoop (92%):

```sh
scoop install extras/mpv
```

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

- winget (92%):

```sh
winget install --id shinchiro.mpv -e
```

  Preuve: Windows Package Manager source index: shinchiro.mpv from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:mpv
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.41.0
- **Résumé source:** Media player based on MPlayer and mplayer2
- **Page d'accueil:** <https://mpv.io>
- **Dépôt:** <https://github.com/mpv-player/mpv>
- **Dernière mise à jour:** 2026-07-29T11:48:29Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- mpv (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.41.0
## Historique du projet et usages

mpv is a free command-line media player descended from MPlayer and mplayer2. The mpv FAQ says the relationship with MPlayer is mostly historic: mplayer2 forked away from MPlayer, and in 2012 a group of newer mplayer2 developers forked mplayer2 again, later naming the second fork mpv. The reason given by the project was disagreement over direction: MPlayer emphasized maintenance and old compatibility, while mpv prioritized modernization, code removal, rewrites, bug reduction, and replacing MPlayer-specific mechanisms with FFmpeg mechanisms.

### Historique du projet

The result became a player with a small default interface but a large technical surface. The README describes support for many media formats, audio and video codecs, and subtitle types. The stable manual documents keyboard-driven playback, GPU video output, configuration files, profiles, input commands, IPC, embedding through libmpv, and extension points through Lua, JavaScript, and C plugins. Lua scripting is a major part of the ecosystem: the Lua manual says scripts can call into the mpv core, retrieve playback state and user settings, and use the client API internally.

### Modes d'utilisation

A major milestone was the LGPL relicensing effort opened in 2015, motivated by turning the player core into libmpv and reducing GPL friction for applications that embed video playback in-process. That discussion also documents how much obsolete MPlayer-era code mpv had already removed, including mencoder, the old GUI, old kernel drivers, decoder wrappers, win32 codec loading, ancient video outputs, filters, and build-system pieces. In package-manager terms, mpv occupies the power-user media-player slot: a scriptable CLI player used directly from terminals, file managers, frontends, media-center tools, and other applications through libmpv.

### Sources

- <https://github.com/mpv-player/mpv>
- <https://github.com/mpv-player/mpv/blob/master/DOCS/client-api-changes.rst>
- <https://github.com/mpv-player/mpv/blob/master/DOCS/man/lua.rst>
- <https://github.com/mpv-player/mpv/wiki/FAQ>
- <https://mpv.io/manual/stable/>


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal


## 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: ~/.config/mpv/mpv.conf, ~/.mpv/config, /etc/mpv/mpv.conf
## Autres enregistrements de gestionnaires de paquets

- Debian apt - libmpv-dev - 0.40.0-3+deb13u1: normalized package name match | Debian stable package indexes: libmpv-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | video player based on MPlayer/mplayer2 (client library dev files) | https://mpv.io/
- Debian apt - libmpv2 - 0.40.0-3+deb13u1: normalized package name match | Debian stable package indexes: libmpv2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | video player based on MPlayer/mplayer2 (client library) | https://mpv.io/
- Debian apt - mpv - 0.40.0-3+deb13u1: normalized package name match | Debian stable package indexes: mpv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | video player based on MPlayer/mplayer2 | https://mpv.io/
- Nix - mpv: normalized package name match | nixpkgs package indexes: pkgs/by-name/mp/mpv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmpv-dev - 0.37.0-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libmpv-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | video player based on MPlayer/mplayer2 (client library dev files) | https://mpv.io/
- Ubuntu apt - libmpv2 - 0.37.0-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libmpv2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | video player based on MPlayer/mplayer2 (client library) | https://mpv.io/
- Ubuntu apt - mpv - 0.37.0-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: mpv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | video player based on MPlayer/mplayer2 | https://mpv.io/
- apk - mpv - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Video player based on MPlayer/mplayer2 | https://mpv.io/
- apk - mpv-bash-completion - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for mpv | https://mpv.io/
- apk - mpv-dbg - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Video player based on MPlayer/mplayer2 (debug symbols) | https://mpv.io/
- apk - mpv-dev - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Video player based on MPlayer/mplayer2 (development files) | https://mpv.io/
- apk - mpv-doc - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Video player based on MPlayer/mplayer2 (documentation) | https://mpv.io/
- apk - mpv-fish-completion - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for mpv | https://mpv.io/
- apk - mpv-libs - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Video player based on MPlayer/mplayer2 (libraries) | https://mpv.io/
- apk - mpv-lua-scripts - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-lua-scripts from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Video player based on MPlayer/mplayer2 (lua scripts) | https://mpv.io/
- apk - mpv-zsh-completion - 0.41.0-r5: normalized package name match | Alpine Linux edge package indexes: mpv-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for mpv | https://mpv.io/


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
