~phate/mpv-config

ref: b19b8cc0858de824ed9bd59484f523aa76782b82 mpv-config/mpv.conf -rw-r--r-- 2.5 KiB
b19b8cc0ValleyKnight update repo 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
profile=no_vp                                                               # Set profile to no_vp, load those settings while ignoring all others.

## Video and Audio Settings
vo=gpu                                                                      # Use GPU-accelerated video output by default.
alsa-resample=no                                                            # Do not resample audio.
audio-device=alsa/default:CARD=PCH                                          # Set audio device.

## Subtitle Settings
embeddedfonts=yes                                                           # Use embedded fonts (if available).
sub-auto=fuzzy                                                              # External subs don't have to match the file name exactly to autoload.
slang=eng,en                                                                # Set subtitle language to english.
sub-visibility=no                                                           # Disable display of subtitles, but still load them if available.

# search for external subs in these relative subdirectories
sub-file-paths-append=ass
sub-file-paths-append=srt
sub-file-paths-append=sub
sub-file-paths-append=subs
sub-file-paths-append=subtitles

## Cache
cache=yes
demuxer-seekable-cache=yes

# ~2 GiB in bytes
demuxer-max-bytes=2147483647
demuxer-max-back-bytes=2147483647

## Screenshot Settings
screenshot-format=png
screenshot-png-compression=0
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=yes
screenshot-directory="/home/valley/pictures/mpv/"

## Misc Settings
save-position-on-quit=yes                                                   # Save position of video automatically.
stop-screensaver=yes                                                        # Disable xscreensaver during media playback.
log-file=/home/valley/.config/mpv/mpv.log                                   # Log mpv to set directory.
prefetch-playlist=yes                                                       # Automatically prefetch/buffer files later in the playlist.

## Profiles
[no_vp]
ytdl-format=bestvideo[height<=?1080][fps<=?60][vcodec!=vp9]+bestaudio/best  # Resolution of 1080p or next best, FPS of 60 or next best, NEVER use vp9 codec, always use best audio.

[vp]
ytdl-format=bestvideo[height<=?1080][fps<=?60][vcodec=vp9]+bestaudio/best   # Resolution of 1080p or next best, FPS of 60 or next best, always use best audio.

[ballsy]
framedrop=no                                                                # Do not drop frames.