CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

multimedia/mpv 0.41.0_2,1

Free and open-source general-purpose video player

Port info

Maintainer
multimedia@FreeBSD.org
Packages
latest: 0.41.0_2,1
Upstream
up to date
Last update
to 0.41.0_2,1 · 4ba825a2f2
Quarterly
2026Q4: 0.41.0_2,1
WWW
https://mpv.io
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install mpv
installs 0.41.0_2,1 from latest; from quarterly (2026Q4) 0.41.0_2,1
Port
# cd /usr/ports/multimedia/mpv && make install clean
# make -C /usr/ports/multimedia/mpv config  # change options first
Size
1.6 MiB download · 7.0 MiB installed
Depends on
archivers/libarchive 3.8.8,1, devel/desktop-file-utils 0.28, graphics/jpeg-turbo 3.1.4.1, graphics/lcms2 2.19.1, graphics/libdrm 2.4.134,1, graphics/libglvnd 1.7.0, graphics/libplacebo 7.360.1, graphics/mesa-libs 26.2.2_1, graphics/vulkan-loader 1.4.365, graphics/wayland 1.26.0, graphics/wayland-protocols 1.49, lang/luajit 2.1.0.20260908, multimedia/ffmpeg 9.0.2_2,1, multimedia/ffnvcodec-headers 13.0.19.0, multimedia/libass 0.17.5, multimedia/libdvdnav 7.0.0, multimedia/libva 2.24.1, multimedia/libvdpau 1.5, sysutils/libdisplay-info 0.4.0, textproc/uchardet 0.0.8_1, x11/libX11 1.8.14,1, x11/libXScrnSaver 1.2.5, x11/libXext 1.3.7,1, x11/libXfixes 6.0.2, x11/libXinerama 1.1.6,1, x11/libXpresent 1.0.2, x11/libXrandr 1.5.5, x11/libXv 1.0.13,1, x11/libXxf86vm 1.1.7, x11/libxkbcommon 1.13.2
License
GPLv2+ and LGPL21+
Options
17 of 35 on in the package: ARCHIVE DOCS DRM DVDNAV EXAMPLES LCMS2 LUAJIT MANPAGES NVDEC OPENGL UCHARDET V4L VAAPI VDPAU VULKAN WAYLAND X11
Show the 18 options that are off
ALSA CACA CDIO JACK LIBBLURAY LUA LUA_NONE MUJS OPENAL PIPEWIRE PULSEAUDIO RUBBERBAND SDL SIXEL SNDIO VAPOURSYNTH YTDLP ZIMG

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.41.0_2,10.41.0_2,1–
FreeBSD 150.41.0_2,10.41.0_2,1–
FreeBSD 140.41.0_2,10.41.0_2,10.41.0_2,1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.41.0_2,10.41.0_2,1–
FreeBSD 140.41.0_2,10.41.0_2,10.41.0_2,1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.41.0_2,1.

Fixed (1)

Show 1 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (1) · open in Bugzilla, most recently changed first

PRSummaryStatusChanged
295002maintainer-feedback? multimedia/mpv fails to build on 14.4-STABLENew2026-05-04

Commits (278)

Carlos J. Puga Medina (cpm) · 0.27.0_4,1
multimedia/mpv: Fix build on arm64

/usr/bin/ld: /wrkdirs/usr/ports/multimedia/mpv/work/mpv-0.27.0/build/mpv: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO
/usr/bin/ld: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Reported by:	pkg-fallout
281b3eae61
Carlos J. Puga Medina (cpm) · 0.27.0_4,1
multimedia/mpv: Add VAAPI on Wayland support

- Add support to enable VAAPI under Wayland (disabled by default)
- Regenerate patch with makepatch to make portlint happy

PR:		224425
Submitted by:	Greg V <greg@unrelenting.technology>
ef24e94f89
Antoine Brodin (antoine) · 0.27.0_4,1
Change default version of samba from 4.4 to 4.6

Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D13529
ddd8c8640e
Guido Falsi (madpilot) · 0.27.0_3,1
- Update libva to 2.0.0 - Update libva-intel-driver to 2.0.0 - Update libva-utils to 2.0.0 - Bump dependent ports due to shlib bump - Import upstream patch to fix multimedia/mpv [1] - Import upstream patch to fix multimedia/gstreamer1-vaapi [2]

Approved by:	cpm [1], multimedia (timeout) [2]
Obtained from:	https://github.com/mpv-player/mpv/commit/2ecf240b1cd20875991a5b18efafbe799864ff7f [1]
		https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/commit/gst-libs/gst/vaapi/gstvaapiutils.c?id=777bba473e3ed1c7b8b7f7f0322892851c70dfd9 [2]
Differential Revision:	https://reviews.freebsd.org/D12761
c26152ae1a
Jan Beich (jbeich) · 0.27.0_2,1
multimedia/ffmpeg: update to 3.4

Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
84e727457f
Carlos J. Puga Medina (cpm) · 0.27.0_1,1
multimedia/mpv: Add WAYLAND option

- Drop --disable-wayland from CONFIGURE_ARGS
- Bump PORTREVISION

PR:		223029
Submitted by:	Greg V <greg@unrelenting.technology>
abf06747a3
Carlos J. Puga Medina (cpm) · 0.27.0,1
multimedia/mpv: update to 0.27.0

- Remove patch (added upstream)
- Disable ZSH completion option for the time being. The way we currently generate
  ZSH completion is known to be incompatible with cross-compilation, which is
  actually why it's disabled by default upstream [1]

Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.27.0

PR:		221876 [1]
Reported by:	Vladimir Krstulja <vlad-fbsd@acheronmedia.com>
55d14d645f
Carlos J. Puga Medina (cpm) · 0.26.0_3,1
multimedia/mpv: enable DVB support

- Bump PORTREVISION

PR:		222183
Submitted by:	rozhuk.im@gmail.com
Reviewed by:	hselasky
Approved by:	cpm (maintainer)
1e54de5ca9
Gerald Pfeifer (gerald) · 0.26.0_2,1
Bump PORTREVISION for ports depending on the canonical version of GCC (via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
e59c88cece
Carlos J. Puga Medina (cpm) · 0.26.0_1,1
- Add a patch from upstream to fix a dumb calculation in ao_oss.c - Bump PORTREVISION

While I'm here pet portlint, USE_* comes before USES

PR:		220920
Submitted by:	Oleh Hushchenkov <gor@clogic.com.ua>
Obtained from:	https://github.com/mpv-player/mpv/commit/8c82555e41a6a9edb677756cfe89f28a2918be2a
dbf9f0a9b3
Carlos J. Puga Medina (cpm) · 0.26.0,1
multimedia/mpc-qt:

- Add patch to fix mpcwidget crash on mpv 0.26.0

multimedia/mpv:

- Update mpv to 0.26.0
- Update waf to 1.9.8 using the same waf version as bootstrap.py
- Update ffmpeg version required to 3.3
- Drop unnecessary CONFIGURE_ARGS options
- Fix option helpers
- Update WWW in pkg-descr

Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.26.0

Reviewed by:	jbeich
Approved by:	jbeich (mpc-qt, maintainer)
Differential Revision:	https://reviews.freebsd.org/D11655
ab33d5e811
Carlos J. Puga Medina (cpm) · 0.25.0_2,1
multimedia/mpv: add TEST option

- Rename LIBARCHIVE option to ARCHIVE and use _DESC from Mk/bsd.options.desc.mk
- Use FLT_EPSILON constant to fix gl_video unittest on i386
- Cosmetic fixes

Reviewed by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D11005
97d03458f6
Carlos J. Puga Medina (cpm) · 0.25.0_2,1
- Enable DVDNAV and DVDREAD options by default. - Pet portlint - Bump PORTREVISION

PR:		219745
Submitted by:	chungyeol.lee@gmail.com
8879bdf86c
Matthew Rezny (rezny) · 0.25.0_1,1
Revision bump of all ports with USE_GL after consolidation of mesa-libs

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
b760897dde
Carlos J. Puga Medina (cpm) · 0.25.0,1
- Remove XINERAMA option since mpv makes xinerama dependency mandatory.

waf-light: error: no such option: --disable-xinerama
===>  Script "configure" failed unexpectedly.

PR:		218909
Reported by:	rozhuk.im@gmail.com
b935892082
Carlos J. Puga Medina (cpm) · 0.25.0,1
multimedia/mpv: update to 0.25.0

- Remove the duplicate prefix option from CONFIGURE_ARGS. It is provided by waf.mk
- Add a line between targets to improve the Makefile format

Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.25.0
2aa23dd7bc
Thomas Zander (riggs) · 0.24.0_6,1
Chase ffmpeg 3.3 update (ABI changes)

PR:		218658
Submitted by:	riggs
b50a4186ce
Carlos J. Puga Medina (cpm) · 0.24.0_5,1
- Add LIBARCHIVE option and enable it by default - Fix indent in OPTIONS_DESC - Bump PORTREVISION

Reported by:	Claudiu Palincas <claudiuatris@gmail.com> via email
037dd94c9a
Gerald Pfeifer (gerald) · 0.24.0_4,1
Bump PORTREVISIONs for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
04d6f52202
Antoine Brodin (antoine) · 0.24.0_3,1
Switch default version of samba from 4.3 to 4.4

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D10131
8fb879105d
Antoine Brodin (antoine) · 0.24.0_2,1
- Add USES=samba to handle dependency on samba   Valid ARGS:  build, env, lib, run (default: build,run) - Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3) - Remove obsolete samba36 ports - Modify samba4x ports to install libsmbclient - Convert the ports tree to USES=samba

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8919
7cfe69b584
Thomas Zander (riggs) · 0.24.0_1,1
Chase libass runtime fix r434477; bump PORTREVISION on consumers

PR:		216837
Reported by:	cpm
MFH:		2017Q1
488f7f5cdd
Carlos J. Puga Medina (cpm) · 0.24.0,1
multimedia/mpv: update to 0.24.0

- Update PORTVERSION and distinfo checksum (0.24.0)
- Remove unneeded patches

Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.24.0
bedbea28e5
Jan Beich (jbeich) · 0.23.0_3,1
multimedia/mpv: force rebuild after r433759

$ mpv --no-config /path/to/foo.mp4
ffmpeg library versions:
   libavutil       55.34.100 (runtime 55.34.101)
   libavcodec      57.64.101
   libavformat     57.56.100 (runtime 57.56.101)
   libswscale      4.2.100
   libavfilter     6.65.100
   libswresample   2.3.100
ffmpeg version: 3.2.3

mpv was compiled against a different version of FFmpeg/Libav than the shared
library it is linked against. This is most likely a broken build and could
result in misbehavior and crashes.

mpv does not support this configuration and will not run - rebuild mpv instead.

Exiting... (Fatal error)
57f1306bc9
Thomas Zander (riggs) · 0.23.0_2,1
Update libass to upstream version 0.13.6; bump PORTREVISION on consumers

Reported by:	robert.burmeister@utoledo.edu (via email)
c6d217920a
Jan Beich (jbeich) · 0.23.0_1,1
multimedia/libass: belatedly bump PORTREVISION after r429876

ASS_Style grew in size by |int Justify| member. Old consumers may
not initialize it leading to crashes.

Reported by:	Kevin Oberman
b621c1de4f
Jan Beich (jbeich) · 0.23.0,1
multimedia/mpv: update to 0.23.0

- Since ENCA is gone enable UCHARDET by default
- Reduce maintenance by using the same waf version as bootstrap.py

Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.23.0
Approved by:	cpm (maintainer)
Differential Revision:	https://reviews.freebsd.org/D8912
090b73fd90
Jan Beich (jbeich) · 0.22.0_2,1
multimedia/ffmpeg: update to 3.2.2

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.2.2:/Changelog
PR:		207547
Submitted by:	riggs, ebirth@b0ss.net (libressl fix)
Exp-run by:	antoine (3 tries)
0c612c4aa3
Carlos J. Puga Medina (cpm) · 0.22.0_1,1
multimedia/mpv: Add DOCS and MANPAGES options

- Add DOCS and MANPAGES options using options helpers to simplify conditional values
- Update pkg-plist accordingly
- Bump PORTREVISION

Reported by:	Robert Burmeister <Robert.Burmeister@UToledo.edu> via email
Reviewed by:	junovitch (mentor)
Approved by:	junovitch (mentor)
Differential Revision:	D8726
d30fd149d1
Mathieu Arnold (mat) · 0.22.0,1
Do not use post-stage.  Use post-install instead.

The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
8b4093cba5
Carlos J. Puga Medina (cpm) · 0.22.0,1
multimedia/mpv: Update to 0.22.0

- Update PORTVERSION and distinfo checksum (0.22.0)

Changelog:
   https://github.com/mpv-player/mpv/releases/tag/v0.22.0

Reviewed by:	amdmi3 (mentor)
Approved by:	amdmi3 (mentor)
Differential Revision:	D8615
7c2281ad16
Gerald Pfeifer (gerald) · 0.21.0_1,1
Bump PORTREVISIONS for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
89f8b05214
Carlos J. Puga Medina (cpm) · 0.21.0,1
multimedia/mpv: Update to 0.21.0

- Update mpv to 0.21.0
- Downgrade waf to 1.8.19 due a possible issue (https://github.com/waf-project/waf/issues/1837)
- Bump library version in pkg-plist

Changelog:
  https://github.com/mpv-player/mpv/releases/tag/v0.21.0

Approved by:	feld (mentor)
Differential Revision:	D8300
51f239d1c2
Tijl Coosemans (tijl) · 0.20.0,1
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS. USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS appears too early on the command line causing some ports to link with their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
1ee4da6dd1
Carlos J. Puga Medina (cpm) · 0.20.0,1
- Update mpv to 0.20.0 - Update waf to 1.9.3 - Remove patch demux: undefined behavior with ogg metadata update (fixed upstream) - Record indirect dependencies. Changelog:   https://github.com/mpv-player/mpv/releases/tag/v0.20.0

Reviewed by:	feld (mentor)
Approved by:	feld (mentor)
Differential Revision:	D7672
cfe540b435
Carlos J. Puga Medina (cpm) · 0.19.0,1
- Update mpv to 0.19.0 - Update waf to 1.9.2 - Add rst2html dependency - Enable html manual generation - Add SNDIO option [0]

Changelog:
  https://github.com/mpv-player/mpv/releases/tag/v0.19.0

PR:	211893	(Add SNDIO option)
Submitted by:	Tobias Kortkamp [0]
Reviewed by:	jbeich
Approved by:	jbeich
Differential Revision:	D7540
80da5809ac
Carlos J. Puga Medina (cpm) · 0.18.1,1
- Update mpv to 0.18.1 release - Update waf to 1.9.1 release - Remove unneeded patch

Changelog:
  https://github.com/mpv-player/mpv/releases/tag/v0.18.1

Reviewed by:	junovitch (mentor)
Approved by:	junovitch (mentor)
Differential Revision:	D7171
81d7c07a25
Carlos J. Puga Medina (cpm) · 0.18.0,1
- Update to 0.18.0 release - Update waf to 1.9.0pre3 release - Remove unneeded patches (applied upstream) - Fix CONFIGURE_ARGS adding/disabling certain features - Add patches to fix "-Wmissing-braces" warning, so the compiler is happy - Switch to USES=localbase framework - Bump library version in pkg-plist

Changelog:
  https://github.com/mpv-player/mpv/releases/tag/v0.18.0

Reviewed by:	junovitch (mentor)
Approved by:	junovitch (mentor)
Differential Revision:	D6965
18fd1bce60
Carlos J. Puga Medina (cpm) · 0.17.0_1,1
- Backport patches to fix enconding support - Fix pkg-plist - Bump PORTREVISION

Reported by:	jbeich
Approved by:	junovitch (mentor)
2f8784c834
Carlos J. Puga Medina (cpm) · 0.17.0,1
- Update to 0.17.0 release - Update waf to 1.9.0pre1 release - Explicitly disable dependencies we don't need - Fix "-Wmissing-braces" warning in video.c, so the compiler is happy - Fix pkg-plist

Changelog:

  https://github.com/mpv-player/mpv/releases/tag/v0.17.0

Approved by:	junovitch (mentor)
Differential Revision:	D5932
53d57c3afa
Carlos J. Puga Medina (cpm) · 0.16.0_3,1
- Drop .include <bsd.port.options.mk> line. - Add X11_VARS option helper to handle properly gnome icons. - Bump PORTREVISION.

Approved by:	junovitch (mentor)
e0664262bf
Mathieu Arnold (mat) · 0.16.0_2,1
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
8d6597e0bb
Carlos J. Puga Medina (cpm) · 0.16.0_2,1
- Initialize volume to 50% by default.

Submitted by:	soralx@cydem.org
Approved by:	junovitch (mentor)
af96a72c50
Carlos J. Puga Medina (cpm) · 0.16.0_1,1
- Fix my previous svn commit message (PR should be 202588) - While I'm here, improve package description

Approved by:	junovitch (mentor)
c228ea568b
Carlos J. Puga Medina (cpm) · 0.16.0_1,1
- cipher/salsa20.c (selftest): Ensure 16-byte alignment for salsa20 context structure.

- mpi/longlong.h: Fix build on sparc.

PR:		206919
Approved by:	junovitch (mentor)
ca0a94e904
Carlos J. Puga Medina (cpm) · 0.16.0,1
- Update to v0.16.0 - Add LICENSE_COMB. This release changes the license of some non-MPlayer source files to LGPL 2.1 or later. - Update MAINTAINER to my @FreeBSD.org address.

Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.16.0

PR:		207663
Approved by:	junovitch (mentor)
2ee6f8bf7c
Carlos J. Puga Medina (cpm) · 0.15.0,1
- Update to 0.15.0

Changes:
  https://github.com/mpv-player/mpv/releases/tag/v0.15.0

PR:		206393
Submitted by:	Carlos J. Puga Medina <cpm@fbsd.es>
Approved by:	junovitch (mentor)
cf63a49d51
Martin Wilke (miwi) · 0.14.0,1
- Update to 0.14.0

PR:		206137
Submitted by:	maintainer
99d03feb40
Jason Unovitch (junovitch) · 0.13.0_1,1
multimedia/mpv: address regressions from r402235 and r402236

- Remove INSTALLS_ICONS (see r395763 commit message)
- Set YTDL option as RUN_DEPENDS (see r402130 commit message)

PR:		202806
PR:		202337
PR:             204599
Reported by:	jbeich
Approved by:	cpm (implicit from bug 202337 and 202806 approvals)
dda9fb97bf
Kurt Jaeger (pi) · 0.13.0,1
multimedia/mpv: fix typo INSTALL_ICONS -> INSTALLS_ICONS

PR:		204599
f0bbc7efad