gst-launch graph data to programmatic "C" pipeline

Icarus Alive icarus.alive at gmail.com
Fri Oct 14 17:55:57 PDT 2011


Thanks Stefan. Actually, I had a look at code within the test/example/
directory of both gstreamer-plugins-base and gstreamer-plugins-good,
but wasn't quite sure, which one to use. If there is a well-written,
well-documented example to follow, it'd be great. My aim is to
eventually deal with multiple streams, tees, ghost-pads etc., and
reading some of the mails, and code, I see that it takes a bit more.

On Fri, Oct 14, 2011 at 12:48 PM, Stefan Sauer <ensonic at hora-obscura.de> wrote:
> On 10/14/2011 05:30 AM, Icarus Alive wrote:
>> Is there any material (s.a. examples, tutorial) of how to convert the
>> pipeline graph-data (or the graph image created from .dot file), or
>> say just the "gst-launch" pipeline command-line, into the equivalent
>> "C" pipeline application program, which I can then compile into a
>> standalone application ?
>
> Just read the api docs. There are just a handful of major calls
>
> element = gst_element_factory_make (factory_name, NULL);
> gst_bin_add (parent, element);
> gst_element_link (element1, element2);
>
> There are a few variations of the above methods. Also have a look at the
> examples in each modules under tests/examples.
>
> Stefan
>
>> i++
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


More information about the gstreamer-devel mailing list