[Nix-dev] gstreamer plugins missing

Bjørn Forsman bjorn.forsman at gmail.com
Sun Nov 6 11:43:42 CET 2016


On 6 November 2016 at 01:50, Stefan Huchler <stefan.huchler at mail.de> wrote:
> Hi,
>
> I try to stream a rtsp or http adress from spydroid to /dev/videoX.
>
> So gstreamer seems to be best suited for that.
>
> gst-launch rtspsrc location=rtsp://192.168.1.154:8086 ! decodebin !
> v4l2sink device=/dev/video0
>
> something like that should do the trick in theory. But there seems to be
> no rtsp src installed.
>
> gst-inspect | grep -i "rtsp"  should print something but it does not.
>
> I installed gstreamer gst_plugins_good gst_plugins_base over
> configuration.nix file.
>
> I even tried to manualy install the 0.10 or 1.0 versions both without
> any success.
>
>
> it should be in gst-plugins-good, any idea what I am doing wrong?

Originally, this was by design. You'd have to make a Nix file to build
an environment where gstreamer would find its plugins. Later,
gstreamer-1.0 (not 0.10) was patched to find plugins in $NIX_PROFILES.
That meant you could now install plugins in configuration.nix and with
nix-env. That change was a bit controversial, but went through to
master. Now it seems that functionality has become broken due to the
multiple-output change. The "out" output is wrapped, but all the
binaries that need wrapping are in "dev".

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list