Calculation of bandwidth in gstreamer

arpita banerjee reachtoarpi at gmail.com
Fri Jan 4 18:22:40 PST 2013


Actually, I would like to measure the upload speed at server side.
According to that I will set the initial bitrate at server side.

Please reply how I can measure the upload speed .

On Fri, Jan 4, 2013 at 3:46 PM, arpita banerjee <reachtoarpi at gmail.com> wrote:
> 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