{"id":47306,"date":"2024-09-29T15:42:08","date_gmt":"2024-09-29T15:42:08","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=47306"},"modified":"2024-09-29T15:42:08","modified_gmt":"2024-09-29T15:42:08","slug":"mpv-0-39-0-multi-touch-nvidia-intel-vsr-scaling","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/09\/mpv-0-39-0-multi-touch-nvidia-intel-vsr-scaling\/","title":{"rendered":"MPV 0.39.0 Added Multi-touch, NVIDIA &#038; Intel VSR Scaling Support"},"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 Linux media player, released version 0.39.0 last week. Here are the new features and Ubuntu PPA for Ubuntu 22.04 and Ubuntu 24.04 users.<\/p>\n<p>The new MPV 0.39.0 introduced <b>Video Super Resolution\u00a0scaling<\/b> support with Intel and NVIDIA RTX GPUs. It&#8217;s a technology that can use your GPU to upscale low resolution video to higher resolutions. For AMD GPUs, the feature will be integrated into the FFmpeg library.<\/p>\n<p>According to the official release note, the feature is implemented through the <code>d3d11va<\/code> filter, meaning that it&#8217;s Windows only. To enable it, either use <code>vf set d3d11vpp=scale=nvidia:scale-target<\/code> in your mpv.conf file or see the <a href=\"https:\/\/mpv.io\/manual\/stable\/#video-filters-d3d11vpp\" target=\"_blank\" rel=\"noopener\">official documentation<\/a> for the command line options.<\/p>\n<div id=\"attachment_46803\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-46803\" class=\"size-large wp-image-46803\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-649x700.webp\" alt=\"\" width=\"610\" height=\"658\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-649x700.webp 649w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-278x300.webp 278w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-768x828.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header.webp 856w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-46803\" class=\"wp-caption-text\">MPV media player<\/p><\/div>\n<p><!--more--><\/p>\n<p>The new release also introduced <b>multi-touch<\/b> support for Windows and Linux on Wayland. For Windows, <code>--native-touch<\/code> is required to be set to <code>yes<\/code> for multi-touch. And with the feature enabled, <code>--input-touch-emulate-mouse<\/code> (default yes) is available to control whether to emulate mouse move and button presses for the touch events.<\/p>\n<p>MPV 0.39.0 also added new <code>--autocreate-playlist<\/code> option as a native replacement for autoload.lua script. When opening a local file, it automatically creates a playlist from the parent directory with files matching, either <code>--directory-filter-types<\/code> or the same category as the currently loaded file.<\/p>\n<p>There&#8217;s also a new select.lua script, allowing users to easily choose files from playlists, tracks, chapters, output devices, and more.<\/p>\n<p>Other changes in <a href=\"https:\/\/github.com\/mpv-player\/mpv\/releases\" target=\"_blank\" rel=\"noopener\">the new release<\/a> include:<\/p>\n<ul>\n<li>Media controls support for Windows.<\/li>\n<li>A new fifth page added to stats.lua.<\/li>\n<li>Significant improvements on dmabuf-wayland compatibility.<\/li>\n<li>Allow changing GPU API options at runtime<\/li>\n<li>Add support for ITU T.35 metadata in Matroska<\/li>\n<li>Support VVC Matroska demux.<\/li>\n<li>New options\/commands, including:\n<ul>\n<li><code>--sub-ass-video-aspect-override<\/code><\/li>\n<li>KP_ADD\/SUBTRACT\/MULTIPLY\/DIVIDE keycodes<\/li>\n<li><code>--video-exts<\/code>, <code>--audio-exts<\/code>, <code>--image-exts<\/code>.<\/li>\n<li><code>--osd-playlist-entry<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>How to Install MPV 0.39.0:<\/h3>\n<p>The <a href=\"https:\/\/mpv.io\/installation\/\" target=\"_blank\" rel=\"noopener\">mpv website<\/a> provides the links to binary packages for Windows, Linux, and MacOS.<\/p>\n<p>For Ubuntu, it refers to the Fruit&#8217;s APT repository, which now only builds <code>.deb<\/code> packages for Debian users. As workarounds, user can choose to install the Snap package from App Center (or Ubuntu Software), though it&#8217;s still at v0.38.0 at the moment of writing.<\/p>\n<p>For choice, you may install the <a href=\"https:\/\/flathub.org\/apps\/io.mpv.Mpv\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a> which runs in sandbox environment. Or, use this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/mpv\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> so far supports Ubuntu 22.04 and Ubuntu 24.04, and beginners can see this <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2023\/07\/install-mpv-0-36-ubuntu-ppa\/\" rel=\"noopener\" target=\"_blank\">step by step guide<\/a> to add PPA &#038; install the package.<\/p>","protected":false},"excerpt":{"rendered":"<p>MPV, the popular free open-source Linux media player, released version 0.39.0 last week. Here are the new features and Ubuntu PPA for Ubuntu 22.04 and Ubuntu 24.04 users. The new MPV 0.39.0 introduced Video Super Resolution\u00a0scaling support with Intel and NVIDIA RTX GPUs. It&#8217;s a technology that can use your GPU to upscale low resolution [&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-47306","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\/47306","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=47306"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47306\/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=47306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=47306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=47306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}