diff options
author | Muhammad Faiz | 2024-03-10 05:45:18 +0700 |
---|---|---|
committer | Anthony Wang | 2024-07-08 18:30:26 -0500 |
commit | 88dba02003b37cd36bfff3d3401582b2585ac10f (patch) | |
tree | e3689b758ae4723015e97a9e32f1086cbf9b0a71 | |
parent | 5e0012f2483273bafbb63a4aabf330b442db6477 (diff) |
visualizer.lua: remove afifo filter
Fix #34
-rw-r--r-- | mpv/scripts/visualizer.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mpv/scripts/visualizer.lua b/mpv/scripts/visualizer.lua index 6eee445..5ab5272 100644 --- a/mpv/scripts/visualizer.lua +++ b/mpv/scripts/visualizer.lua @@ -178,7 +178,7 @@ local function get_visualizer(name, quality, vtrack) local count = math.ceil(w * 180 / 3840 / fps) -- This was originally 1920 return "[aid1] asplit [ao]," .. - "afifo, aformat = channel_layouts = stereo," .. + "aformat = channel_layouts = stereo," .. "firequalizer =" .. "gain = '1.4884e8 * f*f*f / (f*f + 424.36) / (f*f + 1.4884e8) / sqrt(f*f + 25122.25)':" .. "scale = linlin:" .. @@ -205,7 +205,6 @@ local function get_visualizer(name, quality, vtrack) elseif name == "avectorscope" then return "[aid1] asplit [ao]," .. - "afifo," .. "aformat =" .. "sample_rates = 192000," .. "avectorscope =" .. @@ -216,7 +215,6 @@ local function get_visualizer(name, quality, vtrack) elseif name == "showspectrum" then return "[aid1] asplit [ao]," .. - "afifo," .. "showspectrum =" .. "size =" .. w .. "x" .. h .. ":" .. "win_func = blackman [vo]" @@ -226,7 +224,7 @@ local function get_visualizer(name, quality, vtrack) local axis_h = math.ceil(w * 12 / 1920) * 4 return "[aid1] asplit [ao]," .. - "afifo, aformat = channel_layouts = stereo," .. + "aformat = channel_layouts = stereo," .. "firequalizer =" .. "gain = '1.4884e8 * f*f*f / (f*f + 424.36) / (f*f + 1.4884e8) / sqrt(f*f + 25122.25)':" .. "scale = linlin:" .. @@ -261,7 +259,6 @@ local function get_visualizer(name, quality, vtrack) elseif name == "showwaves" then return "[aid1] asplit [ao]," .. - "afifo," .. "showwaves =" .. "size =" .. w .. "x" .. h .. ":" .. "r =" .. fps .. ":" .. |