appsink and scheduling modes

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

appsink and scheduling modes

Steffen.Roeber

Hi,
I'm using a filesrc, decodebin2 and a appsink. In the appsink I receive new buffers using the gst_app_sink_pull_buffer method. All works fine up to there. What I need now is to control the speed of the pipeline with my app. I think this is the so called push/pull concept in GStreamer. I found the SeekEvent, but with this I have to set a rate. But I want the pipeline to deliver data as fast as I try to pull it. Is this possible?

Regards

Hella Aglaia Mobile Vision GmbH
Steffen Roeber
Firmware & Tools
Treskowstr. 14, D-13089 Berlin
Amtsgericht Berlin-Charlottenburg HRB 66976 B
Geschäftsführer: Kay Talmi

Fon:  +49 30 200 04 29– 412
Fax:  +49 30 200 04 29– 109
Mail: [hidden email]
URL: www.aglaia-gmbh.de

URL: www.mobilevision.de

Dieses Dokument ist vertraulich zu behandeln. Die Weitergabe sowie Vervielfältigung, Verwertung und Mitteilung seines Inhalts ist nur mit unserer ausdrücklichen Genehmigung gestattet. Alle Rechte vorbehalten, insbesondere für den Fall der Schutzrechtsanmeldung.
This document has to be treated confidentially. Its contents are not to be passed on, duplicated, exploited or disclosed without our express permission. All rights reserved, especially the right to apply for protective rights.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: appsink and scheduling modes

Wim Taymans
On 09/05/2011 09:04 AM, [hidden email] wrote:

>
> Hi,
> I'm using a filesrc , decodebin2 and a appsink . In the appsink I
> receive new buffers using the gst_app_sink_pull_buffer method. All works
> fine up to there. What I need now is to control the speed of the
> pipeline with my app. I think this is the so called push/pull concept in
> GStreamer. I found the SeekEvent, but with this I have to set a rate.
> But I want the pipeline to deliver data as fast as I try to pull it. Is
> this possible?
>

Yes, set sync=false on the appsink

Wim

> Regards
>
> Hella Aglaia Mobile Vision GmbH
> Steffen Roeber
> Firmware & Tools
> Treskowstr. 14, D-13089 Berlin
> Amtsgericht Berlin-Charlottenburg HRB 66976 B
> Geschäftsführer: Kay Talmi
>
> Fon: +49 30 200 04 29– 412
> Fax: +49 30 200 04 29– 109
> Mail: [hidden email]
> URL: www.aglaia-gmbh.de
>
> URL: www.mobilevision.de
>
> Dieses Dokument ist vertraulich zu behandeln. Die Weitergabe sowie
> Vervielfältigung, Verwertung und Mitteilung seines Inhalts ist nur mit
> unserer ausdrücklichen Genehmigung gestattet. Alle Rechte vorbehalten,
> insbesondere für den Fall der Schutzrechtsanmeldung.
> This document has to be treated confidentially. Its contents are not
> to be passed on, duplicated, exploited or disclosed without our express
> permission. All rights reserved, especially the right to apply for
> protective rights.
>
>
>
> _______________________________________________
> 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