From 2a3e3c7a99e7bc74ce7c060997baaa8e608f6de3 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 21 Oct 2022 22:57:17 +0200 Subject: [PATCH] video-trimmer: add missing codecs Otherwise it will complain when trying to trim screencasts produced by GNOME Shell: (video-trimmer:3229521): GStreamer-Play-WARNING **: 22:37:13.327: GstPlay: scaletempo element not available. Audio pitch will not be preserved during trick modes (video-trimmer:3229521): VideoTrimmer-WARNING **: 22:37:13.357: src/video_preview.rs:142: Error in MediaFile: Error from element /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: Your GStreamer installation is missing a plug-in. Your GStreamer installation is missing a plug-in. ../gst/playback/gsturidecodebin.c(1027): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: no suitable plugins found: ../gst/playback/gstdecodebin2.c(4701): gst_decode_bin_expose (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: no suitable plugins found: Missing decoder: WebM (video/webm) --- pkgs/applications/video/video-trimmer/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/video/video-trimmer/default.nix b/pkgs/applications/video/video-trimmer/default.nix index dc96263e9813..5df2e3c157bf 100644 --- a/pkgs/applications/video/video-trimmer/default.nix +++ b/pkgs/applications/video/video-trimmer/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { libadwaita gst_all_1.gstreamer gst_all_1.gst-plugins-base + gst_all_1.gst-plugins-good # for scaletempo and webm gst_all_1.gst-plugins-bad ];