ladspa


Load a LADSPA (Linux Audio Developer's Simple Plugin API) plugin.

To enable compilation of this filter you need to configure FFmpeg with --enable-ladspa.

'file, f'

Specifies the name of LADSPA plugin library to load. If the environment variable LADSPA_PATH is defined, the LADSPA plugin is searched in each one of the directories specified by the colon separated list in LADSPA_PATH, otherwise in the standard LADSPA paths, which are in this order: 'HOME/.ladspa/lib/', '/usr/local/lib/ladspa/', '/usr/lib/ladspa/'.

'plugin, p'

Specifies the plugin within the library. Some libraries contain only one plugin, but others contain many of them. If this is not set filter will list all available plugins within the specified library.

'controls, c'

Set the '|' separated list of controls which are zero or more floating point values that determine the behavior of the loaded plugin (for example delay, threshold or gain). Controls need to be defined using the following syntax: c0=value0|c1=value1|c2=value2|..., where valuei is the value set on the i-th control. Alternatively they can be also defined using the following syntax: value0|value1|value2|..., where valuei is the value set on the i-th control. If 'controls' is set to help, all available controls and their valid ranges are printed.

'sample_rate, s'

Specify the sample rate, default to 44100. Only used if plugin have zero inputs.

'nb_samples, n'

Set the number of samples per channel per each output frame, default is 1024. Only used if plugin have zero inputs.

'duration, d'

Set the minimum duration of the sourced audio. See for the accepted syntax. Note that the resulting duration may be greater than the specified duration, as the generated audio is always cut at the end of a complete frame. If not specified, or the expressed duration is negative, the audio is supposed to be generated forever. Only used if plugin have zero inputs.

This filter supports the following commands:

'cN'

Modify the N-th control value.

If the specified value is not valid, it is ignored and prior one is kept.