GStreamer: Difference between revisions
mNo edit summary |
m use syntaxhighlight console and "$" for the shell command |
||
| Line 81: | Line 81: | ||
<syntaxhighlight lang="shell"> | <syntaxhighlight lang="shell"> | ||
export GST_PLUGIN_SYSTEM_PATH_1_0="${gst_all_1.gstreamer.out}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-base}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-good}/lib/gstreamer-1.0" | export GST_PLUGIN_SYSTEM_PATH_1_0="${gst_all_1.gstreamer.out}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-base}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-good}/lib/gstreamer-1.0" | ||
</syntaxhighlight>Note: "gstreamer.out" is the derivative that contains "/lib" directory for that package. | </syntaxhighlight>Note: "gstreamer.out" is the derivative that contains "/lib" directory for that package. | ||
<references /> | <references /> | ||
| Line 89: | Line 88: | ||
To fix the issue I found the following solutions: | To fix the issue I found the following solutions: | ||
* Using <code>nix-shell</code>:<syntaxhighlight lang= | * Using <code>nix-shell</code>: | ||
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 lang=console> | ||
$ 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> | ||
*Using the environment variable "<code>GST_PLUGIN_PATH</code>":[[File:Screenshot From 2025-03-28 12-51-31.png|thumb|"Audio and Video Properties" of "Properties" window of nautilus after fix]]{{File|3={ config, pkgs, ... }: | * Using the environment variable "<code>GST_PLUGIN_PATH</code>":[[File:Screenshot From 2025-03-28 12-51-31.png|thumb|"Audio and Video Properties" of "Properties" window of nautilus after fix]]{{File|3={ config, pkgs, ... }: | ||
{ | { | ||