mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Are These Good Config Settings for 1440p/RTX3080?

Open 0pLuS0 opened this issue 3 years ago • 1 comments

I found these config settings over at; https://github.com/hl2guide/better-mpv-config

I changed it a little, removing all the other resolutions, and only left the 1440p section. I wanted to ask, if someone could kindly look this over and tell me if these are good settings to use on 1440p with a Nvidia 3080? I swear, I feel like at times, using these settings I see very faint stuttering, so this is the reason I wanted to ask about these settings, if they are not correct, or overkill, that could cause some performance issues, even with a 3080?

THANKS

# Uses GPU-accelerated video output by default.
vo=gpu
# Can cause performance problems with some GPU drivers and GPUs.
profile=gpu-hq

# Source: https://github.com/hl2guide/better-mpv-config

# External Sources:
# * https://raw.githubusercontent.com/classicjazz/mpv-config/master/mpv.conf

# Enables best HW decoder; turn off for software decoding
hwdec=auto

border=no # hides the window title bar
msg-color=yes # color log messages on terminal
term-osd-bar=yes # displays a progress bar on the terminal
cursor-autohide=1000 # autohides the cursor after 1s

# Sets a custom font
osd-font='Iosevka'
# osd-font-size=55
# osd-scale=0.5

# Saves the seekbar position on exit
save-position-on-quit=no

# Uses a large seekable RAM cache even for local input.
cache=yes
# cache-secs=300
# Uses extra large RAM cache (needs cache=yes to make it useful).
demuxer-max-bytes=1800M
demuxer-max-back-bytes=1200M

# Sets the profile restore method to "copy if equal"
profile-restore=copy-equal

# ===== Audio =====

# Sets volume to 60%.
volume=60

# Normalizes audio
af-add='dynaudnorm=g=5:f=250:r=0.9:p=0.5'

# ===== Color Space =====
target-trc=auto
gamma-auto
vf=format=colorlevels=full:colormatrix=auto
video-output-levels=full

# ===== Dithering =====
dither-depth=auto
temporal-dither=yes
dither=fruit

# ===== Debanding =====
deband=yes # enabled by default
deband-iterations=4 # deband steps
deband-threshold=48 # deband strength
deband-range=16 # deband range
deband-grain=48 # dynamic grain: set to "0" if using the static grain shader

# ===== Subtitles =====
blend-subtitles=yes

# ===== Motion Interpolation =====
override-display-fps=60
video-sync=display-resample
interpolation=yes
tscale=oversample # smoothmotion

# ===== Anti-Ringing =====
scale-antiring=0.7 # luma upscale deringing
dscale-antiring=0.7 # luma downscale deringing
cscale-antiring=0.7 # chroma upscale deringing

# ===== Upscaling & Processing =====
glsl-shaders-clr
# luma upscaling
# note: any FSRCNNX above FSRCNNX_x2_8-0-4-1 is not worth the additional computional overhead
glsl-shaders="~/.config/mpv/shaders/FSRCNNX_x2_8-0-4-1.glsl"
scale=ewa_lanczos
# luma downscaling
# note: ssimdownscaler is tuned for mitchell and downscaling=no
glsl-shaders-append="~/.config/mpv/shaders/SSimDownscaler.glsl"
dscale=mitchell
linear-downscaling=no
# chroma upscaling and downscaling
glsl-shaders-append="~/.config/mpv/shadersKrigBilateral.glsl"
cscale=mitchell
sigmoid-upscaling=yes

# Force starting with centered window - (Use if DE/WM doesn't allow all windows to center)
geometry=50%x50%+50%+50%

# ===== Custom Profiles =====
# Uses specific naming convensions for shorter easier typing.
# Naming Convensions:
# V = Very Low, L = Low, M = Medium, H = High, U = Ultra, S = Supreme
# Very Low = 480p, Low = 720p, Medium = 1080p, High = 1440p, Ultra = 2160p (4K), Supreme = 4320p (8K)
# 30 = 30 frames per second, 60 = 60 frames per second
# Use the switch e.g: --profile=H60

# 1440p 60 FPS
[H60]
profile-restore=copy-equal # Sets the profile restore method to "copy if equal"
profile-desc="High - 1440p - 60 FPS"
ytdl-format=bestvideo[height<=?1440][fps<=?60][vcodec!=?vp9]+bestaudio/best

[default]
profile-restore=copy-equal # Sets the profile restore method to "copy if equal"

# ===== File Type Profiles =====
# GIF Files
[extension.gif]
profile-restore=copy-equal # Sets the profile restore method to "copy if equal"
profile-desc=gif
cache=no
no-pause
loop-file=yes
# WebM Files
[extension.webm]
profile-restore=copy-equal # Sets the profile restore method to "copy if equal"
profile-desc=webm
no-pause
loop-file=yes

# ===== Protocol Specific Configuration =====

[protocol.http]
profile-restore=copy-equal # Sets the profile restore method to "copy if equal"
profile-desc=http
hls-bitrate=max # use max quality for HLS streams
cache=yes
no-cache-pause # don't pause when the cache runs low

[protocol.https]
profile-restore=copy-equal # Sets the profile restore method to "copy if equal"
profile-desc=https
profile=protocol.http

[protocol.ytdl]
profile-restore=copy-equal # Sets the profile restore method to "copy if equal"
profile-desc=ytdl
profile=protocol.http

Log file

Even if you think it's not necessary at first, it might help us later to find possible issues. Make a log file made with -v -v or --log-file=output.txt, paste it to https://0x0.st/ or attach it to the github issue, and replace this text with a link to it.

Here is a copy attached of the log output.

output.txt

0pLuS0 avatar Jul 15 '22 23:07 0pLuS0

demuxer-max-bytes=1800M demuxer-max-back-bytes=1200M Do you really need this much cache? volume=60 deband-iterations=4 and also some other stuffs are "debateble"

Maybe just read the manual here and find out what's best for yourself.

yeezylife avatar Jul 17 '22 04:07 yeezylife

This is the default script, I only removed, I didn't change anything, and when it comes to a lot of these MPV options, I really don't understand them well enough, I've never bothered spending much time learning about all of them.

0pLuS0 avatar Aug 14 '22 04:08 0pLuS0