How to Run GStreamer Uninstalled Plugin on Ubuntu

Updated at: 12:24 PM. Under Category: Computer,Linux
Here is you can find tutorial How to Run GStreamer Uninstalled Plugin. You can install GStreamer on Linux on in Ubuntu. GStreamer is a framework for creating streaming media applications. The fundamental design comes from the video pipeline at Oregon Graduate Institute, as well as some ideas from DirectShow.

GStreamer's development framework makes it possible to write any type of streaming multimedia application. The GStreamer framework is designed to make it easy to write applications that handle audio or video or both. It isn't restricted to audio and video, and can process any kind of data flow. The pipeline design is made to have little overhead above what the applied filters induce. This makes GStreamer a good framework for designing even high-end audio applications which put high demands on latency.

One of the most obvious uses of GStreamer is using it to build a media player. GStreamer already includes components for building a media player that can support a very wide variety of formats, including MP3, Ogg/Vorbis, MPEG-1/2, AVI, Quicktime, mod, and more. GStreamer, however, is much more than just another media player. Its main advantages are that the pluggable components can be mixed and matched into arbitrary pipelines so that it's possible to write a full-fledged video or audio editing application.

The framework is based on plugins that will provide the various codec and other functionality. The plugins can be linked and arranged in a pipeline. This pipeline defines the flow of the data. Pipelines can also be edited with a GUI editor and saved as XML so that pipeline libraries can be made with a minimum of effort.
The GStreamer core function is to provide a framework for plugins, data flow and media type handling/negotiation. It also provides an API to write applications using the various plugins.

Here is something to do How to Run GStreamer Uninstalled Plugin:

The gst-uninstalled script lets you build GStreamer from git and use it from within your home directory, without any messy/dangerous `sudo make install`.

Running the gst-uninstalled script puts you into a special environment with all the needed environment variables pointing to the GStreamer build in your home directory. While inside this environment, you can use handy tools like gst-launch-1.0 and gst-inspect-1.0, and even use GStreamer from PyGI. When packages weren't yet available, this is how I did all my early GStreamer 1.0 porting work.

I wrote a small Python3 script called gst-rebuild to make it faster and easier to build GStreamer and all the major GStreamer plugins (including gnonlin) from git. See my README.txt for more details, but here's the quick and dirty of how to use it:

If you're on a Debian or Ubuntu system with GStreamer 1.0 packages available, first run the build-dep command as a way to quickly install all the needed build dependencies:

$ gst-rebuild build-dep
Then run the gstreamer command to build the core GStreamer library and setup the ~/gst/gst-git symlink pointing to the gst-uninstalled script:

$ gst-rebuild gstreamer
Now you'll have to enter the "uninstalled" environment in order to build the plugins or otherwise use this GStreamer build:

$ cd ~/gst
$ ./gst-git
Then use the all-plugins command to build all the major plugins (base, good, bad, ugly, libav, and gnonlin):

$ gst-rebuild all-plugins
Or you can rebuild just a specific set of plugins like this (run gst-rebuild with no command to see the available commands):

$ gst-rebuild gst-plugins-ugly
Note that my gst-rebuild script is quite destructive as it will delete existing git checkouts and do fresh checkouts each time you rebuild something. And the gstreamer command will completely delete your existing ~/gst directory. So be careful that you don't have any commits or changes not saved elsewhere.

The script is aimed at helping you test GStreamer-based apps against GStreamer git master. It's less useful for hacking on GStreamer itself, so you might want to modify it to better suite your needs.

How to Run GStreamer Uninstalled Plugin on Ubuntu
, was posted by: , Wednesday, August 1, 2012, at 12:24 PM under category Computer, Linux and permalink
Comments :