udpsrc performance
Edward Hervey
bilboed at gmail.com
Wed Jul 4 03:07:30 PDT 2012
On Wed, 2012-07-04 at 00:01 -0700, parag.salasakar wrote:
> 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?
Yes
>
> Regards,
>
> Parag
>
> On Mon, Jul 2, 2012 at 8:36 PM, Edward Hervey [via GStreamer-devel]
> <[hidden email]> 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://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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.
> NAML
>
>
>
> ______________________________________________________________________
> View this message in context: Re: udpsrc performance
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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