Skip to content

Commit

Permalink
feat: change sub font (included in fonts folder)
Browse files Browse the repository at this point in the history
  • Loading branch information
noelsimbolon committed Jun 17, 2023
1 parent 8a6572f commit 117fb50
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
Binary file added fonts/Netflix Sans Bold.otf
Binary file not shown.
Binary file added fonts/Netflix Sans Light.otf
Binary file not shown.
Binary file added fonts/Netflix Sans Medium.otf
Binary file not shown.
29 changes: 14 additions & 15 deletions mpv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
profile=gpu-hq # Allows for higher quality playback on mpv
# Uses scaling methods that are significantly better than default mpv, VLC and MPC
vo=gpu # https://mpv.io/manual/master/#video-output-drivers-gpu
priority=high # Makes PC prioritize MPV for allocating resources
priority=high # Makes PC prioritize MPV for allocating resources (Windows only)
# gpu-api=vulkan offers better overall performance but breaks too often, use opengl instead
# For displaying HDR content (not HDR -> SDR) "d3d11" is recommended (Windows only)
gpu-api=opengl # https://mpv.io/manual/master/#options-gpu-api
Expand Down Expand Up @@ -42,7 +42,7 @@ cscale=ewa_lanczossoft # Chroma up&downscaler

gpu-shader-cache-dir='~~/shaders/cache' # https://mpv.io/manual/master/#options-gpu-shader-cache-dir

# FSRCNNX (more powerful, but tend to cause overshoot)
# FSRCNNX (more powerful, but tend to cause overshoot), use nnedi13 (below) instead if you notice dropped frames
glsl-shader="~~/shaders/FSRCNNX_x2_16-0-4-1.glsl" # Luma upscaler

# nnedi3
Expand Down Expand Up @@ -73,6 +73,11 @@ glsl-shader="~~/shaders/SSimDownscaler.glsl" # Luma downscaler

# ========== DEBANDING ==========

# Banding is a visual artifact, visual artifacts should never be in a video.
# Example of banding: https://imgur.com/32d77H0
# Debanding is the process of removing said banding.
# 6 minute explanation of what causes banding: https://www.youtube.com/watch?v=h9j89L8eQQk

deband=no # Turn on only for videos with banding. (Keybind=d)
deband-iterations=16 # https://mpv.io/manual/master/#options-deband-iterations
deband-threshold=48 # https://mpv.io/manual/master/#options-deband-threshold
Expand All @@ -94,7 +99,7 @@ osd-duration=1000 # Set the duration of the OSD me
hr-seek=yes # Select when to use precise seeks that are not limited to keyframes
# https://mpv.io/manual/master/#options-hr-seek

osd-font='Verdana'
osd-font='Verdana'
osd-font-size=20
osd-color='#FFFFFF' # Hex code for white
osd-border-color='#000000' # Hex code for black
Expand Down Expand Up @@ -130,8 +135,8 @@ sub-fix-timing=no # https://mpv.io/manual/master/#
sub-auto=fuzzy # https://mpv.io/manual/master/#options-no-sub-auto
# Load all subs containing the media filename

# The following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)
sub-font='NetflixSans-Medium' # Specify font to use for subtitles that do not themselves specify a particular font
# The following options only apply to subtitles without own styling
sub-font='Netflix Sans Medium' # Specify font to use for subtitles that do not themselves specify a particular font
sub-font-size=40
sub-color='#FFFFFFFF'
sub-border-color='#FF000000'
Expand Down Expand Up @@ -210,9 +215,11 @@ screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" # Name format (filen

# ========== AUTO PROFILES ==========

# Auto profiles that automatically applies for WEB-DL anime that need some debanding

[WEB-DL]
profile-desc=WEB-DL Anime (SubsPlease, HorribleSubs, Erai-raws)
profile-cond=string.match(p.filename, "SubsPlease")~=nil or string.match(p.filename, "HorribleSubs")~=nil or string.match(p.filename, "Erai%-raws")~=nil
profile-desc=WEB-DL Anime (HatSubs, SubsPlease, HorribleSubs, Erai-raws)
profile-cond=string.match(p.filename, "HatSubs")~=nil or string.match(p.filename, "SubsPlease")~=nil or string.match(p.filename, "HorribleSubs")~=nil or string.match(p.filename, "Erai%-raws")~=nil
deband=yes

# [Mini-Encode #1]
Expand All @@ -234,11 +241,3 @@ screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" # Name format (filen
# profile-desc=Mini Encode Anime 4
# profile-cond=string.match(p.filename, "Ember")~=nil
# deband=yes




# Banding is a visual artifact, visual artifacts should never be in a video.
# Example of banding: https://imgur.com/32d77H0
# Debanding is the process of removing said banding.
# 6 minute explanation of what causes banding: https://www.youtube.com/watch?v=h9j89L8eQQk

0 comments on commit 117fb50

Please sign in to comment.