From 77ae889957ee350e27e11b004ea1a14cbc38051d Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 14 Jan 2019 00:21:31 +0000 Subject: [PATCH] [mpv] musicvideo preset: resample audio to 44.1k before feeding into showwaves --- home/.config/mpv/mpv.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/mpv/mpv.conf b/home/.config/mpv/mpv.conf index 906e8b0..7a5c980 100644 --- a/home/.config/mpv/mpv.conf +++ b/home/.config/mpv/mpv.conf @@ -35,5 +35,5 @@ image-display-duration=inf scale=spline36 [musicvideo] -lavfi-complex = '[aid1]asplit=4[ao][a1][a2][a3];[a1]avectorscope=m=lissajous:s=640x600:r=25:draw=dot[avectorscope];[a2]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[top];[top][showspectrum]vstack,fps=25[vo]' +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]' alpha = no