Hi<br><br>It seems udpsrc/gstrtpjitterbuffer allocate buffers which could be just byte aligned.<br>Is there any way I can allocate all buffers (in good plugins) say 4/8/16 byte aligned)?<br><br>Like we have HAVE_POSIX_MEMALIGN in gstreamer core, anything similar for good plugins?<br>
<br>Regards,<br><br>Parag<br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 3:38 PM, Edward Hervey [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4655518&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        On Wed, 2012-07-04 at 00:01 -0700, parag.salasakar wrote:
<br>> Hi
<br>> 
<br>> Thanks for the suggestion.
<br>> 
<br>> I tried it with udpsrc properties blocksize=50000 buffer-size=50000,
<br>> but observed same issue (udpsrc taking 35-40%)
<br>> 
<br>> Does your suggestion mean that I have to modify source code for udpsrc
<br>> plugin which allocates buffer-pool and re-use them?
<br><br></div>  Yes
<br><div><div class="im"><br>> 
<br>> Regards,
<br>> 
<br>> Parag
<br>> 
<br>> On Mon, Jul 2, 2012 at 8:36 PM, Edward Hervey [via GStreamer-devel]
<br></div><div><div class="h5">> <[hidden email]> wrote:
<div class='shrinkable-quote'><br>>         Hi, 
<br>>         
<br>>         On Mon, 2012-07-02 at 07:45 -0700, parag.salasakar wrote: 
<br>>         > Hi 
<br>>         > 
<br>>         > I am trying to decode MPEG2TS bistream with following
<br>>         pipeline 
<br>>         
<br>>           I am assuming this is GStreamer 0.10 
<br>>         
<br>>         > 
<br>>         > gst-launch -v udpsrc port=5004 caps="application/x-rtp,
<br>>         clock-rate=90000, 
<br>>         > media=(string)video" ! gstrtpjitterbuffer ! queue !
<br>>         rtpmp2tdepay ! 
<br>>         > mpegtsdemux ! queue ! ffdec_mpegvideo ! videoscale !
<br>>         ffmpegcolorspace ! 
<br>>         > autovideosink on my DSP  platform 
<br>>         > 
<br>>         > However i noticed that when I try 
<br>>         > 
<br>>         > gst-launch -v udpsrc port=5004 caps="application/x-rtp,
<br>>         clock-rate=90000, 
<br>>         > media=(string)video" ! fakesink silent=1 
<br>>         > 
<br>>         > CPU utilization goes to 35% to 40% for 4 Mbps streams, which
<br>>         sounds weired 
<br>>         > to me (how can just udpsrc take 35% of CPU?) 
<br>>         > AM I missing anything?
<br>>           This is due to the overhead of creating/destroying plenty of
<br>>         small 
<br>>         GstBuffers. A solution would be to create a bufferpool and
<br>>         re-use 
<br>>         GstBuffers. 
<br>>         
<br>>             Edward 
<br>>         
<br>>         > Parag 
<br>>         > 
<br>>         > -- 
<br>>         > View this message in context:
<br>>         <a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463.html" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463.html</a></div>
>         > Sent from the GStreamer-devel mailing list archive at
<div class='shrinkable-quote'><br>>         Nabble.com. 
<br>>         > _______________________________________________ 
<br>>         > gstreamer-devel mailing list 
<br>>         > [hidden email] 
<br>>         >
<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>>         _______________________________________________ 
<br>>         gstreamer-devel mailing list 
<br>>         [hidden email] 
<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>>         
</div></div></div>>         ______________________________________________________________
<br><div class="im">>         If you reply to this email, your message will be added to the
<br>>         discussion below:
<br>>         <a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463p4655464.html" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463p4655464.html</a> 
<br>>         To unsubscribe from udpsrc performance, click here.
<br>>         NAML 
<br>> 
<br>> 
<br>> 
<br></div>> ______________________________________________________________________
<br>> View this message in context: Re: udpsrc performance
<br><div class="im">> 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=4655484&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></div><div class="im">
<br><br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4655484&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 size="1" color="#cccccc" noshade>
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463p4655484.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463p4655484.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from udpsrc performance, <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></div></div></blockquote></div><br>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-performance-tp4655463p4655518.html">Re: udpsrc performance</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>