Hi Emile,<br><br>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,<br>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.<br>
<span id="result_box" class="" lang="en"><span class="hps alt-edited">For the moment</span> <span class="hps">I use</span> <span class="hps">zbar</span> <span class="hps">element </span> <span class="hps">to measure</span> <span class="hps">latency</span><span>,</span> <span class="hps">but</span> <span class="hps">it does not work</span> <span class="hps">perfectly</span> <span class="hps">for</span> <span class="hps">what I</span>'d like to do<span class="hps">.</span></span><br>
<br>thank you in advance.<br><br>Simo<br><br><div class="gmail_quote">On Sun, Jun 3, 2012 at 10:27 AM, Emile Semmes [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4655222&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        Hi Simo,
<br><br>You can try attaching a data probe to the udpsrc or tcpclientsrc src pad
<br>with gst_pad_add_buffer_probe(). In the callback, you can keep track of
<br>the size of the incoming GstBuffer (GstBuffer->size) which is most
<br>likely the MTU size and get the timestamp using
<br>gst_util_get_timestamp(). With that you should be able to determine the
<br>incoming bandwidth. See
<br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html#section-data-probe" rel="nofollow" link="external" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html#section-data-probe</a>
<br>for an example on how to add a data probe.
<br><br>Another option is using an identity element and connecting a callback to
<br>the handoff signal it emits. You can place the identity element anywhere
<br>in your pipeline to determine the bandwidth between two elements.
<br><br>You might want to make sure it's synchronous so that your timestamps are
<br>valid. It should be but double-check with something like wireshark.
<br><br>Take care,
<br>Emile
<br><br><br>--
<br>Emile Semmes
<br>Software Consultant
<br>e6 Group, LLC
<br>Office: <a href="tel:%28630%29%20376-0626" value="+16303760626" target="_blank">(630) 376-0626</a>
<br><a href="http://www.e6group.com" target="_blank" rel="nofollow" link="external">www.e6group.com</a>
<br>Guru.com: <a href="http://www.guru.com/freelancers/e6group" rel="nofollow" link="external" target="_blank">http://www.guru.com/freelancers/e6group</a><br><br><br><br>On 6/2/2012 1:08 PM, simosimo wrote:
<div><div class='shrinkable-quote'><br>> hello,
<br>>
<br>> Im doing some experimental test on GStreamer, and I get to the fourth
<br>> parameter of quality of service: the bandwidth.
<br>> can someone suggest me some techniques to measure the network bandwidth used
<br>> by my streaming pipeline.
<br>> In fact, I do performance measurements, therefore, I try to find the impact
<br>> of using multiple instance on the computer on the network that makes
<br>> transcoding , so I'd like to measure the bandwidth according to number of
<br>> instance supported by the computer (CPU).
<br>>
<br>> Thank you for your help.
<br>>
<br>>
<br>> Simo
<br>>
<br>> --
<br>> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169.html" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169.html</a></div>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> gstreamer-devel mailing list
<br>> <a href="http://user/SendEmail.jtp?type=node&node=4655176&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div><br><br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4655176&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169p4655176.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169p4655176.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from help to measure bandwidth, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="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" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/help-to-measure-bandwidth-tp4655169p4655222.html">Re: help to measure bandwidth</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>