multimedia/mpv: unbreak TEST=on after 1d89ec25be62 env: build/mpv: No such file or directory3702ec56be
mpv -- arbitrary code execution via crafted websiteentered 2018-02-09
Free and open-source general-purpose video player
# pkg install mpvinstalls 0.41.0_2,1 from latest; from quarterly (2026Q4) 0.41.0_2,1# cd /usr/ports/multimedia/mpv && make install clean# make -C /usr/ports/multimedia/mpv config # change options first
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 0.41.0_2,1 | 0.41.0_2,1 | – |
| FreeBSD 15 | 0.41.0_2,1 | 0.41.0_2,1 | – |
| FreeBSD 14 | 0.41.0_2,1 | 0.41.0_2,1 | 0.41.0_2,1 |
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 0.41.0_2,1 | 0.41.0_2,1 | – |
| FreeBSD 14 | 0.41.0_2,1 | 0.41.0_2,1 | 0.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.
pkg audit for the packaged version 0.41.0_2,1.| PR | Summary | Status | Changed |
|---|---|---|---|
| 295002 | maintainer-feedback? multimedia/mpv fails to build on 14.4-STABLE | New | 2026-05-04 |
multimedia/mpv: unbreak TEST=on after 1d89ec25be62 env: build/mpv: No such file or directory3702ec56be
multimedia/mpv: drop redundant stripping after 1d89ec25be62fc20d223a9
multimedia/mpv: enable LUAJIT by default PR: 267059 Inspired by: Archc1bd181bbe
graphics/libplacebo: update to 5.229.1 Changes: https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.0 Changes: https://code.videolan.org/videolan/libplacebo/-/tags/v5.229.1 Reported by: Repologyf23f6a9c6a
multimedia/mpv: convert to USES=meson after bc9f898a9c831d89ec25be
multimedia/mpv: update to 0.35.0 Changes: https://github.com/mpv-player/mpv/releases/tag/v0.35.0 PR: 267113 Reported by: GitHub (watch releases)bc9f898a9c
multimedia/mpv: fork 0.34 into a pinned porta04b58b02e
multimedia/mpv: move NVDEC under VO group after 38d34d4542e06142c83df4
multimedia/mpv: unbreak NVDEC=off after 38d34d4542e0 waf-light: error: no such option: --disable-ffnvcodec PR: 267423 Reported by: Oleh Hushchenkov3896cb6bf6
multimedia/mpv: enable NVDEC by default after 9db4ec993805 $ man mpv [...] NOTE: Most non-copy methods only work with the OpenGL GPU backend. Currently, only the vaapi, nvdec and cuda methods work with Vulkan. PR: 26402738d34d4542
multimedia/mpv: bump wayland-protocols version after 276b32c59a4b https://github.com/mpv-player/mpv/commit/6d2be8209403bec39404d2
multimedia/mpv: convert to USES=luajit (defaults to luajit-devel)04a5d2f65e
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
multimedia: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Aaron LI <aly@aaronly.me> * Alexander Botero-Lowry <alexbl@FreeBSD.org> * Alexander Logvinov <ports@logvinov.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Anders Nordby <anders@FreeBSD.org> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrew Thompson <andy@fud.org.nz> * Andrew Thompson <thompsa@FreeBSD.org> * Angel Carpintero <ack@telefonica.net> * Anish Mistry (with help from mean) * Anonymous <swell.k@gmail.com> * Ashish SHUKLA <ashish@FreeBSD.org> * Ashish Shukla <wahjava@gmail.com> * Ben Woods <woodsb02@FreeBSD.org> * Brian Somers <brian@FreeBSD.org> * Bruce M Simpson <bms@FreeBSD.org> * Byung-Hee HWANG <bh@izb.knu.ac.kr> * Charlie Kester <corky1951@comcast.net> * Chess Griffin <chess@chessgriffin.com> * Chris Piazza <cpiazza@FreeBSD.org> * Christopher Key <cjk32@cam.ac.uk> * Chuck Hein <chein@FreeBSD.org> & Jim Overholt <overholt@isdw.net> * Daniel Morante <daniel@morante.net> * Diego Depaoli <trebestie@gmail.com> and Yinghong Liu <relaxbsd@gmail.com> * Dierk Sacher <dierk@blaxxtarz.de> * Dreamcat4 <dreamcat4@gmail.com> * Earl Gay <earl@eeg3.net> * Ed Schouten <ed@FreeBSD.org> * Edwin Groothuis <edwin@mavetju.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Felix Palmen <felix@palmen-it.de> * Franz Bettag <franz@bett.ag> * FreeBSD GNOME Team <gnome@freebsd.org> * Gea-Suan Lin <gslin@gslin.org> * George Reid <greid@ukug.uk.freebsd.org> * Grzegorz Blach <gblach@FreeBSD.org> * Gustau Perez <gustau.perez@gmail.com> * Harold Gutch <logix@foobar.franken.de> * Heiner <h.eichmann@gmx.de> * Heiner Eichmann <h.eichmann@gmx.de> * Hendrik Scholz <hendrik@scholz.net> * Herbert J. Skuhra <h.skuhra@gmail.com> * Herve Quiroz <hq@FreeBSD.org> * Holger Lamm * J.R. Oldroyd <fbsd@opal.com> * Jason Harmening <jason.harmening@gmail.com> * Jille Timmermans (jille@quis.cx) * Juergen Lock <nox@FreeBSD.org> * Juergen Lock <nox@jelal.kn-bremen.de> * KalleDK <plexmaintainer@k-moeller.dk> * Koop Mast <kwm@FreeBSD.org> * Koop Mast <kwm@rainbow-runner.nl> * Kozlov Sergey <kozlov.sergey.404@gmail.com> * Kris Moore * Kuan-Chung Chiu <buganini@gmail.com> * Lars Eggert <lars.eggert@gmx.net> * Leinier Cruz Salfran <salfrancl@yahoo.es> * MANTANI Nobutaka <nobutaka@nobutaka.com> * Manuel Creach <manuel.creach@icloud.com> * Marc van Woerkom <3d@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Mark Felder <feld@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Martin Neubauer <m.ne@gmx.net> * Martin Wilke <miwi@FreeBSD.org> * Michael Johnson <ahze@FreeBSD.org> * Michael Johnson <ahze@ahze.net> * Michael Nottebrock <michaelnottebrock@gmx.net> * Michael Nottebrock <michaelnottebrock@gmx.net> et al * Mina Naguib <webmaster@topfx.com> * Mykola Dzham <i@levsha.me> * Naram Qashat <cyberbotx@cyberbotx.com> * Olivier Cochard-Labbe <olivier@FreeBSD.org> * Pascal Vizeli <pvizeli@yahoo.de> * Pav Lucistnik <pav@FreeBSD.org> * Pawel Pekala <pawel@FreeBSD.org> * Petar Zhivkov Petrov <pesho.petrov@gmail.com> * Phil Oleson * Phil Oleson <oz@nixil.net> * Piotr Kubaj <pkubaj@anongoth.pl> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Raaf <freebsd@luna.afraid.org> * Randall Hopper <aa8vb@nc.rr.com> * Rodrigo OSORIO <rodrigo@FreeBSD.org> * Rozhuk Ivan 2018 <rozhuk.im@gmail.com> * Rozhuk Ivan <rozhuk.im@gmail.com> * Rozhuk Ivan rozhuk.im@gmail.com * Rusmir Dusko <nemysis@FreeBSD.org> * Stacey Son <mythdev@son.org>, Ari Maniatis <ari@ish.com.au> * Steve Wills <steve@mouf.net> * Steve Wills <swills@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sylvio Cesar <sylvio@FreeBSD.org> * Thierry Thomas <thierry@pompo.net> * Thomas E. Zander * Thomas E. Zander with help from Vladimir Kushnir * Vladimir Kondratiev <wulf@mail.mipt.ru> * William Grzybowski <wg@FreeBSD.org> * William Grzybowski <william88@gmail.com> * Yi-Hsuan Hsin <mhsin@mhsin.org> * Zastupov Stepan [RedChrom] <redchrom@mail.ru> * adamw * alex * arved * erich@FreeBSD.org * freebsd-ports@evilcode.net * giffunip@asme.org * ijliao * kamikaze@bsdforen.de * michael johnson <ahze@ahze.net> * mikael.urankar@gmail.com * mm * nox@FreeBSD.org * osa * pb@FreeBSD.org * piero * se@FreeBSD.org * sumikawa With hat: portmgr63f36d3262
wayland: add more mostly leaf ports to virtual category Caveats: - emulators/rpcs3: install qt5-wayland and ensure Renderer is Vulkan (default) - mail/thunderbird: add MOZ_ENABLE_WAYLAND=1 via environ(7) - www/chromium: add --ozone-platform=wayland on command line - www/firefox-esr: add MOZ_ENABLE_WAYLAND=1 via environ(7) - www/firefox: add MOZ_ENABLE_WAYLAND=1 via environ(7)2948687622
graphics/libplacebo: update to 4.208.0.r1 Changes: https://code.videolan.org/videolan/libplacebo/-/tags/v4.208.0-rc1 Reported by: Repology79eb4736ee
multimedia/mpv: backport --ao=pipewire supporta8fab8aecf
graphics/libplacebo: update to 4.192.0.r1 Changes: https://code.videolan.org/videolan/libplacebo/-/tags/v4.192.0-rc1ed6dfa7816
multimedia/mpv: update to 0.34.1 Changes: https://github.com/mpv-player/mpv/releases/tag/v0.34.1 Reported by: GitHub (watch releases)9184ee4eb1
multimedia/mpv: restore SNDIO (--ao=sndio) after 0cee9d1b218a Requested by: Brad Smith <brad@comstyle.com>a6e090a8c9
multimedia/mpv: fix lua option handling mpv supports - no lua - luajit - lua51-52 The new options added support to select between these. - LUA_NONE - LUAJIT (previous OFF by default) - LUA (previously on when LUAJIT=OFF) So the default remains to use lang/lua5[12]. PR: 259598cd43b2526f
Ports that depend on youtube-dl: Depend on yt-dlp yt-dlp [1] is a youtube-dl fork with additional features and fixes. For ports that depend on www/youtube-dl switch the dependency to www/yt-dlp. For ports that have an optional dependency on www/youtube-dl, create a new OPTIONS_RADIO that includes www/yt-dlp and make it the default. [1] https://github.com/yt-dlp/yt-dlp Other changes: - www/yt-dlp: Turn the symlink option on by default - www/py-pafy: Fix build when depending on www/yt-dlp PR: 259944 Reported by: Oleh Vinichenko <moonlapse81@gmail.com> Reviewed by: diizzy, Oleh Vinichenko <moonlapse81@gmail.com>, VVD <vvd@unislabs.com> Approved by: 0mp, adridg (kde@), rm, tcberner (multimedia@), yuri (maintainers) acm and nivit (maintainers, timeout) Differential Revision: https://reviews.freebsd.org/D3309080e4e8275e
multimedia/mpv: fix build with LUAJIT=OFF (+) Limit allowed Lua versions to 5.1/5.2, MPV cannot use lua53+ yet Approved by: portmgr blanket (trivial fix build) Sponsored by: Netzkommune GmbHfe7520295b
multimedia/mpv: backport --hwdec=vaapi for --gpu-context=displayvk Not to be confused with --hwdec=vaapi-copy which worked before but has poor performance.131fe7f950
multimedia/mpv: update to 0.34.0 Changes: https://github.com/mpv-player/mpv/releases/tag/v0.34.0 Reported by: GitHub (watch releases)cbdbb5e2b0
INSTALLS_ICONS: retire the macro and rework the related dependencies While here, make sure gtk-update-icon-cache is only on run dependency where added as a dependency Enforce gtk3 to depend on gtk-update-icon-cache (previously it was inheriting the dependency)2c672a4de9
multimedia/mpv: prefer yt-dlp by default if installed9f46e7fe9b
graphics/libplacebo: update to 4.157.0.r1 Changes: https://code.videolan.org/videolan/libplacebo/-/tags/4.157.0-rc1 Reported by: Repology4648f2176e
multimedia/mpv: Add CPE information Approved by: portmgr (blanket)d219d5e8b8
audio/jack: Update to Jack2: 0.125.0 -> 1.9.16 Big thank you to Florian Walpen <dev@submerge.ch> and Goran Mekić <meka@tilda.center> for working on Jack2. PR: 251125 Submitted by: Florian Walpen <dev@submerge.ch> (original version)5708ae4005
multimedia/mpv: unbreak fetch via local copy Index abbreviation in git-format-patch(1) output seems to change frequently, probably due to GitHub load balancing. $ make checksum TRYBROKEN= MASTER_SITE_BACKUP= DISTDIR=$(mktemp -dt distfiles) [...] => 62fb374349e0.patch doesn't seem to exist in /tmp/distfiles.kipot6aT/. => Attempting to fetch https://github.com/mpv-player/mpv/commit/62fb374349e0.patch fetch: https://github.com/mpv-player/mpv/commit/62fb374349e0.patch: size mismatch: expected 2083, actual 2079 => Couldn't fetch it - please try to retrieve this => port manually into /tmp/distfiles.kipot6aT/ and try again. *** Error code 1 Reported by: LuMiWa (via multimedia@ list)35c4b7b175
multimedia/mpv: backport --gpu-context=drm on console by default904cfd8fad
multimedia/mpv: unbreak fetch due to repo growth $ make checksum TRYBROKEN= MASTER_SITE_BACKUP= DISTDIR=$(mktemp -dt distfiles) [...] => 1bb2665e3d09.patch doesn't seem to exist in /tmp/distfiles.iVgzzfBs/. => Attempting to fetch https://github.com/mpv-player/mpv/commit/1bb2665e3d09.patch fetch: https://github.com/mpv-player/mpv/commit/1bb2665e3d09.patch: size mismatch: expected 2337, actual 2341 => Couldn't fetch it - please try to retrieve this => port manually into /tmp/distfiles.iVgzzfBs/ and try again. *** Error code 1 -index 833fbddb1b..4a1ffd4579 100644 +index 833fbddb1bd..4a1ffd45798 100644 -index 8318c5190c..a1fb04bd59 100644 +index 8318c5190c5..a1fb04bd592 100644 -index 4a1ffd4579..2802ce914c 100644 +index 4a1ffd45798..2802ce914ca 100644 -index a1fb04bd59..dff20f716d 100644 +index a1fb04bd592..dff20f716d6 100644 -index 2802ce914c..265787e73a 100644 +index 2802ce914ca..265787e73a9 100644 -index dff20f716d..df0c05e139 100644 +index dff20f716d6..df0c05e139e 100644 -index df0c05e139..3365daa48a 100644 +index df0c05e139e..3365daa48a5 100644 -index 3365daa48a..46c289dafe 100644 +index 3365daa48a5..46c289dafe3 100644 -index 46c289dafe..f4ba8db7c7 100644 +index 46c289dafe3..f4ba8db7c7c 100644 -index d70286647f..1c0b9e146b 100644 +index d70286647fc..1c0b9e146be 100644 -index 52a38b63be..7c347cb138 100644 +index 52a38b63be2..7c347cb1380 100644 -index 0000000000..11b182e52d +index 00000000000..11b182e52d9 -index 0ced76244a..e9f4d53002 100644 +index 0ced76244a0..e9f4d53002c 100644 -index 14c254e1ec..a12cbf19e1 100644 +index 14c254e1ec9..a12cbf19e17 100644 -index 706c952604..5545b3378d 100644 +index 706c9526046..5545b3378d5 100644 -index f8df590511..8244acff26 100644 +index f8df590511d..8244acff261 100644 PR: 257239 Reported by: Oleh Vinichenko79fa908f4a
graphics/mesa-libs: Bump reverse deps for libglvnd Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824da3162c7c9
multimedia/mpv: backport --gpu-context=displayvk
Similar to vkcube-display and --gpu-context=drm (OpenGL). For example,
$ mpv --vo=gpu --gpu-api=vulkan --gpu-context=displayvk --vulkan-display-plane=2 /path/to/video
I tested on the following configuration (consult --vulkan-display-* in the manpage)
$ mpv --vulkan-display-plane=help
Vulkan Devices:
'Intel(R) HD Graphics 530 (SKL GT2)' (GPU ID 8086:1912)
Display 0: 'monitor' (3840x2160)
Modes:
Mode 00: 3840x2160 (60.000 Hz)
Mode 01: 3840x2160 (30.000 Hz)
Mode 02: 1920x1080 (60.000 Hz)
Mode 03: 1920x1080 (59.940 Hz)
Mode 04: 1600x900 (60.000 Hz)
Mode 05: 1280x1024 (60.020 Hz)
Mode 06: 1280x800 (59.810 Hz)
Mode 07: 1152x864 (59.972 Hz)
Mode 08: 1280x720 (60.000 Hz)
Mode 09: 1280x720 (59.940 Hz)
Mode 10: 1024x768 (60.004 Hz)
Mode 11: 800x600 (60.317 Hz)
Mode 12: 720x480 (60.000 Hz)
Mode 13: 720x480 (59.940 Hz)
Mode 14: 640x480 (60.000 Hz)
Mode 15: 640x480 (59.940 Hz)
Planes:
Plane: 2c8863005f6multimedia/mpv: backport VULKAN+VAAPI fix for Intel Regressed by cc87022694a6 update but the fix only helps mesa-devel. $ mpv --hwdec=vaapi --gpu-api=vulkan /path/to/file [...] [vo/gpu/vulkan/libplacebo] vk->CreateImage(vk->dev, &iinfo, PL_VK_ALLOC, &tex_vk->img): VK_ERROR_OUT_OF_DEVICE_MEMORY (../src/vulkan/gpu.c:1185) [vo/gpu/vulkan/libplacebo] vk->CreateImage(vk->dev, &iinfo, PL_VK_ALLOC, &tex_vk->img): VK_ERROR_OUT_OF_DEVICE_MEMORY (../src/vulkan/gpu.c:1185) [vo/gpu/vulkan/libplacebo] vk->CreateImage(vk->dev, &iinfo, PL_VK_ALLOC, &tex_vk->img): VK_ERROR_OUT_OF_DEVICE_MEMORY (../src/vulkan/gpu.c:1185) [vo/gpu/vulkan/libplacebo] vk->CreateImage(vk->dev, &iinfo, PL_VK_ALLOC, &tex_vk->img): VK_ERROR_OUT_OF_DEVICE_MEMORY (../src/vulkan/gpu.c:1185) Using hardware decoding (vaapi). VO: [gpu] 1920x1080 vaapi[nv12] [vo/gpu/vaapi-egl] unsupported VA image format nv12 [vo/gpu] Initializing texture for hardware decoding failed. [...]fbaf96a60f
multimedia/libdvd{read,nav}: Update to latest version
Update libdvdread to 6.1.2, changelog:
https://code.videolan.org/videolan/libdvdread/-/blob/master/NEWS
Update libdvdnav to 6.1.1, changelog:
https://code.videolan.org/videolan/libdvdnav/-/blob/master/ChangeLog
and bump dependent ports' revisions.d8503c0c20multimedia/mpv: Allow building with wayland without x11. PR: 254009 Reported by: evgeniy@khramtsov.org993475fe42
Remove # $FreeBSD$ from Makefiles.305f148f48
multimedia/mpv: update to 0.33.1 Changes: https://github.com/mpv-player/mpv/releases/tag/v0.33.1 Reported by: GitHub (watch releases)4cc8ae097f
graphics/libplacebo: update to 3.120.0 Changes: https://code.videolan.org/videolan/libplacebo/-/tags/v3.120.0 Reported by: Repologycc87022694
multimedia/mpv: update --ao=oss Changes: https://github.com/mpv-player/mpv/compare/322778f211a5..51d824129d1a0e4a56f872
Remove redundant option descriptions that match the default ones (ignoring case) Reported by: danfe (for net/mosquitto), portscanf2499eec5a
multimedia/mpv: add option for javascript - Add an option for JS support via lang/mujs - Make it default off for now PR: 252955 Submitted by: Henry Hu <henry.hu.sh@gmail.com>27c0edee43
graphics/libplacebo: update to 3.104.0 Changes: https://code.videolan.org/videolan/libplacebo/-/tags/v3.104.0 Reported by: Repology56ac3994ec
devel/vulkan-*: move to graphics/ where vulkan-loader is Vulkan isn't used for generic compute workloads unlike OpenCL. For example, waifu2x-ncnn-vulkan is still graphics-related.8d2b2a2768
multimedia/mpv: update --ao=oss Changes: https://github.com/mpv-player/mpv/compare/62e566dbcd8f..322778f211a505397c3fe2
multimedia/mpv: update --ao=oss Changes: https://github.com/mpv-player/mpv/compare/d902a7bfd7c4..62e566dbcd8f5e5e4dd59c
multimedia/mpv: update --ao=oss and --vo=sixel Changes: https://github.com/mpv-player/mpv/compare/f65c9f85d116..d902a7bfd7c4 Changes: https://github.com/mpv-player/mpv/compare/8886f017a150...4d80314c5c88fda6a2f2ec