gstreamer/1.22.6

GStreamer is a development framework for creating applications like media players, video editors, streaming media broadcasters and so on
Recipe info
LGPL-2.0-or-later
2024-01-23

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
gstreamer/1.22.6

Using gstreamer

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
gstreamer/1.22.6
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("gstreamer/1.22.6")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): gstreamer
  • CMake target name(s): gstreamer::gstreamer
  • gstreamer-1.0 => gstreamer::gstreamer-1.0
    gstcoretracers => gstreamer::gstcoretracers
    gstcoreelements => gstreamer::gstcoreelements
    gstreamer-net-1.0 => gstreamer::gstreamer-net-1.0
    gstreamer-base-1.0 => gstreamer::gstreamer-base-1.0
    gstreamer-check-1.0 => gstreamer::gstreamer-check-1.0
    gstreamer-controller-1.0 => gstreamer::gstreamer-controller-1.0
    
  • pkg-config file name(s): gstreamer.pc
  • gstreamer-1.0 => gstreamer-1.0.pc
    gstcoretracers => gstcoretracers.pc
    gstcoreelements => gstcoreelements.pc
    gstreamer-net-1.0 => gstreamer-net-1.0.pc
    gstreamer-base-1.0 => gstreamer-base-1.0.pc
    gstreamer-check-1.0 => gstreamer-check-1.0.pc
    gstreamer-controller-1.0 => gstreamer-controller-1.0.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(gstreamer REQUIRED)
# ...
target_link_libraries(YOUR_TARGET gstreamer::gstreamer)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the gstreamer homepage listed above:

#include "gstreamer-1.0/gst/base/base-prelude.h"
#include "gstreamer-1.0/gst/base/base.h"
#include "gstreamer-1.0/gst/base/gstadapter.h"
#include "gstreamer-1.0/gst/base/gstaggregator.h"
#include "gstreamer-1.0/gst/base/gstbaseparse.h"
#include "gstreamer-1.0/gst/base/gstbasesink.h"
#include "gstreamer-1.0/gst/base/gstbasesrc.h"
#include "gstreamer-1.0/gst/base/gstbasetransform.h"
#include "gstreamer-1.0/gst/base/gstbitreader.h"
#include "gstreamer-1.0/gst/base/gstbitwriter.h"
#include "gstreamer-1.0/gst/base/gstbytereader.h"
#include "gstreamer-1.0/gst/base/gstbytewriter.h"
#include "gstreamer-1.0/gst/base/gstcollectpads.h"
#include "gstreamer-1.0/gst/base/gstdataqueue.h"
#include "gstreamer-1.0/gst/base/gstflowcombiner.h"
#include "gstreamer-1.0/gst/base/gstpushsrc.h"
#include "gstreamer-1.0/gst/base/gstqueuearray.h"
#include "gstreamer-1.0/gst/base/gsttypefindhelper.h"
#include "gstreamer-1.0/gst/check/check-prelude.h"
#include "gstreamer-1.0/gst/check/check.h"
#include "gstreamer-1.0/gst/check/gstbufferstraw.h"
#include "gstreamer-1.0/gst/check/gstcheck.h"
#include "gstreamer-1.0/gst/check/gstconsistencychecker.h"
#include "gstreamer-1.0/gst/check/gstharness.h"
#include "gstreamer-1.0/gst/check/gsttestclock.h"
#include "gstreamer-1.0/gst/check/internal-check.h"
#include "gstreamer-1.0/gst/controller/controller-enumtypes.h"
#include "gstreamer-1.0/gst/controller/controller-prelude.h"
#include "gstreamer-1.0/gst/controller/controller.h"
#include "gstreamer-1.0/gst/controller/gstargbcontrolbinding.h"
#include "gstreamer-1.0/gst/controller/gstdirectcontrolbinding.h"
#include "gstreamer-1.0/gst/controller/gstinterpolationcontrolsource.h"
#include "gstreamer-1.0/gst/controller/gstlfocontrolsource.h"
#include "gstreamer-1.0/gst/controller/gstproxycontrolbinding.h"
#include "gstreamer-1.0/gst/controller/gsttimedvaluecontrolsource.h"
#include "gstreamer-1.0/gst/controller/gsttriggercontrolsource.h"
#include "gstreamer-1.0/gst/glib-compat.h"
#include "gstreamer-1.0/gst/gst.h"
#include "gstreamer-1.0/gst/gstallocator.h"
#include "gstreamer-1.0/gst/gstatomicqueue.h"
#include "gstreamer-1.0/gst/gstbin.h"
#include "gstreamer-1.0/gst/gstbuffer.h"
#include "gstreamer-1.0/gst/gstbufferlist.h"
#include "gstreamer-1.0/gst/gstbufferpool.h"
#include "gstreamer-1.0/gst/gstbus.h"
#include "gstreamer-1.0/gst/gstcaps.h"
#include "gstreamer-1.0/gst/gstcapsfeatures.h"
#include "gstreamer-1.0/gst/gstchildproxy.h"
#include "gstreamer-1.0/gst/gstclock.h"
#include "gstreamer-1.0/gst/gstcompat.h"
#include "gstreamer-1.0/gst/gstconfig.h"
#include "gstreamer-1.0/gst/gstcontext.h"
#include "gstreamer-1.0/gst/gstcontrolbinding.h"
#include "gstreamer-1.0/gst/gstcontrolsource.h"
#include "gstreamer-1.0/gst/gstdatetime.h"
#include "gstreamer-1.0/gst/gstdebugutils.h"
#include "gstreamer-1.0/gst/gstdevice.h"
#include "gstreamer-1.0/gst/gstdevicemonitor.h"
#include "gstreamer-1.0/gst/gstdeviceprovider.h"
#include "gstreamer-1.0/gst/gstdeviceproviderfactory.h"
#include "gstreamer-1.0/gst/gstdynamictypefactory.h"
#include "gstreamer-1.0/gst/gstelement.h"
#include "gstreamer-1.0/gst/gstelementfactory.h"
#include "gstreamer-1.0/gst/gstelementmetadata.h"
#include "gstreamer-1.0/gst/gstenumtypes.h"
#include "gstreamer-1.0/gst/gsterror.h"
#include "gstreamer-1.0/gst/gstevent.h"
#include "gstreamer-1.0/gst/gstformat.h"
#include "gstreamer-1.0/gst/gstghostpad.h"
#include "gstreamer-1.0/gst/gstinfo.h"
#include "gstreamer-1.0/gst/gstiterator.h"
#include "gstreamer-1.0/gst/gstmacros.h"
#include "gstreamer-1.0/gst/gstmemory.h"
#include "gstreamer-1.0/gst/gstmessage.h"
#include "gstreamer-1.0/gst/gstmeta.h"
#include "gstreamer-1.0/gst/gstminiobject.h"
#include "gstreamer-1.0/gst/gstobject.h"
#include "gstreamer-1.0/gst/gstpad.h"
#include "gstreamer-1.0/gst/gstpadtemplate.h"
#include "gstreamer-1.0/gst/gstparamspecs.h"
#include "gstreamer-1.0/gst/gstparse.h"
#include "gstreamer-1.0/gst/gstpipeline.h"
#include "gstreamer-1.0/gst/gstplugin.h"
#include "gstreamer-1.0/gst/gstpluginfeature.h"
#include "gstreamer-1.0/gst/gstpoll.h"
#include "gstreamer-1.0/gst/gstpreset.h"
#include "gstreamer-1.0/gst/gstpromise.h"
#include "gstreamer-1.0/gst/gstprotection.h"
#include "gstreamer-1.0/gst/gstquery.h"
#include "gstreamer-1.0/gst/gstregistry.h"
#include "gstreamer-1.0/gst/gstsample.h"
#include "gstreamer-1.0/gst/gstsegment.h"
#include "gstreamer-1.0/gst/gststreamcollection.h"
#include "gstreamer-1.0/gst/gststreams.h"
#include "gstreamer-1.0/gst/gststructure.h"
#include "gstreamer-1.0/gst/gstsystemclock.h"
#include "gstreamer-1.0/gst/gsttaglist.h"
#include "gstreamer-1.0/gst/gsttagsetter.h"
#include "gstreamer-1.0/gst/gsttask.h"
#include "gstreamer-1.0/gst/gsttaskpool.h"
#include "gstreamer-1.0/gst/gsttoc.h"
#include "gstreamer-1.0/gst/gsttocsetter.h"
#include "gstreamer-1.0/gst/gsttracer.h"
#include "gstreamer-1.0/gst/gsttracerfactory.h"
#include "gstreamer-1.0/gst/gsttracerrecord.h"
#include "gstreamer-1.0/gst/gsttypefind.h"
#include "gstreamer-1.0/gst/gsttypefindfactory.h"
#include "gstreamer-1.0/gst/gsturi.h"
#include "gstreamer-1.0/gst/gstutils.h"
#include "gstreamer-1.0/gst/gstvalue.h"
#include "gstreamer-1.0/gst/gstversion.h"
#include "gstreamer-1.0/gst/math-compat.h"
#include "gstreamer-1.0/gst/net/gstnet.h"
#include "gstreamer-1.0/gst/net/gstnetaddressmeta.h"
#include "gstreamer-1.0/gst/net/gstnetclientclock.h"
#include "gstreamer-1.0/gst/net/gstnetcontrolmessagemeta.h"
#include "gstreamer-1.0/gst/net/gstnettimepacket.h"
#include "gstreamer-1.0/gst/net/gstnettimeprovider.h"
#include "gstreamer-1.0/gst/net/gstnetutils.h"
#include "gstreamer-1.0/gst/net/gstptpclock.h"
#include "gstreamer-1.0/gst/net/net-prelude.h"
#include "gstreamer-1.0/gst/net/net.h"