Opened 5 years ago

Closed 5 years ago

#8583 closed defect (invalid)

ladspa and lv2 too many inputs

Reported by: Kristjan Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hey,

I wanted to test some lv2 plugins with sidechaining but it does not seem to be supported, it gives me errors.

[AVFilterGraph @ 0x555a2bb0d140] Too many inputs specified for the "lv2" filter.

Command below. Same thing happens with ladspa version of the plugin

ffmpeg -i peq.wav -i dyn.wav -filter_complex "[1:a][0:a]lv2=p=http\\\\://lsp-plug.in/plugins/lv2/sc_dyna_processor_stereo:c=sct=2|sla=10.000000|atd=10.000000|rtd=4999.998047|tl0=0.398107|gl0=0.398107|al0=1.000000|at0=10.000000|re0=true|rl0=0.398107|rt0=10.000000|pe1=true|tl1=0.031623|gl1=0.112202|al1=1.000000|at1=10.000000|re1=true|rl1=0.031623|rt1=10.000000|pe2=true|tl2=0.003162|gl2=0.035481|al2=1.000000|at2=10.000000|re2=true|rl2=0.003162|rt2=30.000000|tl3=0.003162|gl3=0.003162|al3=1.000000|hlr=100.000000"  -b:a:0 256k uu.aac
ffmpeg version N-96841-g7e08a92 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/root/bin --enable-gpl --enable-ladspa --enable-lv2 --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
  libavutil      56. 42.100 / 56. 42.100
  libavcodec     58. 73.102 / 58. 73.102
  libavformat    58. 39.101 / 58. 39.101
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 77.100 /  7. 77.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'peq.wav':
  Duration: 00:03:38.02, bitrate: 1536 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, wav, from 'dyn.wav':
  Duration: 00:03:38.02, bitrate: 1536 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
[AVFilterGraph @ 0x555a2bb0d140] Too many inputs specified for the "lv2" filter.
Error initializing complex filters.
Invalid argument

Change History (1)

comment:1 by Elon Musk, 5 years ago

Resolution: invalid
Status: newclosed

No such plugin supports multiple inputs.
You are supposed to join several inputs into channels and than split them(if needed) after processing.

Note: See TracTickets for help on using tickets.