| Summary: | Wrong LADSPA control indexes when plugin exposes audio ports before control ports | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | sachzwang.kdebugs |
| Component: | Audio Effects & Transitions | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | NEEDSINFO WAITINGFORINFO | ||
| Severity: | normal | CC: | berndmj |
| Priority: | NOR | ||
| Version First Reported In: | 25.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
diff showing my workaround to make deepfilter-ladspa plugin compatible with kdenlive
output of the 'analyseplugin' tool for patched/unpatched plugin, with inline comments explaining the problem |
||
|
Description
sachzwang.kdebugs
2025-09-29 12:30:50 UTC
https://bugs.kde.org/show_bug.cgi?id=442197 seems related. "listplugins" and "analyseplugin" can be used to check the ordering of audio/control ports. I reordered the ports in the plugin to expose the control ports first, and the problem is gone. So I'm pretty sure the issue lies there. I don't know enough about Kdenlive internals to create a patch. (In reply to sachzwang.kdebugs from comment #2) > I reordered the ports in the plugin to expose the control ports first, and > the problem is gone. So I'm pretty sure the issue lies there. I don't know > enough about Kdenlive internals to create a patch. How did you do that? If I understand what you did I may be able to work on the effect/filter. Which ones did not work? Created attachment 189091 [details]
diff showing my workaround to make deepfilter-ladspa plugin compatible with kdenlive
Created attachment 189093 [details]
output of the 'analyseplugin' tool for patched/unpatched plugin, with inline comments explaining the problem
(In reply to Bernd from comment #3) > (In reply to sachzwang.kdebugs from comment #2) > > I reordered the ports in the plugin to expose the control ports first, and > > the problem is gone. So I'm pretty sure the issue lies there. I don't know > > enough about Kdenlive internals to create a patch. > > How did you do that? The diff above shows how, but it's only a workaround in this particular plugin, not a fix for kdenlive. > If I understand what you did I may be able to work on > the effect/filter. Which ones did not work? Any plugin that exposes audio ports before control ports, for example the DeepFilterNet plugin I mentioned above. What the plugin does is perfectly fine by LADSPA spec. The solution is not to change the LADSPA spec and all such LADSPA plugins. Kdenlive has to be changed so it can handle LADSPA plugins which expose audio ports before control ports. |