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

51 lines
1.6 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
2018-08-06 19:27:50 +02:00
# also use custom fonts for ass subtitles
2018-11-30 17:06:11 +01:00
sub-ass-override = force
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:r=25:draw=dot[avectorscope];[a2]aresample=44100,showwaves=s=1280x600:r=25:mode=p2p:colors=red|lightgreen[showwaves];[a3]aresample=112000,showspectrum=s=1920x600:color=rainbow:slide=scroll:gain=1,fps=25[showspectrum];[showwaves][avectorscope]hstack=shortest=1[top];[top][showspectrum]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:r=25:draw=dot[avectorscope];[a2]aresample=44100,showwaves=s=1280x540:r=25:mode=p2p:colors=red|lightgreen[showwaves];[a3]aresample=112000,showspectrum=s=1920x540:color=rainbow:slide=scroll:gain=1,fps=25[showspectrum];[showwaves][avectorscope]hstack=shortest=1[top];[top][showspectrum]vstack=shortest=1,fps=25[vo]'
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