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

77 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# configure fonts
osd-font = 'DINW07-Medium'
sub-font = 'Gandhi Sans'
sub-bold = yes
sub-font-size = 44
sub-use-margins = no
# make vobsub/PGS subtitles look nicer
sub-gauss=0.5
sub-gray=yes
# dont correct pitch of audio
#audio-pitch-correction = no
# max volume
volume-max = 150
# downmix to stereo by default
audio-channels = stereo
# 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
hwdec = vaapi
# do not show images only one second
image-display-duration = inf
# better quality (but not too high, otherwise too high frame drop)
profile = gpu-hq
deband = no
# screenshots
screenshot-format = png
screenshot-directory = ~/Videos/screenshots/unsorted/
[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:font=Iosevka sbruder|Bold:fontcolor=0xff8000:r=25[showcqt];[showwaves][avectorscope]hstack=shortest=1[top];[top][showcqt]vstack=shortest=1,fps=25[vo]'
alpha = no
[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:font=Iosevka sbruder|Bold:fontcolor=0xff8000:r=25[showcqt];[showwaves][avectorscope]hstack=shortest=1[top];[top][showcqt]vstack=shortest=1,fps=25[vo]'
alpha = no
[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:font=Iosevka sbruder|Bold:fontcolor=0xff8000:r=25[showcqt];[showwaves][showcqt]vstack=shortest=1,fps=25,format=rgba[vo]'
alpha = no
[hqencode]
ovc = libx264
ovcopts-add = crf=18
oac = flac
audio-format = s16
[rain]
lavfi-complex = 'amovie=https\\://s3.sbruder.de/cdn/rain.opus,volume=0.5[rain];[aid1][rain]amix=2:duration=shortest[ao]'
[lq]
scale = bicubic_fast
cscale = bicubic_fast
dscale = bicubic_fast
[interpolate]
blend-subtitles = yes
video-sync = display-resample
interpolation = yes
tscale = box
tscale-window = sphinx
tscale-radius = 1.0
tscale-clamp = 0.0