How to install a gstreamer development environment without moving the system to install gstreamer

Source: Internet
Author: User
Tags gstreamer

Gstreamer officially has a script: GST-uninstalled, which will export a bunch of environment variables, such as path, LD_LIBRARY_PATH, pkg_config_path ..., this ensures that after the script is modified, All executable files, libraries, and configurations related to gstreamer point to the gstreamer version under the directory we set.

This means that we can build a gstreamer development environment without affecting the installed gstreamer in the system.

The procedure is as follows:

GST-uninstalled is used to create a develop environment based on gstreamer version which you downloaded.
This script can avoid to destroy/upload upt the gstreamer installed in our system.
Read the comments in the script header for more details.

1. Create a folder, e. g: 0.10.
2. Copy GST-uninstalled into/usr/bin
3. create a symbol link to GST-uninstalled in/usr/bin. the name of symbol link must be GST-<folder Name>, E. g: If the folder created in step 1 is 0.10, the symbol link filename shocould be gst-0.10
4. modify the mygst definition in GST-uninstalled. the value of mygst shocould be the upper-folder of the folder you created. e. g: The folder name you created is 0.10 and the folder's path is:/home/super/gstreamer/0.10, then here the mygst shocould be/home/super/gstreamer.
5. Enter directory contains the folder you created, e. g:/home/super/gstreamer, run gst-0.10
6. the script will help you to export lots of environment variables, including path, LD_LIBRARY_PATH, pkg_config_path... to make sure all the gstreamer related command, libraries, configs are all from your downloaded version, while not the version used in your system.
7. download all gstreamer packages you need, place into the folder you created (E. g: 0.10), unpack, compile. not install them. caution: Rename the folder name to: gstreamer, GST-plugins-base, GST-plugins-good, GST-plugins-uugly, GST-plugins-bad, GST-FFMPEG before compiling! Cause the GST-uninstalled script assumes these folder names!

 

GST-uninstalled this script is downloaded here: http://cgit.freedesktop.org/gstreamer/gstreamer/plain/scripts/gst-uninstalled

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.