<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 9/6/2012 6:31 PM, kartik natarajan
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAe3XR09SLDmtp025y7aO4O6D_=VOuo5SEUG08mrF4-8iUhG_A@mail.gmail.com"
      type="cite">Hi,
      <div>    I have constructed a gstreamer application (for DM365) on
        the lines of this:</div>
      <div><span style="color:rgb(34,34,34);font-family:'Courier
          New';font-size:13px;background-color:rgb(255,255,255)">gst-launch

          -v 'v4l2src always-copy=FALSE num-buffers=800
          input-src=composite ! video/x-raw-yuv, format=\(fourcc\)NV12,
          width=720, height=480 ! TIVidenc1 codecName=h264enc
          engineName=codecServer ! udpsink port=1234 host=xxx'</span></div>
      <div><span style="color:rgb(34,34,34);font-family:'Courier
          New';font-size:13px;background-color:rgb(255,255,255)"><br>
        </span></div>
      <div>Earlier the above gstreamer gst-launch seemed to hog up 80+%
        of the CPU on the DM365.</div>
      <div>So I wrote a gstreamer application and constructed a pipeline
        v4l2src-> h264enc -> rtph264pay -> udpsink and executed
        and figured that the CPU utilization is still the same.</div>
      <div><br>
      </div>
      <div>video streaming is just about 40% of my application code so
        80% is a very high share of utilization.</div>
      <div><br>
      </div>
      <div>Am I missing something here?</div>
      <div>Can I better this performance of gstreamer ?</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Thanks,</div>
      <div>N.Kartik</div>
    </blockquote>
    <br>
    Add contiguousInputFrame=TRUE to your TIVidenc1 element.<br>
    <br>
    Also, since this is a TI related plugin issue, you're better off
    cross posting there as well. This mailing list is more so for
    general Gstreamer issues; you're having a TI-related issue. <br>
    <br>
    <a
href="https://gforge.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187">https://gforge.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187</a><br>
    <br>
    I've seen your posts here and it doesn't look like you've looked at
    the TI provided documentation for Gstreamer at all. A lot of us TI
    developers have gone through the same issues and have posted
    solutions as well. You'd be well off (as well as any other TI
    developer) looking at the forum and looking at the TI Gstreamer
    wiki. <br>
    <br>
    Important links:<br>
    <a
href="http://processors.wiki.ti.com/index.php/Category:DMAI_GStreamer_Plug-In">http://processors.wiki.ti.com/index.php/Category:DMAI_GStreamer_Plug-In</a><br>
    <a
      href="http://processors.wiki.ti.com/index.php/GstTIPlugin_Elements">http://processors.wiki.ti.com/index.php/GstTIPlugin_Elements</a><br>
    <a
href="http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines">http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines</a><br>
    <br>
    <br>
    Regards,<br>
    Emile<br>
  </body>
</html>