Created
February 15, 2018 00:25
-
-
Save anonymous/99ebdf1335d04e62f8e95c0f9f8df9e6 to your computer and use it in GitHub Desktop.
mpv Configuration for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## | |
# video settings # | |
################## | |
# Specify default video driver (see --vo=help for a list). | |
vo = opengl-hq:interpolation | |
# Enable hardware decoding if available. Often, this requires using an certain | |
# video output, otherwise no hardware decoding will be used. | |
hwdec = cuda | |
# Completely empties the filter list. | |
vf-clr | |
# Adjust the initial window position or size. | |
geometry = 50%:45% | |
# Don't allow a new window to have a size larger than 90% of the screen size. | |
autofit-larger = 95%x90% | |
# Whether to load the on-screen-controller (default: yes). | |
# no-osc | |
################## | |
# audio settings # | |
################## | |
# Specify default audio driver (see --ao=help for a list). | |
ao = wasapi | |
# Request a channel layout for audio output (default: auto). | |
audio-channels = downmix | |
# Play Japanese audio if available, fall back to English otherwise. | |
alang = jpn,eng | |
################## | |
# other settings # | |
################## | |
# Specify how the player synchronizes audio and video. | |
# This is needed for interpolation to work. | |
video-sync = display-resample | |
# Disable the OSD completely. | |
osd-level = 0 | |
# Specify the subtitle codepage. | |
sub-codepage = utf8:gb18030 | |
# Specify font to use for OSD and for subtitles that do not themselves specify | |
# a particular font. The default is sans-serif. | |
sub-text-font = 'Adobe Heiti Std R' | |
# osd-font = 'Adobe Heiti Std R' | |
# Specify the OSD/sub font size (default: 55). | |
# The unit is the size in scaled pixels at a window height of 720. | |
sub-text-font-size = 55 | |
# osd-font-size = 45 | |
# Size of the OSD/sub font border in scaled pixels. A value of 0 disables borders. | |
sub-text-border-size = 1.5 | |
# osd-border-size = 1.5 | |
# Displacement of the OSD/sub text shadow in scaled pixels. A value of 0 disables shadows. | |
sub-text-shadow-offset = 1.5 | |
# osd-shadow-offset = 0 | |
# Specifiy the color used for OSD/sub text shadow. | |
sub-text-shadow-color = '#60000000' | |
# osd-shadow-color = '#60000000' | |
# Left and right screen margin for the OSD/subs in scaled pixels | |
sub-text-margin-x = 45 | |
# osd-margin-x = 25 | |
# Top and bottom screen margin for the OSD/subs in scaled pixels | |
sub-text-margin-y = 45 | |
# osd-margin-y = 25 | |
# Display Japanese subtitles if available, fall back to English otherwise. | |
slang = jpn,eng | |
# Set the image file type used for saving screenshots. | |
screenshot-format = png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment