
{"id":44764,"date":"2023-11-22T16:06:47","date_gmt":"2023-11-22T16:06:47","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44764"},"modified":"2023-11-22T16:06:47","modified_gmt":"2023-11-22T16:06:47","slug":"mpv-0-37-0-released-ubuntu-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/11\/mpv-0-37-0-released-ubuntu-ppa\/","title":{"rendered":"MPV 0.37.0 Released with VideoToolbox hwdec (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 media player released version 0.37.0 yesterday! Here are the new features and Ubuntu PPA for installing the .deb package in Ubuntu, Linux Mint.<\/p>\n<p>MPV 0.37.0 has big improvements for Apple users. It <b>added Vulkan support<\/b> in vo_gpu and vo_gnu_next. And, it now supports <b>VideoToolbox<\/b> hardware decoding, a low-level framework that provides direct access to hardware encoders and decoders.<\/p>\n<p>The release also added support for delivery system ISDB-T for dvb streaming, support SPDIF passthrough for OSS audio, and can play up to 64 channels.<\/p>\n<p>For libmpv library, the release added new <code>mpv_time_ns()<\/code> to allow more precise time based on nanoseconds.<\/p>\n<p>For command line, MPV 0.37.0 added new options, they include:<\/p>\n<ul>\n<li><code>--hdr-peak-percentile<\/code> and <code>--libplacebo-opts<\/code> for vo_gpu_next.<\/li>\n<li><code>--term-remaining-playtime<\/code> for player.<\/li>\n<li><code>--x11-wid-title<\/code> for x11.<\/li>\n<li><code>--subs-match-os-language<\/code> to replace &#8216;auto&#8217; option for player.<\/li>\n<li><code>--video-crop<\/code> for vo.<\/li>\n<li><code>--window-corners<\/code>, <code>--window-affinity<\/code>, <code>--title-bar<\/code>, <code>--backdrop-type<\/code> for win32.<\/li>\n<li>and <code>--sub-stretch-durations<\/code> for sub.<\/li>\n<\/ul>\n<p>See the <a href=\"https:\/\/mpv.io\/manual\/stable\/\" target=\"_blank\" rel=\"noopener\">official manual<\/a> about the new command options. And, see the <a href=\"https:\/\/github.com\/mpv-player\/mpv\/releases\" target=\"_blank\" rel=\"noopener\">github release page<\/a> for more changes about MPV 0.37.0.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/mpv-037-playback.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44766\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/mpv-037-playback-600x342.webp\" alt=\"\" width=\"600\" height=\"342\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/mpv-037-playback-600x342.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/mpv-037-playback-300x171.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/mpv-037-playback-768x437.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/mpv-037-playback-1320x751.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/mpv-037-playback.webp 1349w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>How to Install MPV 0.37 in Ubuntu<\/h3>\n<p>The new release will be available in Ubuntu Software (App Center) in next few days as Snap package.<\/p>\n<p>For those who prefer the classic <code>.deb<\/code> package format, here&#8217;s the PPA for Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.<\/p>\n<p>1. Firstly, press <b>Ctrl+Alt+T<\/b> on keyboard to open a terminal window. When it opens, paste the command below and hit run:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/mpv<\/pre>\n<p><i>Type user password (no asterisk feedback) when it asks and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44182\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2. Linux Mint 21 user needs to run command in terminal to manually refresh the package cache:<\/p>\n<pre>sudo apt update<\/pre>\n<p>3. Finally, install mpv media player v0.37.0 by running command:<\/p>\n<pre>sudo apt install mpv<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44183\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-600x253.webp\" alt=\"\" width=\"600\" height=\"253\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-600x253.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-300x127.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-768x324.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>To verify, run <code>mpv --version<\/code> command in terminal.<\/p>\n<p>&nbsp;<\/p>\n<p>Tips: for hardware video acceleration, first make sure your graphics driver support it, then edit &#8216;<code>\/etc\/mpv\/mpv.conf<\/code>&#8216; file and add <b>hwdec=auto<\/b>. For the missing header-bar, use <code>gpu-context=x11egl<\/code>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44185\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-600x384.webp\" alt=\"\" width=\"600\" height=\"384\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-600x384.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-300x192.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-768x492.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec.webp 895w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Uninstall:<\/h3>\n<p>You can choose to purge the PPA repository, which will also downgrade mpv to the stock version in system repository. To do so, open terminal and run command:<\/p>\n<pre>sudo apt install ppa-purge &amp;&amp; sudo ppa-purge ppa:ubuntuhandbook1\/mpv<\/pre>\n<p>Or, remove PPA by running command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/mpv<\/pre>\n<p>To remove the mpv media player, use command:<\/p>\n<pre>sudo apt remove --autoremove mpv<\/pre>","protected":false},"excerpt":{"rendered":"<p>MPV media player released version 0.37.0 yesterday! Here are the new features and Ubuntu PPA for installing the .deb package in Ubuntu, Linux Mint. MPV 0.37.0 has big improvements for Apple users. It added Vulkan support in vo_gpu and vo_gnu_next. And, it now supports VideoToolbox hardware decoding, a low-level framework that provides direct access to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-44764","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44764","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=44764"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44764\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}