{"id":48505,"date":"2025-03-26T16:14:06","date_gmt":"2025-03-26T16:14:06","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=48505"},"modified":"2025-03-27T06:11:26","modified_gmt":"2025-03-27T06:11:26","slug":"mpv-0-40-0-released-ubuntu-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/03\/mpv-0-40-0-released-ubuntu-ppa\/","title":{"rendered":"MPV 0.40.0 Released with NVIDIA RTX HDR Support [Ubuntu PPA]"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo.webp\"><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\" \/><\/a><\/p>\n<p>MPV, the popular free open-source media player, released new 0.40.0 version after half an year of development.<\/p>\n<p>The new MPV release added NVIDIA RTX Video HDR support, which can be enabled by using <code>--vf=d3d11vpp=nvidia-true-hdr<\/code> option. And, HDR is now natively supported when using direct rendering (DRM) and dmabuf-wayland on Linux.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/gemini-nvidia-rtx.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48506\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/gemini-nvidia-rtx-700x425.webp\" alt=\"\" width=\"610\" height=\"370\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/gemini-nvidia-rtx-700x425.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/gemini-nvidia-rtx-300x182.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/gemini-nvidia-rtx-768x467.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/gemini-nvidia-rtx.webp 1200w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>The release added new <code>clipboard<\/code> property with native backends for Windows, macOS, and Linux on Wayland, allowing for native clipboard access, which is useful for scripting.<\/p>\n<p>The on-screen control now offers right-click menu options. User can now right-click on play\/pause button to choose whether loop current playback or not, and right-click on volume icon to select audio device.<\/p>\n<div id=\"attachment_48507\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/mpv-newrightclick-menu.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-48507\" class=\"size-large wp-image-48507\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/mpv-newrightclick-menu-700x418.webp\" alt=\"\" width=\"610\" height=\"364\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/mpv-newrightclick-menu-700x418.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/mpv-newrightclick-menu-300x179.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/mpv-newrightclick-menu-768x459.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/mpv-newrightclick-menu-1320x789.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/03\/mpv-newrightclick-menu.webp 1441w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-48507\" class=\"wp-caption-text\">Right-click on volume icon to choose audio device<\/p><\/div>\n<p>MPV 0.40.0 also introduced <code>mpv:\/\/<\/code> protocol, which can be used to start mpv from web browser or anything that would trigger url handler for given protocol.<\/p>\n<p>Other changes include Windows support in umpv helper script, support for HDR metadata, as well as:<\/p>\n<ul>\n<li>Add select.lua options for watching history, edition, DVD\/Blu-Ray titles.<\/li>\n<li>New positioning.lua script for cursor-centric zooming and drag to pan<\/li>\n<li>Support for wp-color-management-v1 protocol and support xdg-activation on Wayland.<\/li>\n<li>Update console.lua with persistent command history<\/li>\n<li>New <code>--playlist-exts<\/code> and <code>--archive-exts<\/code><\/li>\n<li>And more. See the <a href=\"https:\/\/github.com\/mpv-player\/mpv\/releases\/tag\/v0.40.0\" target=\"_blank\" rel=\"noopener\">github releases<\/a> page for details.<\/li>\n<\/ul>\n<h3>How to Install MPV 0.40<\/h3>\n<p>MPV does not provide official packages. It however offers links to the source code, and unofficial Windows, macOS, and Linux packages in its website via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/mpv.io\/installation\/\" target=\"_blank\" rel=\"noreferrer noopener\">MPV Installation<\/a><\/div>\n<\/div>\n<p>For Ubuntu 22.04 (without libmpv), Ubuntu 24.04, and Ubuntu 24.10, I&#8217;ve built the new release package into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/mpv\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> with <code>amd64<\/code> (AMD\/Intel) and <code>arm64\/armhf<\/code> (e.g., RasPi) platforms support.<\/p>\n<p>To add the PPA and install mpv 0.40 from it, open terminal (Ctrl+Alt+T) and run commands below one by one:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/mpv<\/pre>\n<pre>sudo apt update<\/pre>\n<pre>sudo apt install mpv<\/pre>\n<p>(Optionally) you may remove the PPA by using command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/mpv<\/pre>\n<p>And remove the mpv package if you want via command:<\/p>\n<pre>sudo apt remove --autoremove mpv<\/pre>","protected":false},"excerpt":{"rendered":"<p>MPV, the popular free open-source media player, released new 0.40.0 version after half an year of development. The new MPV release added NVIDIA RTX Video HDR support, which can be enabled by using &#8211;vf=d3d11vpp=nvidia-true-hdr option. And, HDR is now natively supported when using direct rendering (DRM) and dmabuf-wayland on Linux. The release added new clipboard [&hellip;]<\/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":[614,1232],"class_list":["post-48505","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-media-player","tag-mpv"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48505","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=48505"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48505\/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=48505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=48505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=48505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}