Hi all,
Can someone please tell me how i can measure the brandwith consumption of a rtp video stream between server and client? Thanks in advance Markus |
On 08/07/12 14:36, Markus wrote:
> Hi all, > > Can someone please tell me how i can measure the brandwith consumption of a > rtp video stream between server and client? > > > Thanks in advance > Markus > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-measure-brandwith-consumption-of-an-rtp-stream-tp4655872.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > The minimum size of an RTP header is 12 byte. This means no CSRC identifiers and no extension headers. Other than that, the rest is just the payload. Depending on the actual payload size, this 12 byte overhead can be significant to minimal. Therefore, it is necessary to find out the packet size. You can do this: - a priori by estimating the packet size using the bitrate and frame rate (example: 128kbit/s, 30 Hz -> 128000 / 8 / 30 ~ 534 byte for the payload); this necessarily makes assumptions about the encoder, and you have to add the RTP overhead yourself - or a posteriori using buffer probes that you can hook up right at the sink pad of the udpsink that is sending out the packets I'd go the a posteriori way, since it makes no assumptions, and implicitely adds the RTP overhead to the measurements. Gather measurements over several seconds, and calculate the mean. It also makes for pretty graphs over time :) However, the a priori option can additionally be used to verify that your bandwidth looks OK. (There are in fact statistical confidence interval tests for this very purpose.) _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
My idea was to use wireshark to monitor the brandwith usage of my dynamic rtp stream. Could this be a solution?
I see that it is even possible to make graphs |
On 08/08/12 09:47, Markus wrote:
> My idea was to use wireshark to monitor the brandwith usage of my dynamic rtp > stream. Could this be a solution? > I see that it is even possible to make graphs > > Yes, but using a buffer probe is a similar solution. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I need to implement something similar to capture real-time statistics. What would a buffer probe entail? Would that be adding a read/write variable in one of the RTP plugins?
On Wed, Aug 8, 2012 at 4:20 AM, dv <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On 08/08/12 15:58, Chuck Crisler wrote:
> I need to implement something similar to capture real-time statistics. > What would a buffer probe entail? Would that be adding a read/write > variable in one of the RTP plugins? Check out http://gstreamer.freedesktop.org/data/doc/gstreamer/0.10.36/manual/html/chapter-dataaccess.html if you use 0.10 , or http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html if you are working with the 1.0 branch already. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Chuck Crisler-2
we wrote own element for raw and encoded bandwidth statistics...
On 08/08/2012 03:58 PM, Chuck Crisler wrote: > I need to implement something similar to capture real-time statistics. > What would a buffer probe entail? Would that be adding a read/write > variable in one of the RTP plugins? > > On Wed, Aug 8, 2012 at 4:20 AM, dv <[hidden email] > <mailto:[hidden email]>> wrote: > > On 08/08/12 09:47, Markus wrote: > > My idea was to use wireshark to monitor the brandwith usage of > my dynamic rtp > stream. Could this be a solution? > I see that it is even possible to make graphs > > > > Yes, but using a buffer probe is a similar solution. > > > _________________________________________________ > gstreamer-devel mailing list > [hidden email] > <mailto:[hidden email]> > http://lists.freedesktop.org/__mailman/listinfo/gstreamer-__devel > <http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel> > > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel -- Levente "Si vis pacem para bellum!" _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |