Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

kdenlive: cannot use ladspa plugin

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
gkmac
Guru
Guru
Posts: 336
Joined: Sun Jan 19, 2003 3:13 pm
Location: West Sussex, UK

kdenlive: cannot use ladspa plugin

  • Quote

Post by gkmac » Tue Oct 22, 2024 8:29 pm

In kdenlive it's apparently possible to use LADSPA plugins but I cannot get them working at all, specificly the "noise-suppression-for-voice" plugin.

There are guides for getting it working on other distros such as this one which mention compiling it from source and copying librnnoise_ladspa.so into /usr/lib/ladspa; that's precisely what the Gentoo ebuild does (in Gentoo's case it goes into /usr/lib64/ladspa). The guides simply say "restart kdenlive afterwards and you'll find it by searching in the Effects list" but it never appears for me.

The effect is visible in Audacity so the plugin is definitely there, but starting kdenlive from the command line reveals a few lines of plugin not available: "ladspa"

I've tried re-emerging kdenlive and I've even tried installing ladspa-sdk then re-emerging kdenlive afterwards, but it still persists with those plugin not available: "ladspa" warnings and searching for "noise" in the effects list still shows no sign of "Noise Suppressor for Voice".

Any ideas?
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Tue Oct 22, 2024 8:53 pm

This looks like the same problem I had with easyeffects. And this is how I solved it:

Code: Select all

lrwxrwxrwx 1 root root 17 2024-03-28   /usr/lib/ladspa -> /usr/lib64/ladspa
lrwxrwxrwx 1 root root 15 2024-03-28   /usr/lib/lv2 -> /usr/lib64/lv2
I consider it a workaround rather than a proper solution, but it works, so whatever :roll:
Make Pipewire a system service
Top
gkmac
Guru
Guru
Posts: 336
Joined: Sun Jan 19, 2003 3:13 pm
Location: West Sussex, UK

  • Quote

Post by gkmac » Tue Oct 22, 2024 9:03 pm

Good thinking about those symlinks. Unfortunately it doesn't work, still getting plugin not available: "ladspa" and still no sign of the plugin appearing in kdenlive.
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Tue Oct 22, 2024 9:39 pm

Well, if it's not the location, then maybe some dependency needs an interface?
Have you enabled ladspa USE flag? Kdenlive doesn't like my configuration, so I can't just --pretend install it do see the all dependencies, but I remember it being opt-in for my toys. Same thing applies to lv2.
Make Pipewire a system service
Top
gkmac
Guru
Guru
Posts: 336
Joined: Sun Jan 19, 2003 3:13 pm
Location: West Sussex, UK

  • Quote

Post by gkmac » Tue Oct 22, 2024 9:56 pm

szatox wrote:Have you enabled ladspa USE flag? ... Same thing applies to lv2.
The kdenlive ebuild itself does not have either of those USE flags.

I've enabled both those USE flags, re-emerged everything that used those USE flags and re-emerged kdenlive yet again afterwards. Still no change.
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Tue Oct 22, 2024 11:48 pm

Damn, that's not good. I'm outside of familiar territory now and it's pretty hard to come up with new ideas without having the problem right in front of me.
starting kdenlive from the command line reveals a few lines of plugin not available: "ladspa"
Kinda grasping at straws here, but a bunch of things depend on media-libs/ladspa-sdk. Could it be a missing dependency?
Does kdenlive have a verbose or debug switch enabling more detailed messages?

In the end, there's always the option of running kdenlive under strace. It does print e.g. calls to open a file, which may tell you what exactly it can't find, as well as a bunch of other things we wouldn't guess to ask about, but might still recognize as a problem when we see it.
Make Pipewire a system service
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Oct 22, 2024 11:52 pm

If you go the strace route, I suggest starting with strace --decode-fds -e trace=file -f -tt -o /tmp/kdenlive.strace kdenlive --arg1 --arg2. By restricting it to file related operations, we can cut down on noise, and hopefully not cut out the critical piece. You could omit -e trace=file to get a much more verbose trace.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Wed Oct 23, 2024 12:22 am

gkmac.

I did a quick search in KDE/kdenlive source code for word "ladspa".

Does

Code: Select all

ladspa_declipper.xml
ladspa_equalizer.xml
ladspa_equalizer_15.xml
ladspa_librnnoise.xml
ladspa_limiter.xml
ladspa_phaser.xml
ladspa_pitch.xml
ladspa_pitch_scale.xml
ladspa_rate_scale.xml
ladspa_reverb.xml
ladspa_room_reverb.xml
ladspa_vinyl.xml
Ring any bell?

Do you know where is ${KDE_INSTALL_DATADIR}${DATA_INSTALL_PREFIX}/effects)?

Can you find for example am_pitchshift_1433.so on your file system?

I can dig deeper but just want to understand current state on your setting for now. Will try tomorrow.
Top
ecko
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Sun Jul 04, 2010 7:34 pm

  • Quote

Post by ecko » Sun Jan 05, 2025 10:56 pm

I have the same issue. I have kdenlive-24.12.0, media-libs/mlt-7.28.0-r1, and I installed media-plugins/gst-plugins-ladspa-1.22.12. The ladspa plugins don't appear in kdenlive. Like the above poster, the CLI reports several times 'plugin not available: "ladspa"'.

The strace command above has several lines of the kind:

Code: Select all

20802 22:45:40.280080 openat(AT_FDCWD</home/USER/MY/PATH>, "/usr/share/kdenlive/effects/ladspa_limiter.xml", O_RDONLY|O_CLOEXEC) = 37</usr/share/kdenlive/effects/ladspa_limiter.xml>
These xml files in /usr/share do exist on the disk. I am not sure if the effects show up in kdenlive (I don't think so) but anyway are a small fraction of the LADSPA effects that should appear, as per https://docs.kdenlive.org/en/effects_an ... _list.html
Top
ecko
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Sun Jul 04, 2010 7:34 pm

  • Quote

Post by ecko » Sun Jan 05, 2025 11:05 pm

pingtoo wrote: Can you find for example am_pitchshift_1433.so on your file system?
In my case, media-libs/ladspa-sdk-1.17-r2 only has the following so files:

Code: Select all

/usr/lib64/ladspa/amp.so
/usr/lib64/ladspa/delay.so
/usr/lib64/ladspa/filter.so
/usr/lib64/ladspa/noise.so
/usr/lib64/ladspa/sine.so
and media-plugins/gst-plugins-ladspa only has /usr/lib64/gstreamer-1.0/libgstladspa.so

Filename am_pitchshift_1433.so does not exist on my filesystem ( find / -xdev -name am_p* ).



Additional note:
  • MLT seems to give access to the LADSPA filters https://www.mltframework.org/plugins/FilterLadspa-1404/ (but they don't show up this way either)
  • related to the sound plugins, kdenlive website says "Kdenlive will auto-detect and make available any supported LADSPA plug-in packages from your distribution. For the greatest compatibility, please use the AppImage version of Kdenlive." https://docs.kdenlive.org/en/effects_an ... _list.html But as I tried, the AppImage version gives an error at launch ("Could not create the video preview window. There is something wrong with your Kdenlive install or your driver settings, please fix it.") then segfaults. So I cannot test the LADSPA plugins with the AppImage version.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Sun Jan 05, 2025 11:51 pm

The "am_pitchshift_1433.so" came from media-plugins/swh-plugins.
Top
ecko
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Sun Jul 04, 2010 7:34 pm

  • Quote

Post by ecko » Mon Jan 06, 2025 1:44 am

I installed cmt-plugins, tap-plugins, swh-plugins and rebuilt kdenlive. I have "/usr/lib64/ladspa/am_pitchshift_1433.so". The results are the same with kdenlive (same CLI messages, same audio filters available), with kdenlive-24.12.0 and -24.08.3.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Mon Jan 06, 2025 1:26 pm

ecko wrote:I installed cmt-plugins, tap-plugins, swh-plugins and rebuilt kdenlive. I have "/usr/lib64/ladspa/am_pitchshift_1433.so". The results are the same with kdenlive (same CLI messages, same audio filters available), with kdenlive-24.12.0 and -24.08.3.
I don't have kdenlive on my system, so I can not really tell you where to look. But I vaguely remember when I do the research about this. I remember I saw somewhere said that item is hidden somewhere in the menu system it is not obvious that it is use the plugins but if you don't have them install the menu item will gray out.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic