diff --git a/gstreamer.nix b/gstreamer.nix new file mode 100644 index 0000000..4606375 --- /dev/null +++ b/gstreamer.nix @@ -0,0 +1,20 @@ +# Provides a shell environment with gstreamer. +# Based on the example from https://nixos.wiki/wiki/GStreamer +{ pkgs ? import {} }: +pkgs.mkShell { + buildInputs = with pkgs; [ + # Video/Audio data composition framework tools like "gst-inspect", "gst-launch" ... + gst_all_1.gstreamer + # Common plugins like "filesrc" to combine within e.g. gst-launch + gst_all_1.gst-plugins-base + # Specialized plugins separated by quality + gst_all_1.gst-plugins-good + gst_all_1.gst-plugins-bad + gst_all_1.gst-plugins-ugly + # Plugins to reuse ffmpeg to play almost every video format + gst_all_1.gst-libav + # Support the Video Audio (Hardware) Acceleration API + gst_all_1.gst-vaapi + #... + ]; +} diff --git a/modules/programs.nix b/modules/programs.nix index ff143c4..51b7a3c 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -19,7 +19,11 @@ gnome.gnome-tweaks gnome.dconf-editor meld # Diff and merge tool - handbrake # Rip DVD and Blu-ray; rotate and export videos + # Rip DVD and Blu-ray; rotate and export videos. + # Requires gstreamer with plugins to preview encoded video. + # nix-shell -p gstreamer.nix + # ghb + handbrake mediainfo-gui # View video metadata. fractal # Matrix chat client.