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

58 lines
2 KiB
Plaintext
Raw Normal View History

2018-08-06 19:27:50 +02:00
# Configure fonts
osd-font = 'DINW07-Medium'
2018-11-21 11:15:06 +01:00
sub-font = 'TeX Gyre Heros'
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
2019-02-21 23:14:23 +01:00
# use styles from ass
sub-ass-override = no
2018-08-06 19:27:50 +02:00
# 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
# prefer vp9/opus with youtube-dl
ytdl-format=bestvideo[ext=webm]+bestaudio[ext=webm]/bestvideo+bestaudio/best
# 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
image-display-duration=inf
2019-01-04 13:58:25 +01:00
2019-01-04 14:15:34 +01:00
# better upscaling
scale=spline36
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:font=Iosevka sbruder|Bold:fontcolor=0xff8000: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:font=Iosevka sbruder|Bold:fontcolor=0xff8000: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]
2019-03-04 14:24:29 +01:00
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]'
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
ovcopts-add = g=120
oac = flac
audio-format = s16
2019-03-31 21:49:11 +02:00
[rain]
lavfi-complex = 'amovie=https\\://s3.sbruder.de/cdn/rain.opus,volume=0.5[rain];[aid1][rain]amix=2[ao]'