Pros
- Supports Dolby Vision Profiles 5 and 8
- Supports HDR10
- Provides acceptable SD scaling quality
- Hardware decodes AVC High 10
Note: This script can be easily adapted or reduced to extract different metadata entries by modifying the findstr lines to match the desired fields.
The metadata is saved in a text file named output.txt.
| #!/usr/bin/env bash | |
| # Builds mpv & mpv.app on Apple silicon Macs. | |
| # Run this script from the root directory of the mpv repo. | |
| # if anything fails, gtfo | |
| set -ex | |
| meson setup build | |
| meson compile -C build |
| # MacOS Version 1.2 | |
| # 08/14/2025 | |
| # Requires MPV v0.38.0 or newer | |
| ############################################################################################################################################### | |
| # Player GUI Options | |
| ############################################################################################################################################### |
| @echo off | |
| net session >nul 2>&1 | |
| if %errorlevel% neq 0 ( | |
| powershell -Command "Start-Process '%~f0' -Verb RunAs" | |
| exit /b | |
| ) | |
| title SoM MPV Builder |
| Moved to https://github.com/JySzE/SoM-MPV-Config |