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

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hl2guide authored Sep 26, 2023
1 parent 6676ad6 commit d38ee53
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 33 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

_Version 1.2.1 (Sept 27, 2023)_
- Split shaders into two sets (big improvement to quality of GPU shaders)
- NVidia
- AMD and Intel
- Improved `input.conf`
- new keys for playback speed
- upscaler shader mode

_Version 1.1.25 (Aug 13, 2023)_
- Fixed all console messages and implemented stricter MPV pathing for HOME_PATH
- Improved optional `input.conf` with quiet mode seeking and other minor changes
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Dean
Copyright (c) 2019-2023 Dean

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# better-mpv-config

- Version: 1.1.25
- Last Updated (AEST): 2023-08-13 06:38:55PM
- Version: 1.2.1
- Last Updated (AEST): 2023-09-27 12:53:18AM
- Target Platform: Windows 10 (not tested on Apple or Linux at all)
- Test PC: Old Quad Core Desktop
- CPU: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
Expand All @@ -11,6 +11,14 @@

## What's New

_Version 1.2.1 (Sept 27, 2023)_
- Split shaders into two sets (big improvement to quality of GPU shaders)
- NVidia
- AMD and Intel
- Improved `input.conf`
- new keys for playback speed
- upscaler shader mode

_Version 1.1.25 (Aug 13, 2023)_
- Fixed all console messages and implemented stricter MPV pathing for HOME_PATH
- Improved optional `input.conf` with quiet mode seeking and other minor changes
Expand Down
17 changes: 17 additions & 0 deletions mpv_v3/configs/mpv_amd_or_intel_gpu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,20 @@
# TESTING - AMD and Intel

# hwdec=vaapi

# ===== GPU shaders =====
# REF: https://gist.github.com/agyild
# Note: Upscales and improves videos that have a video frame height less than 1080.
# Videos 1080p and higher do not use these shaders.
# If using my custom input.conf the keybind to apply it is 'F9'

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

# FidelityFX CAS - Sharpening shader that provides an even level of sharpness across the frame.
glsl-shaders-append="~~/shaders/CAS.glsl" # https://gist.github.com/agyild/bbb4e58298b2f86aa24da3032a0d2ee6

# AMD FidelityFX Super Resolution - A spatial upscaler which provides consistent upscaling quality
# regardless of whether the frame is in movement.
glsl-shaders-append="~~/shaders/FSR.glsl" # https://gist.github.com/agyild/82219c545228d70c5604f865ce0b0ce5
14 changes: 14 additions & 0 deletions mpv_v3/configs/mpv_nvidia_gpu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@
# TESTING - NVidia

# hwdec=nvdec

# ===== GPU shaders =====
# REF: https://gist.github.com/agyild
# Note: Upscales and improves videos that have a video frame height less than 1080.
# Videos 1080p and higher do not use these shaders.
# If using my custom input.conf the keybind to apply it is 'F9'

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

# Adaptive-directional sharpening algorithm shaders for NVidia GPUs.
glsl-shaders-append="~~/shaders/NVScaler.glsl" # https://gist.github.com/agyild/7e8951915b2bf24526a9343d951db214
glsl-shaders-append="~~/shaders/NVSharpen.glsl" # https://gist.github.com/agyild/7e8951915b2bf24526a9343d951db214
20 changes: 0 additions & 20 deletions mpv_v3/configs/mpv_shaders.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,3 @@ glsl-shaders-append="~~/shaders/SSimSuperRes.glsl" # https://gist.github.com/igv

# KrigBilateral: Chroma scaler that uses luma information for high quality upscaling.
glsl-shaders-append="~~/shaders/KrigBilateral.glsl" # https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637

# ===== GPU shaders =====
# REF: https://gist.github.com/agyild
# Note: Upscales and improves videos that have a video frame height less than 1080.
# Videos 1080p and higher do not use these shaders.

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

# Adaptive-directional sharpening algorithm shaders.
glsl-shaders-append="~~/shaders/NVScaler.glsl" # https://gist.github.com/agyild/7e8951915b2bf24526a9343d951db214
glsl-shaders-append="~~/shaders/NVSharpen.glsl" # https://gist.github.com/agyild/7e8951915b2bf24526a9343d951db214

# FidelityFX CAS - Sharpening shader that provides an even level of sharpness across the frame.
glsl-shaders-append="~~/shaders/CAS.glsl" # https://gist.github.com/agyild/bbb4e58298b2f86aa24da3032a0d2ee6

# AMD FidelityFX Super Resolution - A spatial upscaler which provides consistent upscaling quality
# regardless of whether the frame is in movement.
glsl-shaders-append="~~/shaders/FSR.glsl" # https://gist.github.com/agyild/82219c545228d70c5604f865ce0b0ce5
18 changes: 10 additions & 8 deletions mpv_v3/input.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# MPV v3 Input Configuration - version 1.1.25
# Date: 2023-08-30 11:10:52AM
# MPV v3 Input Configuration - version 1.2.1
# Date: 2023-09-27 12:53:18AM

# MPV Keys: https://mpv.io/manual/stable/#key-names

Expand Down Expand Up @@ -214,12 +214,14 @@ META+BS set video-zoom 0 ; show-text "Zoom resetted"



# [F1] F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 [F12]
# [F1] F2 F3 F4 F5 F6 F7 [F8] [F9] [F10] [F11] [F12]

F1 script-binding console/enable
F10 cycle-values speed 0.8 0.6 0.4 0.2 1 # Slow speed
F11 cycle-values speed 1.2 1.4 1.6 1.8 2 1 # Faster speed
F12 af toggle "lavfi=[loudnorm=I=-22:TP=-1.5:LRA=2]" # Useful audio normalization for low-audio or whispering scenes
F8 vf toggle "interpolation=yes,tscale=oversample" ; show-text "Toggled Realtime Motion Interpolation (native) [interpolation=yes,tscale=oversample]" # Soap-opera effect for frame smoothing
F9 apply-profile "upscale-lowres-using-GPU-shaders" ; show-text "Applied GPU upscaler shaders"
F10 cycle-values speed 0.8 0.6 0.4 0.2 1 # Slow speed
F11 cycle-values speed 1.2 1.4 1.6 1.8 2 1 # Faster speed
F12 af toggle "lavfi=[loudnorm=I=-22:TP=-1.5:LRA=2]" # Useful audio normalization for low-audio or whispering scenes (can cause annoying background noise amplification)

# Numpad

Expand All @@ -236,10 +238,10 @@ KP9 ignore
KP_DEC ignore
KP_ENTER ignore

# Testing at 2023-08-30 11:11:39AM
# Testing at 2023-09-27 12:46:12AM

# Show Loaded Shaders (for dev testing)
# ` script-binding sview/shader-view
` script-binding sview/shader-view

# Show progress bar on MOUSE BUTTON 2 double-click
# MOUSE_BTN2_DBL show-progress
Expand Down
4 changes: 2 additions & 2 deletions mpv_v3/mpv.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# MPV v3 Config - version 1.1.25
# Date: 2023-08-13 06:24:54PM
# MPV v3 Config - version 1.2.1
# Date: 2023-09-27 12:53:18AM

# REF: https://github.com/Argon-/mpv-config/blob/master/mpv.conf
# REF: https://github.com/Zabooby/mpv-config
Expand Down

0 comments on commit d38ee53

Please sign in to comment.