unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34107: Kdenlive searched-for paths
@ 2019-01-16 18:01 pkill9
  2019-01-16 20:00 ` bug#34107: kdenlive and mlt note pkill9
  0 siblings, 1 reply; 2+ messages in thread
From: pkill9 @ 2019-01-16 18:01 UTC (permalink / raw)
  To: 34107

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#34107: kdenlive and mlt note
  2019-01-16 18:01 bug#34107: Kdenlive searched-for paths pkill9
@ 2019-01-16 20:00 ` pkill9
  0 siblings, 0 replies; 2+ messages in thread
From: pkill9 @ 2019-01-16 20:00 UTC (permalink / raw)
  To: 34107

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'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-16 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-16 18:01 bug#34107: Kdenlive searched-for paths pkill9
2019-01-16 20:00 ` bug#34107: kdenlive and mlt note pkill9

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).