Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
NaiveInvestigator authored Mar 15, 2023
1 parent 0266a10 commit 37a1917
Show file tree
Hide file tree
Showing 7 changed files with 931 additions and 35 deletions.
Binary file added fonts/Inter-Regular.ttf
Binary file not shown.
22 changes: 15 additions & 7 deletions mpv(Light).conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###General
profile=gpu-hq
gpu-api=vulkan
vo=gpu
gpu-api=vulkan
vulkan-async-compute=yes
vulkan-async-transfer=yes
vulkan-queue-count=1
Expand All @@ -12,16 +12,12 @@ cursor-autohide-fs-only
reset-on-next-file=pause # Resumes playback when skip to next file
volume=100 # Set volume to 100% on startup.
volume-max=200 # Set player max vol to 200%.
osc=no # required so that the 2 UIs don't fight each other
osd-bar=no # uosc provides its own seeking/volume indicators, so you also don't need this
border=no # uosc will draw its own window controls if you disable window border
no-hidpi-window-scale # This Disables High DPI scaling
audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
osd-font='Iosevka' # Sets a custom font
fs=yes
snap-window
write-filename-in-watch-later-config
subs-with-matching-audio=no # Won't ignore subtitles tagged as "Forced"
audio-exclusive=yes # Allow only mpv to send direct audio signals to the soundbar
audio-channels=stereo,5.1,7.1 # Allow more than just one audio channel

Expand All @@ -31,6 +27,7 @@ glsl-shaders="~~/shaders/SSimDownscaler.glsl;~~/shaders/FSR.glsl;~~/shaders/Krig
###Subtitles
alang = 'jpn,jp,ja,eng,en'
slang = 'eng,en,enUS,enm,en-GB,en-US,bn,ben' # enUS for Crunchyroll and enm for honorifics
subs-with-matching-audio=no # Won't ignore subtitles tagged as "Forced"
sub-fix-timing=yes
sub-scale=1
sub-auto=fuzzy
Expand All @@ -50,6 +47,12 @@ demuxer-max-back-bytes=75000000 # 75MB, Max loaded video kept after playback.
stream-buffer-size=5MiB
dither-depth=auto

###OSC / OSD
osc=no # required so that the 2 UIs don't fight each other
osd-bar=no # uosc provides its own seeking/volume indicators, so you also don't need this
osd-font="Inter Regular"
osd-font-size=30

###Profiles


Expand Down Expand Up @@ -90,9 +93,14 @@ dither-depth=auto
profile-cond=get("path", ""):find("^https://www.youtube.com/") ~= nil or get("path", ""):find("^https://youtu.be/") ~= nil
profile-restore=copy-equal
ytdl-raw-options=sub-langs=[en.*,ben.*],write-sub=,write-auto-sub=,ignore-config=,embed-metadata=,yes-playlist=
sub-font=Liberation Sans Narrow
sub-scale=0.5
sub-back-color=0.0/0.75

sub-bold=yes
sub-shadow-color="#ff000000"
sub-shadow-offset=2.5
sub-back-color="#aa000000"
sub-border-color="#ff0a0a0a"
sub-border-size=0.75
[Audio]
profile-cond=string.match(p.filename, "%.mp3$")~=nil or string.match(p.filename, "%.ogg$")~=nil or string.match(p.filename, "%.wav$")~=nil or string.match(p.filename, "%.flac$")~=nil or string.match(p.filename, "%.aac$")~=nil or string.match(p.filename, "%.wma$")~=nil or string.match(p.filename, "%.m4a$")~=nil or string.match(p.filename, "%.opus$")~=nil or string.match(p.filename, "%.vorbis$")~=nil or string.match(p.filename, "%.alac$")~=nil# ("%.flac$" and "%.mp3$" are lua string patterns that match strings only if they ends in ".flac" or ".mp3" respectively).
fs=no
Expand Down
67 changes: 39 additions & 28 deletions mpv.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###General
profile=gpu-hq
vo=gpu
gpu-api=vulkan
vo=gpu
vulkan-async-compute=yes
vulkan-async-transfer=yes
vulkan-queue-count=1
Expand All @@ -12,27 +12,22 @@ cursor-autohide-fs-only
reset-on-next-file=pause # Resumes playback when skip to next file
volume=100 # Set volume to 100% on startup.
volume-max=200 # Set player max vol to 200%.
osc=no # required so that the 2 UIs don't fight each other
osd-bar=no # uosc provides its own seeking/volume indicators, so you also don't need this
border=no # uosc will draw its own window controls if you disable window border
no-hidpi-window-scale # This Disables High DPI scaling
audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
osd-font='Iosevka' # Sets a custom font
fs=yes
snap-window
write-filename-in-watch-later-config
audio-exclusive=yes # Allow only mpv to send direct audio signals to the soundbar
audio-channels=stereo,5.1,7.1 # Allow more than just one audio channel

###Interpolation (May increase CPU usage)
interpolation=yes
video-sync=display-resample
tscale=box
tscale-window=quadric
tscale-clamp=0.0
tscale-radius=1.025
###Shaders
glsl-shaders="~~/shaders/SSimDownscaler.glsl;~~/shaders/FSR.glsl;~~/shaders/KrigBilateral.glsl;~~/shaders/CAS-scaled.glsl"

###Subtitles
alang = 'jpn,jp,ja,eng,en'
slang = 'eng,en,enUS,enm,en-GB,en-US,bn,ben' # enUS for Crunchyroll and enm for honorifics
subs-with-matching-audio=no # Won't ignore subtitles tagged as "Forced"
sub-fix-timing=yes
sub-scale=1
sub-auto=fuzzy
Expand All @@ -42,7 +37,7 @@ sub-bold=yes # Set the font to bold.
sub-file-paths=** # This is for fuzzy-dir script to work
#sub-font-size=55 # Set default subtitle size if not specified.

###Global yt-dlp settings
###Youtube-dl settings
ytdl-format=bestvideo[height<=?1080]+bestaudio/best # Set max streaming quality as 1080p.

#Default demuxer is 150/75 MB, note that this uses RAM so set a reasonable amount.
Expand All @@ -52,6 +47,12 @@ demuxer-max-back-bytes=75000000 # 75MB, Max loaded video kept after playback.
stream-buffer-size=5MiB
dither-depth=auto

###OSC / OSD
osc=no # required so that the 2 UIs don't fight each other
osd-bar=no # uosc provides its own seeking/volume indicators, so you also don't need this
osd-font="Inter Regular"
osd-font-size=30

###Profiles


Expand Down Expand Up @@ -79,6 +80,27 @@ dither-depth=auto
profile-cond=string.match(p.filename, "Ember")~=nil
profile-restore=copy-equal
deband=yes

[Twitch]
profile-cond=get("path", ""):find("^https://www.twitch.tv/") ~= nil
profile-restore=copy-equal
sub-font-size=30
sub-align-x=right
sub-align-y=top
sub-scale=0.5

[Youtube]
profile-cond=get("path", ""):find("^https://www.youtube.com/") ~= nil or get("path", ""):find("^https://youtu.be/") ~= nil
profile-restore=copy-equal
ytdl-raw-options=sub-langs=[en.*,ben.*],write-sub=,write-auto-sub=,ignore-config=,embed-metadata=,yes-playlist=
sub-font=Liberation Sans Narrow
sub-scale=0.5
sub-bold=yes
sub-shadow-color="#ff000000"
sub-shadow-offset=2.5
sub-back-color="#aa000000"
sub-border-color="#ff0a0a0a"
sub-border-size=0.75

[Anime]
profile-cond=require 'mp.utils'.join_path(working_directory, path):match('Anime') ~= nil
Expand All @@ -102,22 +124,7 @@ dither-depth=auto
linear-downscaling=no
cscale=mitchell # ignored with gpu-next
sigmoid-upscaling=yes

[Twitch]
profile-cond=get("path", ""):find("^https://www.twitch.tv/") ~= nil
profile-restore=copy-equal
sub-font-size=30
sub-align-x=right
sub-align-y=top
sub-scale=0.5

[Youtube]
profile-cond=get("path", ""):find("^https://www.youtube.com/") ~= nil or get("path", ""):find("^https://youtu.be/") ~= nil
profile-restore=copy-equal
ytdl-raw-options=sub-langs=[en.*,ben.*],write-sub=,write-auto-sub=,ignore-config=,embed-metadata=,yes-playlist=
sub-scale=0.5
sub-back-color=0.0/0.75

[Audio]
profile-cond=string.match(p.filename, "%.mp3$")~=nil or string.match(p.filename, "%.ogg$")~=nil or string.match(p.filename, "%.wav$")~=nil or string.match(p.filename, "%.flac$")~=nil or string.match(p.filename, "%.aac$")~=nil or string.match(p.filename, "%.wma$")~=nil or string.match(p.filename, "%.m4a$")~=nil or string.match(p.filename, "%.opus$")~=nil or string.match(p.filename, "%.vorbis$")~=nil or string.match(p.filename, "%.alac$")~=nil# ("%.flac$" and "%.mp3$" are lua string patterns that match strings only if they ends in ".flac" or ".mp3" respectively).
fs=no
Expand All @@ -144,4 +151,8 @@ dither-depth=auto
profile=protocol.http

[protocol.ytdl]
profile=protocol.http
profile=protocol.http

[Dolby Vision]
target-trc=pq
target-prim=bt.2020
Loading

0 comments on commit 37a1917

Please sign in to comment.