Last active
December 1, 2022 05:29
-
-
Save Felhamed/e6f743a24a896f49a85733c6f28a85da to your computer and use it in GitHub Desktop.
mpv.conf
This file contains hidden or 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
| # vim: syntax=config | |
| ########### | |
| # General # | |
| ########### | |
| #save-position-on-quit | |
| no-border # no window title bar | |
| msg-module # prepend module name to log messages | |
| msg-color # color log messages on terminal | |
| term-osd-bar # display a progress bar on the terminal | |
| #use-filedir-conf # look for additional config files in the directory of the opened file | |
| #pause # no autoplay | |
| keep-open # keep the player open when a file's end is reached | |
| #autofit-larger=100%x95% # resize window in case it's larger than W%xH% of the screen | |
| deinterlace=auto # 'auto' does not imply interlacing-detection | |
| #cursor-autohide-fs-only # don't autohide the cursor in window mode, only fullscreen | |
| cursor-autohide=1000 # autohide the curser after 1s | |
| screenshot-format=png | |
| screenshot-png-compression=8 | |
| screenshot-template='~/Desktop/%F (%P) %n' | |
| hls-bitrate=max # use max quality for HLS streams | |
| ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best #[protocol!=http_dash_segments][protocol!=rtmp] | |
| ######### | |
| # Cache # | |
| ######### | |
| cache=yes | |
| cache-default=5000000 # size in KB | |
| cache-backbuffer=25000 # size in KB | |
| cache-initial=0 # start playback when your cache is filled up with x kB | |
| cache-secs=10 # how many seconds of audio/video to prefetch if the cache is active | |
| ############# | |
| # Subtitles # | |
| ############# | |
| sub-use-margins | |
| sub-ass-force-margins | |
| demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking | |
| sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload | |
| sub-paths=ass:srt:sub:subs:subtitles # search for external subs in the listed subdirectories | |
| embeddedfonts=yes # use embedded fonts for SSA/ASS subs | |
| sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases) | |
| sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts | |
| # the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT) | |
| sub-font="Source Sans Pro Semibold" | |
| sub-font-size=36 | |
| sub-color="#FFFFFFFF" | |
| sub-border-color="#FF262626" | |
| sub-border-size=3.2 | |
| sub-shadow-offset=1 | |
| sub-shadow-color="#33000000" | |
| sub-spacing=0.5 | |
| ############# | |
| # Languages # | |
| ############# | |
| slang=enm,en,eng,de,deu,ger # automatically select these subtitles (decreasing priority) | |
| alang=ja,jp,jpn,en,eng,de,deu,ger # automatically select these audio tracks (decreasing priority) | |
| ######### | |
| # Audio # | |
| ######### | |
| audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload | |
| audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed | |
| volume-max=200 # maximum volume in %, everything above 100 results in amplification | |
| volume=100 # default volume, 100 = unchanged | |
| ################ | |
| # Video Output # | |
| ################ | |
| # Active VOs (and some other options) are set conditionally | |
| # Defaults for all profiles | |
| vo=vdpau | |
| hwdec=vdpau |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment