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 ? i++ _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> 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 >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |