This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.config/mpv/mpv.conf

83 lines
2.5 KiB
Plaintext
Raw Normal View History

2019-08-25 16:28:28 +02:00
# configure fonts
2018-08-06 19:27:50 +02:00
osd-font = 'DINW07-Medium'
2019-06-04 22:59:41 +02:00
sub-font = 'Gandhi Sans'
2018-11-30 17:06:11 +01:00
sub-bold = yes
2018-11-21 11:15:06 +01:00
sub-font-size = 44
sub-use-margins = no
2020-08-12 16:36:40 +02:00
sub-border-size = 2
2019-12-25 16:20:03 +01:00
# make vobsub/PGS subtitles look nicer
sub-gauss=0.5
sub-gray=yes
2018-08-06 19:27:50 +02:00
# dont correct pitch of audio
#audio-pitch-correction = no
# max volume
volume-max = 150
# downmix to stereo by default
audio-channels = stereo
2018-08-06 19:27:50 +02:00
# i18n
#alang = ger,de,deu,eng,en
#slang = ger,de,deu,eng,en
# allow seeking in streamed media
force-seekable
# enable hardware decoding when avaliable
2018-10-14 15:00:04 +02:00
hwdec = vaapi
2018-08-06 20:06:57 +02:00
# do not show images only one second
2019-08-25 16:28:28 +02:00
image-display-duration = inf
2019-01-04 13:58:25 +01:00
2019-10-23 18:03:47 +02:00
# better quality (but not too high, otherwise too high frame drop)
profile = gpu-hq
2019-10-23 18:03:47 +02:00
deband = no
2020-04-27 04:53:22 +02:00
dither-depth = auto
2019-01-04 14:15:34 +01:00
2019-08-25 16:45:16 +02:00
# screenshots
screenshot-format = png
screenshot-directory = ~/Videos/screenshots/unsorted/
2019-01-04 13:58:25 +01:00
[musicvideo]
lavfi-complex = '[aid1]asplit=4[ao][a1][a2][a3];[a1]avectorscope=m=lissajous:s=640x600:draw=dot:r=25[avectorscope];[a2]aresample=44100,showwaves=s=1280x600:mode=p2p:colors=red|lightgreen:r=25[showwaves];[a3]showcqt=s=1920x600:axis=0:axis_h=0:r=25[showcqt];[showwaves][avectorscope]hstack=shortest=1[top];[top][showcqt]vstack=shortest=1,fps=25[vo]'
2019-01-04 13:58:25 +01:00
alpha = no
2019-01-26 16:08:38 +01:00
[musicvideo-1080]
lavfi-complex = '[aid1]asplit=4[ao][a1][a2][a3];[a1]avectorscope=m=lissajous:s=640x540:draw=dot:r=25[avectorscope];[a2]aresample=44100,showwaves=s=1280x540:mode=p2p:colors=red|lightgreen:r=25[showwaves];[a3]showcqt=s=1920x540:axis=0:axis_h=0:r=25[showcqt];[showwaves][avectorscope]hstack=shortest=1[top];[top][showcqt]vstack=shortest=1,fps=25[vo]'
2019-01-26 16:08:38 +01:00
alpha = no
2019-01-26 16:08:51 +01:00
2019-03-03 18:03:12 +01:00
[musicvideo-c64]
lavfi-complex = '[aid1]channelsplit=4.0[mono][c1][c2][c3];[mono]channelmap=mono,asplit=2[ao][a2];[c1][c2][c3]join=inputs=3:channel_layout=3.0[a1];[a1]aresample=44100,showwaves=s=1920x600:mode=p2p:colors=red|lightgreen|yellow:split_channels=1:r=25[showwaves];[a2]showcqt=s=1920x600:axis=0:axis_h=0:r=25[showcqt];[showwaves][showcqt]vstack=shortest=1,fps=25,format=rgba[vo]'
2019-03-03 18:03:12 +01:00
alpha = no
2019-01-26 16:08:51 +01:00
[hqencode]
ovc = libx264
ovcopts-add = crf=18
oac = flac
audio-format = s16
2019-03-31 21:49:11 +02:00
[rain]
2019-04-01 00:19:12 +02:00
lavfi-complex = 'amovie=https\\://s3.sbruder.de/cdn/rain.opus,volume=0.5[rain];[aid1][rain]amix=2:duration=shortest[ao]'
2019-08-05 01:37:35 +02:00
[lq]
2019-10-23 18:03:47 +02:00
scale = bicubic_fast
cscale = bicubic_fast
dscale = bicubic_fast
2019-10-30 17:17:14 +01:00
[interpolate]
blend-subtitles = yes
video-sync = display-resample
interpolation = yes
tscale = box
tscale-window = sphinx
tscale-radius = 1.0
tscale-clamp = 0.0
2020-04-25 02:56:45 +02:00
[clear-speed]
# https://github.com/mpv-player/mpv/issues/4418#issuecomment-368272929
af-add = scaletempo=stride=28:overlap=.9:search=25