Calculation of bandwidth in gstreamer
arpita banerjee
reachtoarpi at gmail.com
Fri Jan 4 15:46:07 PST 2013
Thanks for your reply. Currently, I am using this pipeline at server side:
v4l2src-> x264enc->h264pay->rtpbin->udpsink RTP port=5000
On Fri, Jan 4, 2013 at 3:43 AM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> On Thu, 2013-01-03 at 23:46 -0800, arpita banerjee wrote:
>
> Hi,
>
>> How I can get the bandwidth value at server side using gstreamer for
>> video streaming?
>
> It's hard to answer this question without knowing at least *some*
> contex, like what you are serving using which sink element etc.
>
> If you are using the multifdsink element, it has a bunch of properties
> which you can read out in regular intervals and then calculate the
> bandwidth from that, like "bytes-served":
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-multifdsink.html
>
> per-client stats are available via the "get-stats" action signal.
>
> Cheers
> -Tim
>
> _______________________________________________
> 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