Hi All,<br><br>            We are using the DM365 target board. I wrote one Audio streaming application.I have attached that source code.This application takes three second to execute.Its taking two second to execute gst_init(&amp;argc,&amp;argv)  API ,We used the Libraries mentioned below <br>
<br>gst-plugins-good-0.10.14, gst-plugins-base-0.10.23, gstreamer-0.10.23,gst-plugins-bad-0.10.13, liboil ,libxml , libiconv<br><br>Is it possible to get executed in one second.<br><br>Can anyone help on this issue<br><br>
<br>regards,<br><br>Arasu.M<br><br><br><br><br><br><br><br><div class="gmail_quote">
On Sun, Nov 28, 2010 at 6:00 PM, Marco Ballesio <span dir="ltr">&lt;<a href="mailto:gibrovacco@gmail.com" target="_blank">gibrovacco@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Hi,<br>
<br>
as usual, a late reply. Here anyway my 0.05 €..<br>
<div><br>
On Mon, Nov 22, 2010 at 4:42 PM, tamil arasu &lt;<a href="mailto:marasu2010@gmail.com" target="_blank">marasu2010@gmail.com</a>&gt; wrote:<br>
&gt; HI All,<br>
&gt;<br>
&gt;             We are using the gstreamer for  capturing the video .we are<br>
&gt; using packages mentioned below<br>
&gt;<br>
&gt; gst-plugins-good-0.10.14, gst-plugins-base-0.10.23, gstreamer-0.10.23,<br>
&gt; gst-plugins-bad-0.10.13<br>
&gt;<br>
&gt; we are using the pipeline for capturing the video mentioned  below<br>
&gt;<br>
&gt; export GST_REGISTRY_UPDATE=no<br>
&gt; export GST_REGISTRY_FORK=no<br>
&gt;<br>
<br>
</div>I don&#39;t think it is necessary to set &quot;GST_REGISTRY_FORK=no&quot; in order<br>
to get any improvement. Actually, imo setting this would make things<br>
worse in your case (see below).<br>
<div><br>
&gt; gst-launch rtspsrc location=rtsp://<a href="http://192.168.1.168:8554/mpeg4" target="_blank">192.168.1.168:8554/mpeg4</a> latency=100<br>
&gt; name=demux demux. ! queue ! rtpmp4vdepay ! mpeg4videoparse ! dmaidec_mpeg4 !<br>
&gt; TIDmaiVideoSink videoOutput=LCD videoStd=320X240 demux. ! queue !<br>
&gt; rtppcmudepay ! mulawdec ! alsasink<br>
&gt;<br>
&gt; When we launch the above mentiond pileline on the command line,we are able<br>
&gt; to display video on Lcd.The output is<br>
&gt;<br>
&gt; Setting pipeline to PAUSED ...<br>
&gt; Pipeline is live and does not need PREROLL ...<br>
&gt; Setting pipeline to PLAYING ...<br>
&gt; DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:<br>
&gt; layer.pix_fmt.bytesperline = 320,<br>
&gt;  layer.pix_fmt.width = 320,<br>
&gt;  layer.pix_fmt.height = 240,<br>
&gt;  layer.pix_fmt.sizeimage =115200<br>
&gt; New clock: GstSyDavinciDisplay DavinciDisplay.1: pixfmt-&gt;width = 320,<br>
&gt;  layer-&gt;layer_info.config.line_length= 320<br>
&gt; stemClock<br>
&gt;<br>
&gt; Once I run the above command ,its taking 2 second to get  the  first message<br>
&gt; (Setting pipeline to PAUSED ...).<br>
&gt; one second for update the registry,<br>
<br>
</div>it&#39;s strange, as you&#39;ve set GST_REGISTRY_UPDATE to &quot;no&quot;. How did you<br>
understand this latency is caused when updating the registry?<br>
<br>
In gstregistry.c, setting GST_REGISTRY_FORK=no forces the scan helper<br>
state to &quot;REGISTRY_SCAN_HELPER_NOT_STARTED&quot; in opposition to<br>
&quot;REGISTRY_SCAN_HELPER_DISABLED&quot;.<br>
<br>
Just to say that, probably, disabling forks you did preempts any<br>
settings in GST_REGISTRY_UPDATE and triggers a registry generation<br>
anyway.<br>
<div><br>
&gt; anothe one second for parsing the command<br>
&gt; line arguments.(gst_parse_launchv)<br>
&gt;<br>
<br>
</div>you&#39;ll get rid of this by building the pipeline &quot;manually&quot; in a custom<br>
application. See here for more help:<br>
<br>
<a href="http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/index.html" target="_blank">http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/index.html</a><br>
<div><br>
&gt; how to reduce the this 2 second.Can anyone help me on this issue?<br>
<br>
</div>See above. Probably some extra-latency is caused by the video decoder<br>
buffering a fixed amount of memory but, as long as your source is in<br>
the local filesystem, its effect would be negligible.<br>
<br>
Regards<br>
<div><br>
&gt;<br>
&gt;<br>
&gt; thanks and regards,<br>
&gt;<br>
&gt; Arasu.M<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; ------------------------------------------------------------------------------<br>
&gt; Beautiful is writing same markup. Internet Explorer 9 supports<br>
&gt; standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 &amp; L3.<br>
&gt; Spend less time writing and  rewriting code and more time creating great<br>
&gt; experiences on the web. Be a part of the beta today<br>
&gt; <a href="http://p.sf.net/sfu/msIE9-sfdev2dev" target="_blank">http://p.sf.net/sfu/msIE9-sfdev2dev</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
<br>
------------------------------------------------------------------------------<br>
Increase Visibility of Your 3D Game App &amp; Earn a Chance To Win $500!<br>
Tap into the largest installed PC base &amp; get more eyes on your game by<br>
optimizing for Intel(R) Graphics Technology. Get started today with the<br>
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.<br>
<a href="http://p.sf.net/sfu/intelisp-dev2dev" target="_blank">http://p.sf.net/sfu/intelisp-dev2dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>