mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
21 lines
723 B
Nix
21 lines
723 B
Nix
|
# Provides a shell environment with gstreamer.
|
||
|
# Based on the example from https://nixos.wiki/wiki/GStreamer
|
||
|
{ pkgs ? import <nixpkgs> {} }:
|
||
|
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
|
||
|
#...
|
||
|
];
|
||
|
}
|