MPV 0.37.0 Released with VideoToolbox hwdec (Ubuntu PPA)

Last updated: November 22, 2023 — 5 Comments

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 hardware encoders and decoders.

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.

For libmpv library, the release added new mpv_time_ns() to allow more precise time based on nanoseconds.

For command line, MPV 0.37.0 added new options, they include:

  • --hdr-peak-percentile and --libplacebo-opts for vo_gpu_next.
  • --term-remaining-playtime for player.
  • --x11-wid-title for x11.
  • --subs-match-os-language to replace ‘auto’ option for player.
  • --video-crop for vo.
  • --window-corners, --window-affinity, --title-bar, --backdrop-type for win32.
  • and --sub-stretch-durations for sub.

See the official manual about the new command options. And, see the github release page for more changes about MPV 0.37.0.

How to Install MPV 0.37 in Ubuntu

The new release will be available in Ubuntu Software (App Center) in next few days as Snap package.

For those who prefer the classic .deb package format, here’s the PPA for Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.

1. Firstly, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, paste the command below and hit run:

sudo add-apt-repository ppa:ubuntuhandbook1/mpv

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Linux Mint 21 user needs to run command in terminal to manually refresh the package cache:

sudo apt update

3. Finally, install mpv media player v0.37.0 by running command:

sudo apt install mpv

To verify, run mpv --version command in terminal.

 

Tips: for hardware video acceleration, first make sure your graphics driver support it, then edit ‘/etc/mpv/mpv.conf‘ file and add hwdec=auto. For the missing header-bar, use gpu-context=x11egl.

Uninstall:

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:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/mpv

Or, remove PPA by running command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/mpv

To remove the mpv media player, use command:

sudo apt remove --autoremove mpv

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

5 responses to MPV 0.37.0 Released with VideoToolbox hwdec (Ubuntu PPA)

  1. Installed the new mpv version.
    Actually it was not version 0.37 but 0.36.
    Warning! It interfered with SM Player.
    When paused it could not be started again
    and remained on pause.
    After removing it smplayer was back to normal.
    Do not use this PPA; stick to the stock version 0.34

    • Someone reported similar issue HERE. Updated: fixed by SMPlayer 23.12

      • But why version 0.36 in ppa and not newest 0.37?

        • Did I mess up something? It’s v0.37 in my tests in Ubuntu 22.04 & 23.10, though I don’t have 23.04.

          For Ubuntu 20.04, it’s stuck at version 0.36, due to new libplacebo338 requirement.

          Could you report a bit more info, such as your system edition, and mpv --version output.

          • i meant why don aario checking 0.36 old version and not new 0.37 in ppa.

            mpv show correct version for me

            mpv 0.37.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
            libplacebo version: v6.338.1
            FFmpeg version: 4.4.2-0ubuntu0.22.04.1
            FFmpeg library versions:
            libavutil 56.70.100
            libavcodec 58.134.100
            libavformat 58.76.100
            libswscale 5.9.100
            libavfilter 7.110.100
            libswresample 3.9.100

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*