CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 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

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)

Jan Beich (jbeich) · 0.41.0_2,1
sysutils/libdisplay-info: update to 0.4.0

Changes:	https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/0.4.0
Reported by:	GitLab (notify releases)
4ba825a2f2
Joel Bodenmann (jbo) · 0.41.0_1,1
multimedia/mpv: Disable YTDLP option by default

The www/yt-dlp dependency now requires npm and deno as dependencies (via www/py-yt-dlp-ejs). This pulls in a bunch of build and run
dependencies which were not previously required.
There are two main downsides to this:
  1. Exploding build times
  2. Installing multimedia/mpv on a system now also installs a javascript interpreter which violates POLA and is generally not desirable.

Therefore, we're disabling the YTDLP option by default.

PR:		293736
Approved by:	makc (multimedia)
bd7b11985e
Max Brazhnikov (makc) · 0.41.0,1
multimedia/mpv: update to 0.41.0

Release notes:	https://github.com/mpv-player/mpv/releases/tag/v0.41.0
PR:		292996

Co-authored-by:	Max Brazhnikov <makc@FreeBSD.org>
416f8afcc7
Jan Beich (jbeich) · 0.40.0_8,1
graphics/libplacebo: update to 7.360.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v7.360.0
Reported by:	GitHub (watch releases)
1697360b77
Po-Chuan Hsieh (sunpoet) · 0.40.0_7,1
graphics/lcms2: Bump PORTREVISION of dependent ports for shlib change

PR:		292881
Reported by:	Petr Lampa <lampa@fit.vutbr.cz>
2adc4bef7d
Baptiste Daroussin (bapt) · 0.40.0_6,1
multimedia/ffmpeg: bump revision to chase lib version change
18ea9c7108
Jan Beich (jbeich) · 0.40.0_5,1
sysutils/libdisplay-info: update to 0.3.0

Changes:	https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/0.3.0
Reported by:	GitLab (notify releases)
2a78009ebc
Daniel Engberg (diizzy) · 0.40.0_4,1
multimedia/mpv: Fix build with FFmpeg 8.0+

Backport upstream commit 26b29fba02a2782f68e2906f837d21201fc6f1b9

Reference: https://github.com/mpv-player/mpv/commit/26b29fba02a2782f68e2906f837d21201fc6f1b9

PR:		289059
079fc510e5
Sergey A. Osokin (osa) · 0.40.0_3,1
lang/luajit: update to v2.1

Disconnect lang/luajit-devel from the build, will be removed soon.
Bump PORTREVISIONs for the consumers.

Discussed with:	adamw
PR:		225342
0af0578acb
Jan Beich (jbeich) · 0.40.0_2,1
graphics/libplacebo: update to 7.351.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v7.351.0
Reported by:	GitHub (watch releases)
e0380d01e0
Christos Margiolis (christos) · 0.40.0_1,1
multimedia/mpv: Fix YTDLP option

PR:		278806
Reviewed by:	christos, makc, Piotr Smyrak <ps.ports@smyrak.com>
46f994464d
Jan Beich (jbeich) · 0.40.0,1
multimedia/mpv: update to 0.40.0

Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.40.0
Reported by:	GitHub (watch releases)
29f3f1e481
Gleb Popov (arrowd) · 0.39.0_1,1
*: Bump PORTREVISIONs of Pulseaudio consumers

Sponsored by:	Future Crew, LLC
5505c50fcc
Jan Beich (jbeich) · 0.39.0,1
multimedia/mpv: update to 0.39.0

Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.39.0
Reported by:	GitHub (watch releases)
7dd5f4dbb9
Jan Beich (jbeich) · 0.38.0_1,1
graphics/libplacebo: update to 7.349.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v7.349.0
Reported by:	GitHub (watch releases)
13d83153bd
Jan Beich (jbeich) · 0.38.0,1
multimedia/mpv: update to 0.38.0

Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.38.0
Reported by:	GitHub (watch releases)
a777819aa2
Jan Beich (jbeich) · 0.37.0_3,1
multimedia/mpv: enable YTDLP by default after dd925d74b056
1dcb739510
Koichiro Iwao (meta) · 0.37.0_2,1
multimedia/mpv: Fix INDEX

after recent www/youtube-dl removal.

make_index: mpv-0.37.0_1,1: no entry for /usr/ports/www/youtube_dl

Also YOUTUBE radio option is removed since yt-dlp is the only option in
YOUTUBE after removing youtube-dl.

Approved by:	portmgr (blanket)
dd925d74b0
Muhammad Moinur Rahman (bofh) · 0.37.0_1,1
*/*: Sanitize MANPREFIX for meson ports

Approved by:	portmgr
9f8f710b3e
Jan Beich (jbeich) · 0.37.0,1
multimedia/mpv: unbreak without X11/Wayland after 628ae700cef8

ld: error: undefined symbol: mp_present_initialize
>>> referenced by drm_common.c
>>>               libmpv.so.2.2.0.p/video_out_drm_common.c.o:(vo_drm_init)

ld: error: undefined symbol: present_sync_update_values
>>> referenced by drm_common.c
>>>               libmpv.so.2.2.0.p/video_out_drm_common.c.o:(drm_pflip_cb)

ld: error: undefined symbol: present_sync_swap
>>> referenced by drm_common.c
>>>               libmpv.so.2.2.0.p/video_out_drm_common.c.o:(drm_pflip_cb)

ld: error: undefined symbol: present_sync_get_info
>>> referenced by vo_drm.c
>>>               libmpv.so.2.2.0.p/video_out_vo_drm.c.o:(get_vsync)

Reported by:	olgeni
1872de52ad
Jan Beich (jbeich) · 0.37.0,1
multimedia/mpv: unbreak VULKAN=off build after 628ae700cef8

meson.build:26:13: ERROR: Dependency "libplacebo" not found, tried pkgconfig and cmake

https://github.com/mpv-player/mpv/commit/f5ca11e12bc5

PR:		275266
Reported by:	Ivan Rozhuk
95f839817a
Jan Beich (jbeich) · 0.37.0,1
multimedia/mpv: update to 0.37.0

Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.37.0
Reported by:	GitHub (watch releases)
628ae700ce
Jan Beich (jbeich) · 0.36.0_6,1
multimedia/ffmpeg: update to 6.1

- HARFBUZZ (like ASS option) is enabled to keep -vf drawtext
- Rebuild mpv to expose --hwdec=vulkan

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.1:/Changelog
PR:		272575
Reported by:	Repology
Exp-run by:	antoine
91af44585e
Jan Beich (jbeich) · 0.36.0_5,1
graphics/libplacebo: update to 6.338.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v6.338.0
Reported by:	GitHub (watch releases)
7cb1beb17f
Jan Beich (jbeich) · 0.36.0_4,1
multimedia/mpv: backport OSS spdif passthrough fix
1c46649c3e
Gleb Popov (arrowd) · 0.36.0_3,1
audio/pulseaudio: Update to 16.1

Bump PORTREVISION on consumers.

Sponsored by:	Serenity Cybersecurity, LLC

PR:		262713
b1ecad53b0
Jan Beich (jbeich) · 0.36.0_2,1
multimedia/mpv: switch 5432cffb7154 to upstreamed fix
38c6cb7456
Daniel Engberg (diizzy) · 0.36.0_2,1
*/*: Bump jpeg-turbo users treewide

New major version 3.0.0
664a2fa1e5
Jan Beich (jbeich) · 0.36.0_1,1
multimedia/mpv: backport a Wayland fix after f4f03804c435
d955b33876
Jan Beich (jbeich) · 0.36.0,1
multimedia/mpv: update to 0.36.0

Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.36.0
Reported by:	GitHub (watch releases)
f4f03804c4
Vladimir Druzenko (vvd) · 0.35.1_5,1
Mk/bsd.options.desc.mk: add "PIPEWIRE_DESC?= PipeWire multimedia server support"

Keep custom description in ports:
graphics/spectacle
multimedia/obs-studio
net/krfb
x11-wm/gamescope

Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D41038
MFH:			2023Q3
cc018ec33b
Jan Beich (jbeich) · 0.35.1_5,1
graphics/libplacebo: update to 6.292.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v6.292.0
Reported by:	Repology
eb0549e826
Daniel Engberg (diizzy) · 0.35.1_4,1
*/*: Bump all users of multimedia/ffmpeg*

...to make sure all picks up new version(s)
f7accb23bf
Christian Weisgerber (naddy) · 0.35.1_3,1
audio/opus: bump consumers after update to 1.4
feb1fa34f5
Jan Beich (jbeich) · 0.35.1_2,1
multimedia/mpv: unbreak audio with YTDLP=on after 35a7667ec445

[ytdl_hook] EDL doesn't support fragmentswithout duration with MP4 DASH
EDL specifies no segments.'
EDL parsing failed.
Error in EDL.
EDL: source file 'edl://!mp4_dash,init=%910%https://...' has unknown duration.

PR:		270437
ab92b4f2e0
Jan Beich (jbeich) · 0.35.1_1,1
multimedia/mpv: unbreak with --auto-features=enabled

meson.build:363:0: ERROR: Feature win32-internal-pthreads cannot be enabled: the os is not win32!
meson.build:391:0: ERROR: Dependency "appleframeworks" not found, tried framework
meson.build:710:0: ERROR: Feature sdl2-gamepad cannot be enabled: sdl2 was not found!
meson.build:772:0: ERROR: Dependency "appleframeworks" not found, tried framework
meson.build:784:0: ERROR: Dependency "appleframeworks" not found, tried framework
meson.build:817:0: ERROR: C shared or static library 'OpenSLES' not found
meson.build:848:0: ERROR: Feature sdl2-audio cannot be enabled: sdl2 was not found!
meson.build:864:0: ERROR: C symbol IAudioClient not found in header audioclient.h
meson.build:885:0: ERROR: Feature direct3d cannot be enabled: the build is not GPL or this is not a win32 desktop!
meson.build:941:0: ERROR: Feature sdl2-video cannot be enabled: sdl2 was not found!
meson.build:964:0: ERROR: Dependency "spirv-cross-c-shared" not found, tried pkgconfig and cmake
meson.build:970:0: ERROR: Feature d3d11 cannot be enabled: Either is not a win32 desktop or shaderc nor spirv-cross were found!
meson.build:1067:0: ERROR: Feature gl-cocoa cannot be enabled: cocoa and GL were not found!
meson.build:1078:0: ERROR: Feature gl-win32 cannot be enabled: GL and win32 desktop were not found!
meson.build:1104:0: ERROR: Feature gl-dxinterop cannot be enabled: gl-dxinterop could not be found!
meson.build:1113:0: ERROR: Feature egl-angle cannot be enabled: egl-angle could not be found!
meson.build:1124:0: ERROR: Feature egl-angle-lib cannot be enabled: egl-angle-lib could not be found!
meson.build:1131:0: ERROR: Feature egl-angle-win32 cannot be enabled: either this is not a win32 desktop or egl-angle was not found!
meson.build:1150:0: ERROR: Feature egl-android cannot be enabled: the OS is not android!
meson.build:1268:0: ERROR: Feature android-media-ndk cannot be enabled
meson.build:1298:0: ERROR: Feature d3d-hwaccel cannot be enabled: the os is not win32!
meson.build:1315:0: ERROR: Feature d3d9-hwaccel cannot be enabled: d3d-hwaccel was not found!
meson.build:1327:0: ERROR: Feature gl-dxinterop-d3d9 cannot be enabled: gl-dxinterop and d3d9-hwaccel were not found!
meson.build:1336:0: ERROR: C symbol GL_RGB32F not found in header OpenGLES/ES3/glext.h
meson.build:1342:0: ERROR: Feature rpi-mmal cannot be enabled: rpi was not found!
meson.build:1431:0: ERROR: Feature videotoolbox-gl cannot be enabled: gl-cocoa nor ios-gl could be found!
meson.build:1462:0: ERROR: Feature macos-10-11-features cannot be enabled: a suitable macos sdk version could not be found!
meson.build:1467:0: ERROR: Feature macos-10-12-2-features cannot be enabled: a suitable macos sdk version could not be found!
meson.build:1472:0: ERROR: Feature macos-10-14-features cannot be enabled: a suitable macos sdk version could not be found!
meson.build:1477:0: ERROR: Program 'xcrun' not found or not executable
meson.build:1512:0: ERROR: Feature macos-cocoa-cb cannot be enabled: Either cocoa or swift could not be found!
meson.build:1522:0: ERROR: Feature macos-media-player cannot be enabled: Either the macos sdk version is not at least 10.12.2 or swift was not found!
meson.build:1535:0: ERROR: Feature macos-touchbar cannot be enabled: Either cocoa could not be found or the macos-touchbar check failed!

PR:		270361
5594d5eafe
Jan Beich (jbeich) · 0.35.1_1,1
graphics/libplacebo: update to 5.264.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0
Reported by:	Repology
1801dc29ce
Jan Beich (jbeich) · 0.35.1,1
multimedia/mpv: update to 0.35.1

Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.35.1
Reported by:	GitHub (watch releases)
9cac5fd136
Jan Beich (jbeich) · 0.35.0_6,1
multimedia/mpv: limit wayland category to WAYLAND option
5bfbc3b29a
Jan Beich (jbeich) · 0.35.0_6,1
multimedia/mpv: enable LCMS2 by default after 276b32c59a4b

Dependency is already installed via VULKAN option.
9698139d2d
Jan Beich (jbeich) · 0.35.0_5,1
multimedia/mpv: unbreak --vo=gpu-next with LCMS2=off after bc9f898a9c83

$ mpv --vo=gpu-next foo.mp4
[...]
Segmentation fault
(lldb) bt
* thread #10, name = 'mpv/vo', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
  * frame #0: 0x000000083b4c8e84 libc.so.7`strlen + 84
    frame #1: 0x000000083b4996bd libc.so.7`vsscanf + 173
    frame #2: 0x000000083b48c72d libc.so.7`sscanf + 141
    frame #3: 0x00000000004c0dd4 mpv`gl_parse_3dlut_size(arg=0x0000000000000000, p1=0x000000088fcf7d3c, p2=0x000000088fcf7d38, p3=0x000000088fcf7d34) at lcms.h:45:9
    frame #4: 0x00000000004c085b mpv`update_icc_opts(p=0x00000008792f9b10, opts=0x0000000891370050) at vo_gpu_next.c:1619:5
    frame #5: 0x00000000004c00ef mpv`update_render_options(vo=0x0000000875b38910) at vo_gpu_next.c:1863:5
    frame #6: 0x00000000004bde05 mpv`preinit(vo=0x0000000875b38910) at vo_gpu_next.c:1426:5
    frame #7: 0x000000000048cc99 mpv`vo_thread(ptr=0x0000000875b38910) at vo.c:1088:13
    frame #8: 0x000000083bc4783a libthr.so.3`___lldb_unnamed_symbol556 + 314
52b2cf0163
Jan Beich (jbeich) · 0.35.0_4,1
multimedia/mpv: unbreak system-wide configs after 1d89ec25be62

$ mpv -v -v 2>&1 | fgrep etc
[global] config path: 'encoding-profiles.conf' -/-> 'etc/mpv/encoding-profiles.conf'
[global] config path: 'mpv.conf' -/-> 'etc/mpv/mpv.conf'
[global] config path: 'config' -/-> 'etc/mpv/config'
[global] config path: 'input.conf' -/-> 'etc/mpv/input.conf'
[global] config path: 'script-opts/ytdl_hook.conf' -/-> 'etc/mpv/script-opts/ytdl_hook.conf'
[global] config path: 'lua-settings/ytdl_hook.conf' -/-> 'etc/mpv/lua-settings/ytdl_hook.conf'
[global] config path: 'script-opts/stats.conf' -/-> 'etc/mpv/script-opts/stats.conf'
[global] config path: 'lua-settings/stats.conf' -/-> 'etc/mpv/lua-settings/stats.conf'
[global] config path: 'script-opts/console.conf' -/-> 'etc/mpv/script-opts/console.conf'
[global] config path: 'lua-settings/console.conf' -/-> 'etc/mpv/lua-settings/console.conf'
[global] config path: 'script-opts/osc.conf' -/-> 'etc/mpv/script-opts/osc.conf'
[global] config path: 'lua-settings/osc.conf' -/-> 'etc/mpv/lua-settings/osc.conf'
439ad203f0
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv: track VDPAU dependency on X11

meson.build:1411:0: ERROR: Feature vdpau cannot be enabled: x11 was not found!

(or before 1d89ec25be62)

Checking for VDPAU acceleration                                           : x11 not found
Checking for VDPAU with OpenGL/X11                                        : vdpau not found

PR:		267816
Reported by:	amdmi3
223e207711
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv: pdf docs are already disabled after 8bc153091609

https://github.com/mpv-player/mpv/commit/1ba03f6813ea
18d2432db8
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv: expose vapoursynth video filter
763fb93f82
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv: expose rubberband audio filter
55c3ad38e9
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv: unbreak ARCHIVE=off WAYLAND=on after 1d89ec25be62

meson.build:979:0: ERROR: C header 'linux/input-event-codes.h' not usable

PR:		267765
Reported by:	amdmi3
5432cffb71
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv: drop unused distfile after 1d89ec25be62
d1728000fb
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv034: remove port

- Mark the remaining consumer as BROKEN

PR:		267114
Suggested by:	bapt (stmp maintainer)
917fc0b4d1
Jan Beich (jbeich) · 0.35.0_3,1
multimedia/mpv: define LICENSE_FILE to avoid stub

"or later" versions are treated as separate licenses thus not found
under /usr/ports/Templates/Licenses/.
4b37de1e2f