From 6644bddb74bf05b6ced4946b905f581d1bc6c395 Mon Sep 17 00:00:00 2001 From: shibao Date: Mon, 17 Jan 2022 10:13:11 -0500 Subject: [PATCH] add mpv config --- home/default/.config/mpv/mpv.conf | 103 ++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 home/default/.config/mpv/mpv.conf diff --git a/home/default/.config/mpv/mpv.conf b/home/default/.config/mpv/mpv.conf new file mode 100644 index 0000000..250d773 --- /dev/null +++ b/home/default/.config/mpv/mpv.conf @@ -0,0 +1,103 @@ +# use gui +player-operation-mode=pseudo-gui + +################## +# video settings # +################## + +# force starting with centered window +geometry=50%:50% + +# don't allow a new window to have a size larger than 90% of the screen size +autofit-larger=90%x90% + +# Specify high quality video rendering preset (for --vo=gpu only) +# Can cause performance problems with some drivers and GPUs. +# profile=gpu-hq +# scale=ewa_lanczossharp +# cscale=ewa_lanczossharp +# video-sync=display-resample +interpolation +tscale=oversample + +# Enable hardware decoding if available. Often, this does not work with all +# video outputs, but should work well with default settings on most systems. +# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs +# may or may not help. +# vo=xv +#hwdec=auto + +################## +# audio settings # +################## + +volume-max=250 + +# Specify default audio device. You can list devices with: --audio-device=help +# The option takes the device string (the stuff between the '...'). +#audio-device=alsa/default + +# Do not filter audio to keep pitch when changing playback speed. +# audio-pitch-correction=no + +# Output 5.1 audio natively, and upmix/downmix audio with a different format. +#audio-channels=5.1 +# Disable any automatic remix, _if_ the audio output accepts the audio format. +# of the currently played file. See caveats mentioned in the manpage. +# (The default is "auto-safe", see manpage.) +#audio-channels=auto + +################## +# other settings # +################## + +screenshot-directory=/home/default/Downloads/temp + +# Don't close after finishing media +keep-open + +# Pretend to be a web browser. Might fix playback with some streaming sites, +# but also will break with shoutcast streams. +#user-agent="Mozilla/5.0" + +# cache settings +# +# Use 150MB input cache by default. The cache is enabled for network streams only. +#cache-default=153600 +# +# Use 150MB input cache for everything, even local files. +#cache=153600 +# +# Disable the behavior that the player will pause if the cache goes below a +# certain fill size. +#cache-pause=no +# +# Read ahead about 5 seconds of audio and video packets. +# demuxer-readahead-secs=5.0 +# +# Raise readahead from demuxer-readahead-secs to this value if a cache is active. +# cache-secs=50.0 + +slang=jp,jpn,en,eng + +alang=jp,jpn,en,eng + +# Change subtitle encoding. For Arabic subtitles use 'cp1256'. +# If the file seems to be valid UTF-8, prefer UTF-8. +# (You can add '+' in front of the codepage to force it.) +#sub-codepage=cp1256 + +# You can also include other configuration files. +#include=/path/to/the/file/you/want/to/include + +############ +# Profiles # +############ + +# The options declared as part of profiles override global default settings, +# but only take effect when the profile is active. + +# The following profile can be enabled on the command line with: --profile=eye-cancer + +#[eye-cancer] +#sharpen=5