# OSC
osc=no
osd-font=Manrope
osd-font-size=25.5
osd-color="#FFFFFF"
osd-border-color='#161616' # ARGB format
#osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
osd-border-size=1.2
# Player
border=no
keep-open=yes
snap-window=yes
no-focus-on-open
--force-window=immediate
#autofit=90%x90%
#geometry=50%:100%
# Chrome
#geometry=1920x947+0-0
# Firefox
geometry=1920x938+0-0
# Video
vo=gpu-next
hwdec=auto-copy-safe
pause=no
# global (default) options
loop-playlist=no
loop-file=no
ytdl-raw-options=list-subs
ytdl-raw-options-append=no-check-certificates=
ytdl-raw-options-append=yes-playlist=
ytdl-raw-options-append=sub-langs=vi,vi-VN,vie,en,en-US,eng
ytdl-raw-options-append=write-auto-sub=
ytdl-raw-options-append=write-sub=
ytdl-raw-options-append=no-check-certificates=
ytdl-raw-options-append=extractor-args=youtube
![Stick out tongue :p :p](https://data.voz.vn/styles/next/xenforo/smilies/popo/tongue.png?v=01)
layer_skip=webpage,configs,js;player_client=android,web;lang=vi,en
# Deband
## Debanding settings are divided into 3 modes: light, medium & heavy.
## Light: 1:35:16:5 | Medium: 2:60:20:24 | Heavy: 3:100:25:48
## Light mode is used by default.
## You can cycle through the deband modes with shift+b (see input.conf).
deband-iterations=1 # Higher: Reduce more banding but more GPU usage; >4 is redundant [Default: 1, <1..16>]
deband-threshold=35 # Higher: Increase debanding strength [Default: 32, <0..4096>]
deband-range=16 # Higher: Find more gradients; Lower: Smooth more aggressively [Default: 16, <1..64>]
deband-grain=5 # Higher: Add more noise to cover up banding [Default: 48, <0..4096>]
# Audio
volume=100
volume-max=200
mute=yes
audio-file-auto=fuzzy # Load additional audio files containing the video filename
# Subs
sub-font=MyriadPro-Regular
sub-font-size=35
sub-bold=yes
sub-border-color="#161616"
sub-border-size=0.9
sub-shadow-color="#161616"
sub-shadow-offset=0.1
sub-spacing=-0.45
sub-auto=fuzzy # Load additional subtitle files containing the video filename
demuxer-mkv-subtitle-preroll=yes # Try to correctly show embedded subs when seeking
slang=vi,vie,en,eng # Prioritise which subtitles language to use
# Screenshots
## %X is the fallback path if the video is not on the filesystem, like YouTube streams.
## The template is basically: "Video Name [HH.MM.SS.MS].png"
screenshot-template="%X{~~desktop/}%F [%wH.%wM.%wS.%wT]"
screenshot-format=png
screenshot-tag-colorspace=yes # Tag screenshots with the appropriate colorspace
screenshot-png-compression=5
# Terminal
msg-color=yes
msg-module=yes
# Profiles
[hq]
profile=gpu-hq
profile-restore=copy
deband=no
[smooth-osc]
profile-desc=Enable smoother OSC rendering in low framerate videos
profile-cond=p["container-fps"] < 30 and width < 3840
video-sync=display-resample
[autocopy-fix]
profile-desc=Fix abnormal stuttering when using auto-copy on >4K videos
profile-cond=width >= 3840 and height >= 2160
profile-restore=copy
hwdec=auto-safe
#########
# Cache #
#########
cache=yes
#cache-secs=600
demuxer-max-bytes=2048MiB
demuxer-max-back-bytes=1024MiB
#demuxer-readahead-secs=1200
demuxer-readahead-secs=3600
#network-timeout=1000
###################################
# Protocol Specific Configuration #
###################################
stream-lavf-o-append=reconnect_on_http_error=4xx,5xx
stream-lavf-o-append=reconnect_streamed=yes
stream-lavf-o-append=reconnect_on_network_error=yes
[protocol.https]
cache=yes
profile=protocol.http
user-agent='Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36'
[protocol.http]
cache=yes
profile=protocol.http
user-agent='Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36'
[protocol.ytdl]
profile=protocol.http