GStreamer: Difference between revisions

Add fix for nautilus.
Line 89: Line 89:
==== nautilus: "Your GStreamer installation is missing a plug-in." ====
==== nautilus: "Your GStreamer installation is missing a plug-in." ====
[[File:Screenshot From 2025-03-28 09-58-50.png|thumb|nautilus: "Your GStreamer installation is missing a plug-in."]]
[[File:Screenshot From 2025-03-28 09-58-50.png|thumb|nautilus: "Your GStreamer installation is missing a plug-in."]]
To fix the issue I found the following solutions, by setting the environment variable <code>GST_PLUGIN_PATH</code>:
To fix the issue I found the following solutions:


* use <code>nix-shell</code>:<syntaxhighlight lang="bash">
* use <code>nix-shell</code>:<syntaxhighlight lang="bash">
nix-shell -p gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly gst_all_1.gst-libav gst_all_1.gst-vaapi --run "nautilus"
nix-shell -p gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly gst_all_1.gst-libav gst_all_1.gst-vaapi --run "nautilus"
</syntaxhighlight>
</syntaxhighlight>
* use <code>sudo nano /etc/nixos/configuration.nix</code>:<syntaxhighlight lang="nix" line="1">{ config, pkgs, ... }:
* use <code>sudo nano /etc/nixos/configuration.nix</code> and set the environment variable <code>GST_PLUGIN_PATH</code>:<syntaxhighlight lang="nix" line="1">{ config, pkgs, ... }:


{
{