Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

hl2guide/better-mpv-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

better-mpv-config

  • Version: 1.1.00
  • Last Updated (AEST): 2023-05-23 11:26:27PM
  • Target Platform: Windows 11 (not tested on Apple or Linux at all)
  • Test PC: Old Quad Core Desktop
    • CPU: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
    • RAM: 32.0 GB (31.9 GB usable)
    • GPU: NVidia GeForce GTX 1060 6GB (Gigabyte)
    • OS: Windows 11 Pro 22H2 (unsupported hardware)

What's New

Version 1.1.10 [UNLRELEASED]

  • Will fix upscaler shaders to only apply to videos lower that 1080p

In the meantime please add this code to mpv_shaders.conf:

[upscale-lowres-using-GPU-shaders]
profile-desc=Upscales low resolution videos using GPU upscaling shaders.
profile-cond=height < 1080

above the line:

# Adaptive-directional sharpening algorithm shaders.

Version 1.1.00 (May 23, 2023)

  • Added shaders
    • SSimDownscaler by igv
    • SSimSuperRes by igv
    • KrigBilateral by igv
    • Nvidia Adaptive-directional sharpening algorithm shader by agyild
    • Contrast Adaptive Sharpening (CAS) by agyild
    • FidelityFX Super Resolution (FSR) by agyild
  • Split config file into six files (organized and easier toggling)

Important Notes

⚠️ Be sure to customize mpv_v3\mpv.conf and mpv_v3\input.conf manually, to make sure that the font and language are valid ⚠️

The defaults are:

  • Arial for the subtitle font
  • en,eng (English) for the audio and subtitle languages

See HISTORY.md for the history of older versions.

As of version 1.1.00 please check the other .conf files as well.

📝 I suggest that you have a read of my mpv.conf and alter it to your liking. 📝

  • I've personally switched to MPV v3 since the Windows app and updater.bat has problems for MPV v2
  • I've added a vastly better mpv v3 config file tested on MPV v3 for Windows

Intro

This is an improved MPV Media Player v3 configuration file that:

  • has useful defaults
  • auto-hides the cursor after 200ms (when fullscreen)
  • disables autoplay
  • enables fast seeking
  • improves OSD messages and style (moves progress bar to the top)
  • saves the seekbar position on exit
  • sets max volume (100%) and default volume (70%)
  • sets subtitle font to Arial and sets the color to off-yellow
  • sets the HLS bitrate to maximum
  • sets the default video, audio, and subtitle language to en,eng
  • uses shaders to improve, upscale and downscale videos
    • CAS, FSR, KrigBilateral, SSimDownscaler and SSimSuperRes
  • has been tested on Windows 11 only (not tested on Apple or Linux)
  • adds no additional cruft...

Requirements

  • official MPV Player: https://mpv.io/ - download MPV v3
  • a PC with at least 4GB of RAM (8GB or more recommended)
  • a PC with integrated (CPU) or discrete GPU (card)

Credits

Configuration for MPV v3

  1. Download the latest release
  2. Extract the .conf files and shaders folder next to mpv.exe
  3. Delete input.conf if desired (custom keybindings)
  4. Delete or comment out the include line for mpv_shaders.conf if your GPU cannot handle the shaders