# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/mpv>
- **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>
- **Docs amont:** <https://mpv.io>
- **Licence:** GPL-2.0-or-later AND LGPL-2.1-or-later
- **Archive source:** <https://github.com/mpv-player/mpv/archive/refs/tags/v0.41.0.tar.gz>
- **Dernière mise à jour:** 2026-07-29T11:48:29Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- mpv (cli)
- mpv (alias)

## Dépendances

- ffmpeg
- jpeg-turbo
- libarchive
- libass
- libbluray
- libplacebo
- little-cms2
- luajit
- molten-vk
- mujs
- rubberband
- uchardet
- vapoursynth
- vulkan-loader
- yt-dlp
- zimg

## Dépendances de compilation

- docutils
- meson
- ninja
- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Précautions: The global configuration directory is now $HOMEBREW_PREFIX/etc/mpv/ You may need to migrate any data in previous $HOMEBREW_PREFIX/etc/mpv/mpv/
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.41.0
- gestionnaire mis à jour: 2026-07-29
- données locales: OK
- dépôt amont: https://github.com/mpv-player/mpv
- dernière version détectée: v0.41.0 (à jour)
## 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
## Détails de la base source

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

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


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/fr/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [ffmpeg](https://pkg.so/fr/brew/ffmpeg/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/fr/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [little-cms2](https://pkg.so/fr/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [yt-dlp](https://pkg.so/fr/brew/yt-dlp/) - Runtime dependency declared by Homebrew.
- [libarchive](https://pkg.so/fr/brew/libarchive/) - Runtime dependency declared by Homebrew.
- [luajit](https://pkg.so/fr/brew/luajit/) - Runtime dependency declared by Homebrew.
- [libbluray](https://pkg.so/fr/brew/libbluray/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/fr/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/fr/brew/meson/) - Build dependency declared by Homebrew.
- [docutils](https://pkg.so/fr/brew/docutils/) - Build dependency declared by Homebrew.
- [dzr](https://pkg.so/fr/brew/dzr/) - Popular package that depends on this formula.
- [mplayer](https://pkg.so/fr/brew/mplayer/) - Shares pkgdb curated category or tags: audio, cli, media, media-player, subtitles.
- [gstreamer](https://pkg.so/fr/brew/gstreamer/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [ffmpeg-full](https://pkg.so/fr/brew/ffmpeg-full/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [pipewire](https://pkg.so/fr/brew/pipewire/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [media-info](https://pkg.so/fr/brew/media-info/) - Shares pkgdb curated category or tags: audio, cli, media, video.
- [streamlink](https://pkg.so/fr/brew/streamlink/) - Shares pkgdb curated category or tags: cli, media, media-player, video.
- [geeqie](https://pkg.so/fr/brew/geeqie/) - Local package facts share a topical domain. Shared terms: based, cli, cms2, jpeg, jpeg-turbo.
- [handbrake](https://pkg.so/fr/brew/handbrake/) - Both packages work with overlapping file formats or content types. Shared terms: cli, jpeg, jpeg-turbo, libass, libbluray.

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