Kdenlive searched-for paths

  • Done
  • quality assurance status badge
Details
2 participants
  • Mathieu Othacehe
  • pkill9
Owner
unassigned
Submitted by
pkill9
Severity
normal

Debbugs page

pkill9 wrote 6 years ago
(name . bug-guix)(address . bug-guix@gnu.org)
E1gjpV4-0007V1-RA@rmmprod07.runbox
There are a few issues with Kdenlive I've found, mostly relating to finding paths for things:

It doesn't know where to look for mlt profiles by default, so it asks the user in a popup where to look for them - the default suggestion in the popup is incorrect (constructed like '<guix-profile>/bin/share/mlt/profiles). The correct path is found with `$(guix build mlt)/share/mlt/profiles`.

It stores this path in the '[env]' section of ~/.config/kdenliverc, which it autogenerates. If it doesn't find the mlt profiles in this stored path when run, it asks the user to specify the path in the popup again.

It also stores other paths it needs that it finds, like the path to ffmpeg (to the relative guix profiles they're in, e.g. /run/current-system/profile and ~/.guix-profile. I don't know if this is an issue, I think it will just try to find these other paths again if they're invalid when starting kdenlive.

One way to fix the mlt path not being found is by wrapping the kdenlive executable with an additional CLI flag `--mlt-path <path-to-mlt>/share/mlt/profiles`. It would maybe better to use an environment variable (which could either be wrapped, or if propagated could allow additional mlt profiles to be added to the guix profile) but I couldn't find one for specifying the path to the mlt profiles.

-----

Another issue is that it heavily uses the icons from the breeze-icons package (which it gives a warning if not found), and these need to be installed to the user's profile (not tested with system profile) as kdenlive doesn't find them when running `guix environment --ad-hoc kdenlive breeze-icons -- kdenlive`

It also gives the warning
```
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
```
which is gotten rid of by running kdenlive with `LADSPA_PATH=$(guix build ladspa)/lib/ladspa kdenlive`. This environment variable could also be added to the kdenlive wrapper, and/or added as a search path.
pkill9 wrote 6 years ago
kdenlive and mlt note
(name . 34107)(address . 34107@debbugs.gnu.org)
E1gjrMK-0007aA-Ra@rmmprod07.runbox
Also note that mlt can be removed as a propagated input if it's bin directory is wrapped into kdenlive's wrapper's PATH environment variable (I think - mlt doesn't have any propagated inputs) for kdenlive to find 'melt'.
Mathieu Othacehe wrote 5 years ago
Re: [bug#42769] [PATCH] gnu: kdenlive: Update to 20.04.1.
(name . Michael Rohleder)(address . mike@rohleder.de)(address . 34107-done@debbugs.gnu.org)(address . 42217-done@debbugs.gnu.org)(address . 38460-done@debbugs.gnu.org)(address . 42769-done@debbugs.gnu.org)
87o8nhfqw0.fsf@gnu.org
Hey,

Toggle quote (3 lines)
> This should fix bugs #42217, #38460, #34107.
> (needs rttr, patch 42767).

Nice job! Pushed as a2954e2a44602a5b5d50e11428f18023395fbf1c.

Thanks,

Mathieu
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 34107@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 34107
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help