You can install easily gstreamer using an ArchLinux distribution like Manjaro. The gstreamer source code is already in the official repositories of ArchLinux.
You can install gstreamer on Ubuntu, but it will be harder. You can do the following command lines to install gstreamer on your system.
sudo apt-get build-dep libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good
mkdir -p ~/gst/master/prefix
cd ~/gst/master
for m in orc gstreamer gst-plugins-base gst-plugins-good ; do git clone git://anongit.freedesktop.org/gstreamer/$m ; done
mkdir ~/bin
ln -s /home//gst/master/gstreamer/scripts/gst-uninstalled /home//bin/gst-master
run the ~/bin/gst-master script to enter into the uninstalled environment
for m in orc gstreamer gst-plugins-base gst-plugins-good ; do cd $m && ./autogen.sh –prefix=/home//gst/master/prefix –disable-gtk-doc –disable-docbook –enable-introspection=no && make -j4 && cd.. ; done
Now you have an uninstalled build of gstreamer master and can run whatever pipeline you want when running the gst-master script.
In order to have an uninstalled with the 1.6 branch do the following.
cp -r ~/gst/master ~/gst/1.6
ln -s /home//gst/1.6/gstreamer/scripts/gst-uninstalled /home//bin/gst-1.6
Run the ~/bin/gst-1.6 script
for m in gstreamer gst-plugins-base gst-plugins-good ; do cd $m && git clean -dfx && git checkout 1.6 && git submodule update && cd .. ; done
cd orc
./autogen.sh –prefix=/home//gst/1.6/prefix –disable-gtk-doc –disable-docbook –enable-introspection=no
make clean
make -j4
cd ..
for m in gstreamer gst-plugins-base gst-plugins-good ; do cd $m && ./autogen.sh –prefix=/home//gst/1.6/prefix –disable-gtk-doc –disable-docbook –enable-introspection=no && make -j4 && cd.. ; done