Giter VIP home page Giter VIP logo

conan-gstreamer's Introduction

conan-gstreamer

Conan build for gstreamer, run the command to build a project.

The build order is as below:

  • gstreamer-build-tools
    Download
    Gstreamer build tools generated by boostrap

  • gstreamer-runtime
    Download
    Gstreamer-1.0 runtime library

  • gstreamer-dev
    Download
    Gstreamer-1.0 development library

  • gstreamer-custom
    Download
    Custom modified libraries, including gst-rtsp-server-1.0, dtls, webrtc

How to build

linux

pre-work

  • Gstreamer should be built in the docker lasote/conangcc49 using gcc4.9. Here's the steps:
# download the docker image
$ git pull lasote/conangcc49

# the first time to run the image
$ sudo docker run -it lasote/conangcc49 /bin/bash

# or you can use the commands below once you have creaed a container using the command above
$ sudo docker start container_id
$ sudo docker exec -it container_id /bin/bash

# update the environment, it may be very slow and vpn may be required
$ sudo apt-get -y update
$ sudo apt-get -y upgrade
$ sudo apt-get install -y build-essential
$ git config --global user.name "xxx"
$ git config --global user.email "xxxx"

build

gstreamer-runtime, gstreamer-dev, and gstreamer-custom require dependies. They will use the pre-built package in your own bintray defaultly.

If you want to use the other pre-built packages, set DEPENDENT_BINTRAY_REPO in your environment. DEPENDENT_BINTRAY_REPO is the bintray username, if not set, it's same as CONAN_USERNAME.

$ cd $project
$ sudo python build.py

The gstreamer library will be installed to the directory ~/gstreamer/linux_x86_64.

If you want to develop your own library based on the gstreamer-1.0, run the commond to load the environment:

$ cd ~/gstreamer/linux_x86_64
$ source tshell.sh

windows

not supported

conan-gstreamer's People

Contributors

yjjnls avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.