help to measure bandwidth
simosimo
amzieb11 at gmail.com
Thu Jun 7 13:28:13 PDT 2012
Hi Emile,
thank you very much for your clarification, I used the identity element
and it's works, also i checked with wireshark and it give the same result,
by the way, Im looking for some idea to measure the video transmission
latency between multiple machines, I try to develop some benchmark, any
suggestion is very helpful.
For the moment I use zbar element to measure latency, but it does not work
perfectly for what I'd like to do.
thank you in advance.
Simo
On Sun, Jun 3, 2012 at 10:27 AM, Emile Semmes [via GStreamer-devel] <
ml-node+s966125n4655176h61 at n4.nabble.com> wrote:
> Hi Simo,
>
> You can try attaching a data probe to the udpsrc or tcpclientsrc src pad
> with gst_pad_add_buffer_probe(). In the callback, you can keep track of
> the size of the incoming GstBuffer (GstBuffer->size) which is most
> likely the MTU size and get the timestamp using
> gst_util_get_timestamp(). With that you should be able to determine the
> incoming bandwidth. See
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html#section-data-probe
>
> for an example on how to add a data probe.
>
> Another option is using an identity element and connecting a callback to
> the handoff signal it emits. You can place the identity element anywhere
> in your pipeline to determine the bandwidth between two elements.
>
> You might want to make sure it's synchronous so that your timestamps are
> valid. It should be but double-check with something like wireshark.
>
> Take care,
> Emile
>
>
> --
> Emile Semmes
> Software Consultant
> e6 Group, LLC
> Office: (630) 376-0626
> www.e6group.com
> Guru.com: http://www.guru.com/freelancers/e6group
>
>
>
> On 6/2/2012 1:08 PM, simosimo wrote:
>
> > hello,
> >
> > Im doing some experimental test on GStreamer, and I get to the fourth
> > parameter of quality of service: the bandwidth.
> > can someone suggest me some techniques to measure the network bandwidth
> used
> > by my streaming pipeline.
> > In fact, I do performance measurements, therefore, I try to find the
> impact
> > of using multiple instance on the computer on the network that makes
> > transcoding , so I'd like to measure the bandwidth according to number
> of
> > instance supported by the computer (CPU).
> >
> > Thank you for your help.
> >
> >
> > Simo
> >
> > --
> > View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169.html
> > Sent from the GStreamer-devel mailing list archive at Nabble.com.
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4655176&i=0>
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4655176&i=1>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169p4655176.html
> To unsubscribe from help to measure bandwidth, click here<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4655169&code=YW16aWViMTFAZ21haWwuY29tfDQ2NTUxNjl8LTY2MjI3MDU3Mw==>
> .
> NAML<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169p4655222.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120607/cb4293a9/attachment.htm>
More information about the gstreamer-devel
mailing list