How to know data buffered within the pipeline

Carlos Rafael Giani dv at pseudoterminal.org
Wed Jul 20 12:56:25 UTC 2016


On 2016-07-20 14:09, Baby Octopus wrote:
> Hi,
>
> Is there a way to know the total data buffered within the pipeline for ex:
>
> gst-launch-1.0 src ! queue max-size-time=10000000000 ! sink
>
> In this case the data buffered or held by the pipeline would be anywhere
> between 0 to 10seconds(greater than zero if src is running faster than sink
> can render). Is there a way to dynamically know this when the pipeline is
> running?
>
> ~BO
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-know-data-buffered-within-the-pipeline-tp4678768.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


I wondered about this myself. About the only solution I've found is to 
get the current-level-* properties. Of course, if you have multiple 
queues in the pipeline, it gets more complicated. And if there are 
branches (for example, because there's a tee element), then it is 
further complicated..



More information about the gstreamer-devel mailing list