added mpv config

This commit is contained in:
kageru 2018-02-07 13:37:26 +01:00
parent 1f173b571b
commit 985eb47e93
2 changed files with 126 additions and 0 deletions

20
.config/mpv/input.conf Executable file
View File

@ -0,0 +1,20 @@
AXIS_UP add volume 2
AXIS_DOWN add volume -2
Shift+RIGHT frame-step
Shift+LEFT frame-back-step
Shift+UP add volume 10
Shift+DOWN add volume -10
#j vf toggle deband
ctrl+d vf toggle yadif
a cycle audio
LEFT osd-bar seek -5 relative+exact
RIGHT osd-bar seek 5 relative+exact
# This displays statistics of the currently played file
i show_text "${osd-ass-cc/0}{\\fs11}{\\fnSource Sans Pro}{\\bord1}{\\3c&H262626&}{\\alpha&H11}\\N{\\b1}File:{\\b0}\\h\\h${osd-ass-cc/1}${filename}${osd-ass-cc/0}\\N\\h\\h\\h\\h\\h{\\b1}${?media-title:Title:\\h\\h}{\\b0}${osd-ass-cc/1}${?media-title:${media-title}}${osd-ass-cc/0}${?chapter:\\N\\h\\h\\h\\h\\h}{\\b1}${?chapter:Chapter:\\h\\h}{\\b0}${osd-ass-cc/1}${?chapter:${chapter}}${osd-ass-cc/0}${?cache-used:\\N\\h\\h\\h\\h\\h}{\\b1}${?cache-used:Cache:\\h\\h}{\\b0}${?cache-used:${cache-used}\\h\\h+${demuxer-cache-duration} sec}\\N\\N{\\b1}Video:{\\b0}\\h\\h${video-codec}\\N\\h\\h\\h\\h\\h{\\b1}A-V:{\\b0}\\h\\h${avsync}\\N\\h\\h\\h\\h\\h{\\b1}Dropped:{\\b0}\\h\\h${drop-frame-count}\\h\\h\\h\\h\\h{\\b1}VO:{\\b0}\\h\\h${vo-drop-frame-count}\\N\\h\\h\\h\\h\\h{\\b1}FPS:{\\b0}\\h\\h${fps} (specified)\\h\\h${estimated-vf-fps} (estimated)\\N\\h\\h\\h\\h\\h{\\b1}Native Resolution:{\\b0}\\h\\h${video-params/w} x ${video-params/h}\\N\\h\\h\\h\\h\\h{\\b1}Window Scale:{\\b0}\\h\\h${window-scale}\\N\\h\\h\\h\\h\\h{\\b1}Aspect Ratio:{\\b0}\\h\\h${video-params/aspect}\\N\\h\\h\\h\\h\\h{\\b1}Pixel format:{\\b0}\\h\\h${video-params/pixelformat}\\N\\h\\h\\h\\h\\h{\\b1}Colormatrix:{\\b0}\\h\\h${video-params/colormatrix}\\N\\h\\h\\h\\h\\h{\\b1}Primaries:{\\b0}\\h\\h${video-params/primaries}\\N\\h\\h\\h\\h\\h{\\b1}Levels:{\\b0}\\h\\h${video-params/colorlevels}${?packet-video-bitrate:${!=packet-video-bitrate==0:\\N\\h\\h\\h\\h\\h}}{\\b1}${?packet-video-bitrate:${!=packet-video-bitrate==0:Bitrate:\\h\\h}}{\\b0}${?packet-video-bitrate:${!=packet-video-bitrate==0:${packet-video-bitrate} kbps}}\\N\\N{\\b1}Audio:{\\b0}\\h\\h${audio-codec}\\N\\h\\h\\h\\h\\h{\\b1}Sample Rate:{\\b0}\\h\\h${audio-params/samplerate}\\N\\h\\h\\h\\h\\h{\\b1}Channels:{\\b0}\\h\\h${audio-params/channel-count}${?packet-audio-bitrate:${!=packet-audio-bitrate==0:\\N\\h\\h\\h\\h\\h}}{\\b1}${?packet-audio-bitrate:${!=packet-audio-bitrate==0:Bitrate:\\h\\h}}{\\b0}${?packet-audio-bitrate:${!=packet-audio-bitrate==0:${packet-audio-bitrate} kbps}}" 8000
h add sub-delay -0.041708333333
l add sub-delay 0.041708333333
j add sub-pos 1
k add sub-pos -1

106
.config/mpv/mpv.conf Executable file
View File

@ -0,0 +1,106 @@
#Allgemein
#opengl-backend=win
#vo=opengl
vo=gpu
#gpu-context=open-gl
gpu-api=vulkan
#profile=opengl-hq
profile=gpu-hq
#hwdec=auto-copy
spirv-compiler=shaderc
#force-window=yes
osd-playing-msg=playing: ${media-title} ${!window-scale==1.000:(scale: ${window-scale})}
#player-operation-mode=pseudo-gui
#Subs
demuxer-mkv-subtitle-preroll
#sub-ass-vsfilter-blur-compat=no
#Volume
volume=60
volume-max=100
#Screenshot
screenshot-format=png
screenshot-high-bit-depth=no
screenshot-png-compression=5
#Deband
deband=yes
deband-iterations=1
deband-threshold=32
deband-range=16
deband-grain=0
#Noise & Resizer
#Resizer
#scaler-resizes-only
scale=haasnsoft
#scale=ewa_lanczossharp
scale-antiring=0.7
#dscale=ewa_lanczossoft
dscale=haasnsoft
dscale-antiring=0.7
cscale=haasnsoft
#cscale-window=blackman
#cscale-radius=3
#cscale-antiring=0.7
#Interpolation
opengl-waitvsync=yes
interpolation=yes
blend-subtitles=yes
#interpolation-threshold=0.01
video-sync=display-resample
#interpolation=yes
#tscale=linear
#Deinterlace
#vf-defaults=yadif
#deinterlace=auto
[encode]
scale=spline36
cscale=spline36
deband=no
interpolation=no
[dvd]
#fbo-format=rgba32f # for fsrcnn
#glsl-shader="/home/kageru/.config/mpv/fsrcnn/FSRCNN_24_4_2.glsl"
vf=vapoursynth=~/.config/mpv/scripts/dvd.vpy
glsl-shader="~/.config/mpv/shaders/ravu-r2.hook"
glsl-shader="/home/kageru/.config/mpv/shaders/grain2.glsl"
deband=yes
deband-iterations=1
deband-threshold=80
deband-range=10
deband-grain=0
[terminal]
force-window=no
term-osd-bar
player-operation-mode=cplayer
osd-playing-msg=
[sr]
glsl-shader="~/.config/mpv/shaders/ravu-r2.hook"
[db]
deband=yes
deband-iterations=2
deband-threshold=80
deband-range=16
deband-grain=0
[stream]
scale=spline36
interpolation=no
[grain]
glsl-shader="/home/kageru/.config/mpv/shaders/grain2.glsl"