{"id":50263,"date":"2025-12-22T16:38:51","date_gmt":"2025-12-22T16:38:51","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=50263"},"modified":"2025-12-24T13:35:49","modified_gmt":"2025-12-24T13:35:49","slug":"mpv-0-41-0-improved-wayland","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/12\/mpv-0-41-0-improved-wayland\/","title":{"rendered":"MPV 0.41.0 Released with Improved Wayland Support (PPA Updated)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-40459\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>MPV, the popular command line media player, released new version 0.41.0 yesterday.<\/p>\n<p>The new release of this free open-source media player greatly improved the Wayland support for Linux users. It added support for the <code>color-management-v1<\/code> and <code>wp-color-representation-v1<\/code> protocols helping ensure accurate color display for High Dynamic Range (HDR) content.<br \/>\n<!--more--><\/p>\n<p>As well, it added <i>tablet input<\/i> and <i>clipboard writing<\/i> support for users on GNOME, KDE, etc desktop environments with wayland session.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50264\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-mas-700x429.webp\" alt=\"\" width=\"610\" height=\"374\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-mas-700x429.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-mas-300x184.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-mas-768x471.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-mas.webp 988w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>The 0.41.0 version now uses the libplacebo based <b><code>gpu-next<\/code> as default video output renderer<\/b> instead of the previous <code>gpu<\/code>, which features overall performance improvements and better HDR and Wayland support.<\/p>\n<p>It improved <code>gpu-next<\/code> with <code>blend-subtitles=video<\/code> option to force blend subtitles at the video&#8217;s native resolution, rather than the window or screen resolution.<\/p>\n<p>And, it added options for the new default renderer to define the diffuse white and control subtitle peak for HDR output, and fill empty border areas with a blurred version of the video itself. It can as well respect ICC profile color space over any metadata, limit min_luma to 1000:1 contrast ratio in SDR mode, and control output colorspace metadata more precisely.<\/p>\n<div id=\"attachment_50265\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-50265\" class=\"size-large wp-image-50265\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-gpunext-700x456.webp\" alt=\"\" width=\"610\" height=\"397\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-gpunext-700x456.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-gpunext-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-gpunext-768x500.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/12\/mpv-gpunext.webp 800w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-50265\" class=\"wp-caption-text\">MPV 0.41.0 uses gpu-next by default<\/p><\/div>\n<p>There are also new <code>--sub-glyph-limit<\/code> and <code>--sub-bitmap-max-size<\/code> libass caching options for the subtitle track, <code>--hwdec-threads<\/code> to set number of threads used for hardware decoding, and <code>--bluray-angle<\/code> to tell mpv which angle to use for Blu-ray discs contain scenes that can be viewed from multiple angles.<\/p>\n<p>Other changes include:<\/p>\n<ul>\n<li>Prefer vulkan hardware decoding over other APIs.<\/li>\n<li>New context_menu.lua script for right-click context menus.<\/li>\n<li>Ambient light support on Linux.<\/li>\n<li>Add x11 clipboard backend.<\/li>\n<li>Add d3d11 composition mode support for Windows.<\/li>\n<li>Add built-in helpers to register mpv as a media app on Windows.<\/li>\n<li><code>--sub-fix-timing<\/code> to remove minor gaps or overlaps between subtitles.<\/li>\n<li>Add default and forced flags to the track add commands.<\/li>\n<li>Add options to control background tile appearance.<\/li>\n<\/ul>\n<p>MPV 0.41.0 also includes many other improvements and numerous bug-fixes. See the <a href=\"https:\/\/github.com\/mpv-player\/mpv\/releases\" target=\"_blank\" rel=\"noopener\">Github releases<\/a> page for details.<\/p>\n<h3>How to Install MPV 0.41.0 in Ubuntu<\/h3>\n<p>MPV does not provide official installer packages, but has a list of <a href=\"https:\/\/mpv.io\/installation\/\" target=\"_blank\" rel=\"noopener\">third-party builds<\/a> for Windows, Linux, and macOS in its website.<\/p>\n<p>For Linux, besides building from the source, you may keep an eye on the community maintained <a href=\"https:\/\/flathub.org\/en\/apps\/io.mpv.Mpv\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a> and <a href=\"https:\/\/snapcraft.io\/mpv\" target=\"_blank\" rel=\"noopener\">Snap package<\/a>, though they are not updated at the moment of writing.<\/p>\n<p>For Ubuntu and Linux Mint users who prefer native <code>.deb<\/code> package, I&#8217;ve built mpv 0.41.0 into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/mpv\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> for Ubuntu 22.04, Ubuntu 24.04, Ubuntu 25.04 and 25.10.<\/p>\n<p>To add the PPA and install MPV, run commands below in terminal (Ctrl+Alt+T) one by one:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/mpv\r\nsudo apt update\r\nsudo apt install mpv<\/pre>\n<p><b>NOTE for Ubuntu 22.04, the system wayland version is outdated that does not match the minimum requirement. The mpv 0.41.0 package in PPA for 22.04 was built with Wayland feature disabled.<\/b><\/p>","protected":false},"excerpt":{"rendered":"<p>MPV, the popular command line media player, released new version 0.41.0 yesterday. The new release of this free open-source media player greatly improved the Wayland support for Linux users. It added support for the color-management-v1 and wp-color-representation-v1 protocols helping ensure accurate color display for High Dynamic Range (HDR) content.<\/p>\n","protected":false},"author":1,"featured_media":40459,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1232,1282],"class_list":["post-50263","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-mpv","tag-video"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=50263"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50263\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/40459"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=50263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=50263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=50263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}