[mpv] musicvideo preset: resample audio to 44.1k before feeding into showwaves

This commit is contained in:
Simon Bruder 2019-01-14 00:21:31 +00:00
parent 3292b18172
commit 77ae889957
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -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