udpsrc performance

parag.salasakar salasakar at gmail.com
Wed Jul 4 00:01:51 PDT 2012


Hi

Thanks for the suggestion.

I tried it with udpsrc properties blocksize=50000 buffer-size=50000, but
observed same issue (udpsrc taking 35-40%)

Does your suggestion mean that I have to modify source code for udpsrc
plugin which allocates buffer-pool and re-use them?

Regards,

Parag

On Mon, Jul 2, 2012 at 8:36 PM, Edward Hervey [via GStreamer-devel] <
ml-node+s966125n4655464h31 at n4.nabble.com> wrote:

> Hi,
>
> On Mon, 2012-07-02 at 07:45 -0700, parag.salasakar wrote:
> > Hi
> >
> > I am trying to decode MPEG2TS bistream with following pipeline
>
>   I am assuming this is GStreamer 0.10
>
> >
> > gst-launch -v udpsrc port=5004 caps="application/x-rtp,
> clock-rate=90000,
> > media=(string)video" ! gstrtpjitterbuffer ! queue ! rtpmp2tdepay !
> > mpegtsdemux ! queue ! ffdec_mpegvideo ! videoscale ! ffmpegcolorspace !
> > autovideosink on my DSP  platform
> >
> > However i noticed that when I try
> >
> > gst-launch -v udpsrc port=5004 caps="application/x-rtp,
> clock-rate=90000,
> > media=(string)video" ! fakesink silent=1
> >
> > CPU utilization goes to 35% to 40% for 4 Mbps streams, which sounds
> weired
> > to me (how can just udpsrc take 35% of CPU?)
> > AM I missing anything?
>
>   This is due to the overhead of creating/destroying plenty of small
> GstBuffers. A solution would be to create a bufferpool and re-use
> GstBuffers.
>
>     Edward
>
> > Parag
> >
> > --
> > View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463.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=4655464&i=0>
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4655464&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/udpsrc-performance-tp4655463p4655464.html
>  To unsubscribe from udpsrc performance, click here<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4655463&code=c2FsYXNha2FyQGdtYWlsLmNvbXw0NjU1NDYzfDE4ODY0Mzk3MTI=>
> .
> 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/udpsrc-performance-tp4655463p4655477.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/20120704/5c7b1e0f/attachment.html>


More information about the gstreamer-devel mailing list