Hi.
I have Ubuntu 22.04 which installs version 1.20 of gst, but I need 1.22.
So I found deb packets (amd64 build : 1.22.5-1 : gstreamer1.0 package : Ubuntu) and install them. Now gst-launch-1.0 --versions shows 1.22. But there is problem with plugins (good,bad,ugly). I install them as described here – Installing on Linux. But according to inspections it installs 1.20 version. So how to install full 1.22 version on Ubuntu? Is there single deb package for everything? Or there is only one way – build from source?
When you configure the build with meson you can set where it will be installed to using --prefix, eg
$ meson configure --prefix=/wherever/you/want ...
…and that’s where it’ll go if you run meson install after building
Which plugins get built depends on the configuration and also what dev libraries you have installed. It seems a bit opaque to me, so I’d have a good look at what meson configure outputs to see if you get what you want.
I have a related question regarding the building of the libgstnice librairie. Libnice.so is built but not libgstnice. Is there a special argument to pass to meson setup?
I have a similar issue to this one, some caps are not supported which may be due to the lack of this libgstnice.
That’s what I was looking for I suppose. I ended up compiling libnice manually, but my problem was elsewhere (i.e. the webrtcsink module not having the h264 caps while compiling with `-Dgst-plugins-ugly:x264=enabled). But it works fine in the main branch, so all good for me.
Better install it under /opt.
export LD_LIBRARY_PATH=/opt/gstreamer/lib:$LD_LIBRARY_PATH
if your installation path is /opt/gstreamer. The reason of adding this is to let your plugins to find the right libs.
You may need the followings as well:
export LIBVA_DRIVERS_PATH=/opt/gstreamer/lib/dri
export PATH=/opt/gstreamer/bin:$PATH