Bug 262876 - multimedia/kdenlive - almost all audio effects unavailable
Summary: multimedia/kdenlive - almost all audio effects unavailable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-28 04:53 UTC by Joachim Moskalewski
Modified: 2022-04-30 07:59 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Moskalewski 2022-03-28 04:53:50 UTC
Hi :)

The actual Kdenlive offers almost none audio effect. Starting it by command line it complains about 75 missing plugins like "avfilter.*", "volume" or "ladspa". So even fading in/out audio or adjusting its volume isn't available. I have no clue about how Kdenlive gets those effects, but a "melt-7 -query | grep volume" says there is a "avfilter.volume" available…

As a next step I've used a blank FreeBSD jail ("none package installed") and compiled Kdenlive from scratch. The result was the same. I also tried a fresh user - without a change.

At least since December 2021 the timeline showed no audio waves, and clicking the fadein or fadeout buttons there crashed Kdenlive because of missing effects; But at that time those effects still worked chosen from the menu - now they are gone…
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-04-03 07:40:10 UTC
Moin moin 

Do you see an output when launching kdnelive from the terminal like this:

https://www.reddit.com/r/openSUSE/comments/tf9qsl/kdenlive_various_plugins_missing/


mfg Tobias
Comment 2 Joachim Moskalewski 2022-04-03 07:54:15 UTC
Hello :)

Yes, it's nearly the same output:

jo@freya ~>  kdenlive
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
profilePath from KdenliveSetting::mltPath:  "/usr/local/share/mlt-7/profiles"
meltPath from KdenliveSetting::rendererPath:  "/usr/local/share/mlt-7/profiles"
Invalid metadata for  "audiochannels"
Failed to parse "audiochannels"
Invalid metadata for  "audioconvert"
Failed to parse "audioconvert"
Invalid metadata for  "imageconvert"
Failed to parse "imageconvert"
Invalid metadata for  "glsl.manager"
Failed to parse "glsl.manager"
Invalid metadata for  "movit.convert"
Failed to parse "movit.convert"
Invalid metadata for  "movit.crop"
Failed to parse "movit.crop"
Invalid metadata for  "movit.resample"
Failed to parse "movit.resample"
Invalid metadata for  "movit.resize"
Failed to parse "movit.resize"
Invalid metadata for  "telecide"
Failed to parse "telecide"
Invalid metadata for  "avcolour_space"
Failed to parse "avcolour_space"
Invalid metadata for  "avcolor_space"
Failed to parse "avcolor_space"
Invalid metadata for  "avdeinterlace"
Failed to parse "avdeinterlace"
Invalid metadata for  "swscale"
Failed to parse "swscale"
Invalid metadata for  "swresample"
Failed to parse "swresample"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "audiolevelgraph"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bs2b"
plugin not available: "avfilter.bwdif"
plugin not available: "avfilter.deblock"
plugin not available: "avfilter.dedot"
plugin not available: "avfilter.deflate"
plugin not available: "avfilter.derain"
plugin not available: "avfilter.doubleweave"
plugin not available: "avfilter.field"
plugin not available: "avfilter.framestep"
plugin not available: "avfilter.fspp"
plugin not available: "avfilter.graphmonitor"
plugin not available: "avfilter.hqdn3d"
plugin not available: "avfilter.inflate"
plugin not available: "avfilter.lagfun"
plugin not available: "avfilter.loudnorm"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
plugin not available: "avfilter.sr"
plugin not available: "avfilter.tmix"
plugin not available: "avfilter.w3fdif"
plugin not available: "avfilter.weave"
plugin not available: "avfilter.yadif"
plugin not available: "dust"
plugin not available: "volume"
plugin not available: "volume"
plugin not available: "frei0r.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.bigsh0t_eq_mask"
plugin not available: "frei0r.bigsh0t_eq_to_rect"
plugin not available: "frei0r.bigsh0t_hemi_to_eq"
plugin not available: "frei0r.bigsh0t_rect_to_eq"
plugin not available: "frei0r.bigsh0t_stabilize_360"
plugin not available: "frei0r.bigsh0t_transform_360"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "volume"
plugin not available: "grain"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa.9354877"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.unsharp_mask"
plugin not available: "volume"
plugin not available: "volume"
plugin not available: "oldfilm"
plugin not available: "rbpitch"
plugin not available: "rbpitch"
plugin not available: "region"
plugin not available: "lines"
plugin not available: "timewarp"
plugin not available: "tcolor"
plugin not available: "opencv.tracker"
plugin not available: "vignette"
plugin not available: "volume"
plugin not available: "region"
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-jo'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-jo'
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
QWidget::setMinimumSize: (effect_list/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (transition_list/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (effect_list/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (transition_list/QDockWidget) Negative sizes (0,-1) are not possible
QObject::disconnect: Unexpected nullptr parameter
QObject::disconnect: Unexpected nullptr parameter
QObject::disconnect: Unexpected nullptr parameter
qrc:/qml/timeline.qml:2022:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
=== REG FOCUS:  true
qml: item not found
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2022-04-03 08:04:57 UTC
Moin moin 

I have the same output as you (apart from the dbus errors).

When running a build from git/master however, I get

(on master) > bin/kdenlive                                                                                                                                                                             
QPaintDevice: Cannot destroy paint device that is being painted
Could not detect package type, probably default? App dir is "/zpool/homes/Tobias/git/kdenlive/b/bin"
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
profilePath from KdenliveSetting::mltPath:  "/usr/local/share/mlt-7/profiles"
meltPath from KdenliveSetting::rendererPath:  "/usr/local/bin/melt-7"
Invalid metadata for  "audiochannels"
Failed to parse "audiochannels"
Invalid metadata for  "audioconvert"
Failed to parse "audioconvert"
Invalid metadata for  "imageconvert"
Failed to parse "imageconvert"
Invalid metadata for  "telecide"
Failed to parse "telecide"
Invalid metadata for  "glsl.manager"
Failed to parse "glsl.manager"
Invalid metadata for  "movit.convert"
Failed to parse "movit.convert"
Invalid metadata for  "movit.crop"
Failed to parse "movit.crop"
Invalid metadata for  "movit.resample"
Failed to parse "movit.resample"
Invalid metadata for  "movit.resize"
Failed to parse "movit.resize"
Invalid metadata for  "avcolour_space"
Failed to parse "avcolour_space"
Invalid metadata for  "avcolor_space"
Failed to parse "avcolor_space"
Invalid metadata for  "avdeinterlace"
Failed to parse "avdeinterlace"
Invalid metadata for  "swscale"
Failed to parse "swscale"
Invalid metadata for  "swresample"
Failed to parse "swresample"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qrc:/qml/timeline.qml:2123:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }



... which loooks a bit saner -- I have no clue how to use kdenlive however :D 



mfg Tobias
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-04-03 09:09:56 UTC
Cross-reference: 

<https://forums.freebsd.org/threads/82916/>

> Sound waves are not displayed on Kdenlive and Shotcut, 
> fade in and fade out close the application.
Comment 5 Joachim Moskalewski 2022-04-03 09:18:37 UTC
D-Bus: I simply don't start it. But I've already checked Kdenlive with D-Bus enabled - without a difference.

Compiled from Git: Done that yesterday (but I didn't recompile Melt - I still used "multimedia/mlt7(-qt5)"). "make install" pointed to "~/.local" as described in the docs (I don't want to mess up my installation); But compiling Kdenlives Git 21.12.3 as well as the bleeding edge source archive didn't change anything here - I still got the "missing…" output - and no audio plugins.

How basically use Kdenlive / first steps: Use drag&drop. Top left shows the "Project Bin" - drop a video file there. Now that file is available for editing. Drag that video from there to the timeline on the bottom. Now you can edit it this track.

What's missing … first a random screenshot:
https://cdn.kde.org/screenshots/kdenlive/19-08.png
Here you'll see three blue video tracks, and one red/orange audio track in the timeline.

The waveforms of the audio tracks aren't actually available in FreeBSD.

Moving the mouse over the corners of an selected audio track in the timeline will pop up a small dot-button, which should add a simple fade in/out to the track. Kdenlive will crash because that basic function isn't available.

Beyond the Clip and Project Monitor (top right) you'll see a volume meter. That isn't shown in FreeBSD.

The top middle frame shows three tabs: Properties, Composite and: Effects, which can be used on selected tracks in the timeline. There should be many audio effects like fade in, fade out, volume (keyframeable), gain, high pass, low pass etc; They all are not available.

I haven't used Kdenlive for some months, but all of this worked in FreeBSD in 2020, and all of this still work on Debian and Windows.
Comment 6 Joachim Moskalewski 2022-04-20 12:39:06 UTC
Checked: Deinstalling Kdenlive and MLT (but leaving their build-depenencies installed), and compiling both again according to the official documentation from https://github.com/KDE/kdenlive/blob/master/dev-docs/build.md results in a not perfect, but usable Kdenlive version (not everything belonging to sound is available, but you've got audio waves, you can adjust the volume even with keyframes, fade in and out etc.).
Comment 7 Tobias C. Berner freebsd_committer freebsd_triage 2022-04-20 12:50:35 UTC
(In reply to Joachim Moskalewski from comment #6)

Intersting -- what options were used to build mlt? Are they different than the ones the port set? 

(you can check the port with for example make -VCMAKE_ARGS -C multimedia/mlt-7)


mfg Tobias
Comment 8 Joachim Moskalewski 2022-04-21 17:20:23 UTC
Oh my, that’s weird & confusing: Compiling the source without ports enables all options the mlt7-port offers - except "RUBBERBAND". And it compiles those options without having ports installed that are added by the ports tree if those options are enabled there…

Turning all those mlt7 options on results in a Kdenlive complaining 120 (!) missing plugins, but: Everything expected is available and: works.

Everything needed to get a usable Kdenlive version is to enable the option "NORMALIZE" to multimedia/mlt7. The Kdenlive versions on Windows or Debian don’t offer anything more, so: The problem is solved by just adding "NORMALIZE" to mlt7 (whatever that option does).

So that was a mlt7 problem.
Comment 9 commit-hook freebsd_committer freebsd_triage 2022-04-21 17:30:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ce7ef19e92c812150cbeb0d387a0d9aec767650

commit 4ce7ef19e92c812150cbeb0d387a0d9aec767650
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-04-21 17:25:53 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-04-21 17:29:42 +0000

    multimedia/mlt7: enable NORMALIZE by default (for multimedia/kdenlive)

    Reported by:    Joachim Moskalewski <tonne03@jmos.net>
    PR:             262876

 multimedia/mlt7/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2022-04-21 17:31:39 UTC
A commit in branch 2022Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=836bea080aa2188b4301093c84d065c94de3d1b0

commit 836bea080aa2188b4301093c84d065c94de3d1b0
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-04-21 17:25:53 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-04-21 17:30:28 +0000

    multimedia/mlt7: enable NORMALIZE by default (for multimedia/kdenlive)

    Reported by:    Joachim Moskalewski <tonne03@jmos.net>
    PR:             262876

    (cherry picked from commit 4ce7ef19e92c812150cbeb0d387a0d9aec767650)

 multimedia/mlt7/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 11 Joerg Wunsch freebsd_committer freebsd_triage 2022-04-27 21:54:53 UTC
Thanks a lot to you guys!

I have been fighting the same (and meanwhile resorted to a Linux laptop to get the job done), since I needed fadein/fadeout and didn't have the slightest idea why "volume" was "not available".

After rebuilding mlt7 with NORMALIZE enabled, it works. (Still, it tells ladspa were unavailable, but that's not as important for me as volume is.)
Comment 12 Joachim Moskalewski 2022-04-30 07:38:34 UTC
As I'm missing nothing at the moment…: What should be available by "ladspa"? I'm remembering Kdenlive offered things like low- and highpass audio filters, but as those are also gone on my alternative installations, I don't think that this is FreeBSD related: The effects Kdenlive offers has changed over the 8 years I'm using it.

BTW: If your enabling OpenCV, and compiled OpenCV with GTK3, and just having an even unused image in your Kdenlive project, the render process crashes with a "GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported"…
Comment 13 Joerg Wunsch freebsd_committer freebsd_triage 2022-04-30 07:59:37 UTC
(In reply to Joachim Moskalewski from comment #12)

% fgrep -l ladspa /usr/local/share/kdenlive/effects/*
/usr/local/share/kdenlive/effects/ladspa_declipper.xml
/usr/local/share/kdenlive/effects/ladspa_equalizer.xml
/usr/local/share/kdenlive/effects/ladspa_equalizer_15.xml
/usr/local/share/kdenlive/effects/ladspa_librnnoise.xml
/usr/local/share/kdenlive/effects/ladspa_limiter.xml
/usr/local/share/kdenlive/effects/ladspa_phaser.xml
/usr/local/share/kdenlive/effects/ladspa_pitch.xml
/usr/local/share/kdenlive/effects/ladspa_pitch_scale.xml
/usr/local/share/kdenlive/effects/ladspa_rate_scale.xml
/usr/local/share/kdenlive/effects/ladspa_reverb.xml
/usr/local/share/kdenlive/effects/ladspa_room_reverb.xml
/usr/local/share/kdenlive/effects/ladspa_vinyl.xml