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
2019-12-25 12:06:25 +00:00

65 lines
2.1 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
# dont correct pitch of audio
#audio-pitch-correction = no
# max volume
volume-max = 150
# 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
profile = gpu-hq
# 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
ovcopts-add = g=120
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]'
[no-crop]
script-opts = matroska_crop-dynamic_hwdec=no
[lq]
deband = no
scale = bilinear
cscale = bilinear
dscale = bilinear