| 1 | # PLAYER |
| 2 | # --- |
| 3 | # Use GPU-accelerated video output by default. |
| 4 | vo=gpu |
| 5 | # Enable best HW decoder, turn off software decoding. |
| 6 | hwdec=auto |
| 7 | # Keep the player open when a file's end is reached. |
| 8 | keep-open=yes |
| 9 | # Color log messages on the terminal. |
| 10 | msg-color=yes |
| 11 | # Prepend module name to log messages. |
| 12 | msg-module=yes |
| 13 | # Display progress bar on the terminal. |
| 14 | term-osd-bar=yes |
| 15 | # Autohide cursor after 1s. |
| 16 | cursor-autohide=1000 |
| 17 | # Use large seekable RAM cache even for local input. |
| 18 | #cache=yes |
| 19 | #cache-secs=300 |
| 20 | # Use extra large RAM cache, needs "cache=yes" to make it useful. |
| 21 | #demuxer-max-bytes=1800M |
| 22 | #demuxer-max-back-bytes=1200M |
| 23 | # Disabling of decoder framedrop during hr-seek. |
| 24 | hr-seek-framedrop=no |
| 25 | |
| 26 | # AUDIO |
| 27 | # --- |
| 28 | volume=100 |
| 29 | volume-max=200 |
| 30 | |
| 31 | # SCREENSHOT |
| 32 | screenshot-format=png |
| 33 | screenshot-directory="~/pix/ss/mpv" # Output directory |
| 34 | screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" |
| 35 | |
| 36 | # SUBTITLES |
| 37 | # --- |
| 38 | # Detect all subtitles. |
| 39 | sub-auto=all |
| 40 | # External subs don't have to match file name exactly to autoload. |
| 41 | sub-auto=fuzzy |
| 42 | # Blend subtitles directly onto upscaled video frames. |
| 43 | blend-subtitles=yes |
| 44 | # Try to correctly show embedded subs when seeking. |
| 45 | demuxer-mkv-subtitle-preroll=yes |
| 46 | # Use embedded fonts for SSA/ASS subs. |
| 47 | embeddedfonts=yes |
| 48 | # Backward compatibility for vsfilter fansubs. |
| 49 | sub-ass-vsfilter-blur-compat=yes |
| 50 | # Search for external subs in these relative subdirectories. |
| 51 | sub-file-paths-append=ass |
| 52 | sub-file-paths-append=srt |
| 53 | sub-file-paths-append=sub |
| 54 | sub-file-paths-append=subs |
| 55 | sub-file-paths-append=subtitles |
| 56 | |
| 57 | # FILE-TYPE PROFILES |
| 58 | # --- |
| 59 | [extension.gif] |
| 60 | cache=no |
| 61 | loop-file=yes |
| 62 | no-pause |