from GStreamer source, at the time writing this post, the latest version I use is 1.4.1
For gst-plugins-base, gst-plugins-good and gst-plugins-ugly, simply
sudo make install
For gst-plugins-bad, there’s a little problem during normal installation. In old times, gst-plugins-gl was required for gst-plugins-bad and now it is merged into gst-plugins-bad, at least they claim so, but somehow there’s some bug in there at this moment, which causegst-plugins-bad could not find gst-plugins-gl and gst-plugins-gl cannot be installed due to the fact that the author thinks there’s no need to install it since it has been merged intogst-plugins-bad.
So we need some hack for this. Fortunately, this thread has already worked it out. Follow those steps and you should get rid off the trouble.