mpv --af=ladspa=/usr/lib/ladspa/bs2b.so:bs2b:[725,4.5] some.ogg
It's a compilation problem
Thank you for the quick reply. I think that other users might be interested in using LADSPA plugins or other audio/video filters as well, so I wonder what should happen next in order to fix this in the community repo. (I'm new to Arch and I don't compile mpv myself.)
]]>I have:
$ mpv --af=help | egrep "ladspa|bs2b"
ladspa : LADSPA plugin loader
bs2b : Bauer stereophonic-to-binaural audio filter
And during compilation, you should see:
Checking for LADSPA plugin support : yes
Checking for libbs2b audio filter support : yes
$ mpv --af=ladspa=/usr/lib/ladspa/cmt.so:amp_stereo:1 some.avi
Option af: ladspa doesn't exist.
Error parsing option af (option parameter could not be parsed)
Setting commandline option --af=ladspa=/usr/lib/ladspa/cmt.so:amp_stereo:1 failed.
Exiting... (Fatal error)
(The path to the LADSPA plugin exists on my system.)
I tried this:
$ mpv --af=help
Available audio filters:
dummy : dummy
delay : Delay audio filter
channels : Insert or remove channels
format : Force audio format
volume : Volume control audio filter
equalizer : Equalizer audio filter
pan : Panning audio filter
surround : Surround decoder filter
sub : Audio filter for adding a sub-base channel
export : Sound export filter
drc : Dynamic range compression filter
extrastereo : Increase difference between audio channels
lavcac3enc : runtime encode to ac3 using libavcodec
lavrresample : Sample frequency conversion using libavresample
sweep : sine sweep
hrtf : HRTF Headphone
center : Audio filter for adding a center channel
sinesuppress : Sine Suppress
karaoke : Simple karaoke/voice-removal audio filter
scaletempo : Scale audio tempo while maintaining pitch
lavfi : libavfilter bridge
convert24 : Convert between 24 and 32 bit sample format
convertsignendian: Convert between sample format sign/endian
While man mpv suggests that LADSPA might be supported, it looks like it is actually not, at least not for the current community/mpv 0.3.5-1 release. I looked it up and this site suggests that there is a ladspa flag for compilation which, I presume, has not been used/enabled for compilation here.
EDIT: I just tried the bs2b filter and it fails just the same way:
Option af: bs2b doesn't exist.
Error parsing option af (option parameter could not be parsed)
Setting commandline option --af=bs2b=profile=default failed.
Exiting... (Fatal error)
So, did I forget to install something? Or is it a compilation problem?
]]>