NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.38k stars 13.61k forks source link

frei0r: Not all plugins are installed #169321

Open muni-corn opened 2 years ago

muni-corn commented 2 years ago

Describe the bug

Some frei0r plugins that appear in the archive from the dyne site do not appear when installed with nix.

(Also, frei0r is out of date; 1.8.0 is available! :))

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install frei0r via environment.systemPackages or home-manager home.packages
  2. For reference, download and extract the 1.7.0 archive from the site mentioned above
  3. Observe that some plugins, such as scale0tilt.so, are missing from $out/lib/frei0r-1/ (e.g. ~/.nix-profile/lib/frei0r-1/)

Expected behavior

I expect to see scale0tilt.so in frei0r's lib folder and to be able to use it in Kdenlive.

Additional context

I'm trying to use these plugins with Kdenlive. Included in the logs of Kdenlive's startup are these lines:

...
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: "frei0r.rgbparade"
plugin not available: "frei0r.scale0tilt"
plugin not available: "frei0r.vectorscope"
...

...along with a lot of other missing plugins from avfilter and a missing opencv.tracker plugin, too.

Full Kdenlive logs ``` === /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER No LADSPA plugins were found! Check your LADSPA_PATH environment variable. profilePath from KdenliveSetting::mltPath: "/nix/store/parkimd4avly3ahwsyy869yba9pibp1k-mlt-7.0.1/share/mlt/profiles" profilePath from appDir/../share: "/nix/store/vgmzfj236aqm6fppzz7kghzr8ws3szw2-kdenlive-21.12.3/share/mlt-7/profiles" profilePath from build-time MLT_DATADIR: "/nix/store/parkimd4avly3ahwsyy869yba9pibp1k-mlt-7.0.1/share/mlt-7/profiles" meltPath from KdenliveSetting::rendererPath: "/nix/store/parkimd4avly3ahwsyy869yba9pibp1k-mlt-7.0.1/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 "telecide" Failed to parse "telecide" Invalid metadata for "jack" Failed to parse "jack" Invalid metadata for "deinterlace" Failed to parse "deinterlace" 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" 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: "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: "frei0r.rgbparade" plugin not available: "frei0r.scale0tilt" plugin not available: "frei0r.vectorscope" plugin not available: "gpstext" 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: "rbpitch" plugin not available: "rbpitch" plugin not available: "region" plugin not available: "timewarp" plugin not available: "opencv.tracker" 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: "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: "frei0r.rgbparade" plugin not available: "frei0r.scale0tilt" plugin not available: "frei0r.vectorscope" plugin not available: "gpstext" 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: "rbpitch" plugin not available: "rbpitch" plugin not available: "region" plugin not available: "timewarp" plugin not available: "opencv.tracker" plugin not available: "region" plugin not available: "region" 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() { ... } ```

My system and HM configuration both use flakes.

Notify maintainers

@cillianderoiste

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.33, NixOS, 22.05 (Quokka), 22.05.20220413.ff9efb0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.7.0pre20220127_558c4ee`
 - channels(harrison): `"home-manager, nixos"`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
polygon commented 2 years ago

I had a look and built frei0r from source to see if this was just a missing configuration option. I don't know why some of the plugins are not available for you, but baltan, bgsubtract0r, delay0r, delaygrab, lightgraffiti are built for me. Not sure about the bigsh0t ones, are they 1.8 only? The whole 1.7 sources do not seem to contain the word "bigsh0t".

rgbparade, scale0tilt, and vectorscope all seem to require an additional dependency named gavl http://gmerlin.sourceforge.net/gavl.html which seems to be an old library last updated in 2012. Gavl is not in nixpkgs, so it would need to be packaged first to make these plugins available.

SrTobi commented 1 year ago

I have the same problem in kdenlive. Additionally I also have: plugin not available: "frei0r.tehRoxx0r". I also tried this on fresh virtualbox system using the vm-image from the website and had the same outcome. I also have a whole lot of other missing plugins :disappointed:

@polygon are the plugins available out of the box for you?

Here a complete list of missing plugins for me ``` plugin not available: "avfilter.acompressor" plugin not available: "avfilter.aecho" plugin not available: "avfilter.agate" 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: "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_eq_to_stereo" 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: "frei0r.rgbparade" plugin not available: "frei0r.scale0tilt" plugin not available: "frei0r.tehRoxx0r" plugin not available: "frei0r.vectorscope" 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: "rbpitch" plugin not available: "rbpitch" plugin not available: "region" plugin not available: "timewarp" plugin not available: "opencv.tracker" plugin not available: "region" ```
tobiasBora commented 1 year ago

I'm working on this, I packaged gavl and bigsh0t and all frei0r plugins are recognised, except for the blacklisted ones (kdenlive provides a list of blacklisted, buggy plugins but they are still listed in the list of unavailable plugins). I'm now trying to fix other missing plugins.