I setup Gstreamer on Ubuntu Server 18.04 with the following official command (here):
sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreame