2020-04-27 06:47:36 +00:00
|
|
|
# Video
|
|
|
|
#vo=opengl:dither-depth=auto:gamma-auto
|
|
|
|
#vo=xv
|
|
|
|
#hwdec=videotoolbox
|
|
|
|
#display-fps=60
|
|
|
|
autofit-larger=98%x90%
|
|
|
|
autofit-smaller=30%x30%
|
|
|
|
#profile=gpu-hq
|
|
|
|
hwdec=auto
|
|
|
|
hwdec-codecs=all
|
|
|
|
|
|
|
|
# Volume
|
|
|
|
volume=100
|
|
|
|
#af=drc
|
|
|
|
|
|
|
|
# OSD
|
|
|
|
osd-bar-h=1.5
|
|
|
|
osd-border-size=2
|
|
|
|
osd-color='#CCFFFFFF'
|
|
|
|
osd-border-color='#99000000'
|
|
|
|
osd-duration=2000
|
|
|
|
osd-font='PingFangSC-Regular'
|
|
|
|
sub-font='PingFangSC-Regular'
|
|
|
|
# Font pre El Capitan
|
|
|
|
#osd-font='STHeiti'
|
|
|
|
#sub-font='STHeiti'
|
|
|
|
|
|
|
|
# No window border
|
|
|
|
no-border
|
|
|
|
|
|
|
|
# Screenshots file name
|
|
|
|
screenshot-template=~/Desktop/mpv-screenshot-%n
|
|
|
|
|
|
|
|
# Save the current playback position on quit and resume on next run.
|
|
|
|
save-position-on-quit
|
|
|
|
|
|
|
|
# load config file from file directory, useful for overriding ass styles for entire series
|
|
|
|
use-filedir-conf=yes
|
|
|
|
|
|
|
|
# Subtitles
|
|
|
|
sub-auto=fuzzy
|
|
|
|
sub-font-size=38
|
|
|
|
sub-codepage=utf8:gb18030
|
2021-10-11 01:04:13 +00:00
|
|
|
sub-file-paths=subtitles
|
2020-04-27 06:47:36 +00:00
|
|
|
|
|
|
|
# Languages
|
|
|
|
alang=zh,en,eng,cmn,chi,zho
|
|
|
|
slang=zh,cmn,chi,zho,eng,en
|
|
|
|
|
|
|
|
# Youtube
|
|
|
|
ytdl
|
|
|
|
|
|
|
|
# Others
|
|
|
|
keep-open=yes
|
|
|
|
|
|
|
|
[protocol.http]
|
|
|
|
no-resume-playback
|
|
|
|
[protocol.https]
|
|
|
|
profile=protocol.http
|
|
|
|
[protocol.ytdl]
|
|
|
|
profile=protocol.http
|
|
|
|
[protocol.rtsp]
|
|
|
|
profile=protocol.http
|