Re: Replacement for gst_bin_iterate()?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Replacement for gst_bin_iterate()?

Stefan Koch-5
> On Thu, 2009-02-19 at 13:58 +0100, devman@gm... wrote:
>
> Hi,
>
>> I'd like to know, if there's any replacement for gst_bin_iterate() in
>> version 0.10?
>
> There's no replace, you don't have to manually iterate/schedule data
> flow any longer. The streaming now takes place in dedicated streaming
> threads. See:
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-porting.html#section-porting-objects
>
>
>> Or how can I process the pipeline in an iterative way?
>
> You can't/shouldn't need to/don't have to really. If you want to get
> things into or out of a pipeline one piece at a time, use
> appsink/appsrc.

Yes, I simply want to read the pipeline's output inside of my
application. The pipeline should be feed with application input data as
needed e.g. by callbacks. These apsrc/appsink plugins seem exactly to be
what I need. But how is it possible to use those plugins? There's a
documentation for them on gstreamer.org, but I can't even find the
respective header files. What packages are needed on Debian? Anyway,
however I think that I'd rather will not use them, because they seem to
belong to the "bad" plugins. (?)
Preferably I would like to get it to work with fakesrc, handoff
callback, bus and sending e.g. GST_MESSAGE_APPLICATION for unblocking
the gst_bus_poll() on every chunk. Could this be done that way?

Regards,
Devman

--
Debian/Lenny


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Replacement for gst_bin_iterate()?

Tim-Philipp Müller-2
On Fri, 2009-03-06 at 12:18 +0100, [hidden email] wrote:

> Yes, I simply want to read the pipeline's output inside of my
> application. The pipeline should be feed with application input data as
> needed e.g. by callbacks. These apsrc/appsink plugins seem exactly to be
> what I need. But how is it possible to use those plugins? There's a
> documentation for them on gstreamer.org, but I can't even find the
> respective header files.

appsrc/appsinkk used to be in gst-plugins-bad while the API was still in
flux, but has been moved to gst-plugins-base now that the API is stable.

You will only find it in gst-plugins-base >= 0.10.22.

> What packages are needed on Debian?

That would be libgstreamer-plugins-base0.10-dev, but you'll need the
package from sid.


> Anyway,  however I think that I'd rather will not use them, because they
> seem to belong to the "bad" plugins. (?)

Not any more :)

> Preferably I would like to get it to work with fakesrc, handoff
> callback, bus and sending e.g. GST_MESSAGE_APPLICATION for unblocking
> the gst_bus_poll() on every chunk. Could this be done that way?

That might work too.

Cheers
 -Tim



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel