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(&argc,&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"><<a href="mailto:gibrovacco@gmail.com" target="_blank">gibrovacco@gmail.com</a>></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 <<a href="mailto:marasu2010@gmail.com" target="_blank">marasu2010@gmail.com</a>> wrote:<br>
> HI All,<br>
><br>
> We are using the gstreamer for capturing the video .we are<br>
> using packages mentioned below<br>
><br>
> gst-plugins-good-0.10.14, gst-plugins-base-0.10.23, gstreamer-0.10.23,<br>
> gst-plugins-bad-0.10.13<br>
><br>
> we are using the pipeline for capturing the video mentioned below<br>
><br>
> export GST_REGISTRY_UPDATE=no<br>
> export GST_REGISTRY_FORK=no<br>
><br>
<br>
</div>I don't think it is necessary to set "GST_REGISTRY_FORK=no" in order<br>
to get any improvement. Actually, imo setting this would make things<br>
worse in your case (see below).<br>
<div><br>
> 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>
> name=demux demux. ! queue ! rtpmp4vdepay ! mpeg4videoparse ! dmaidec_mpeg4 !<br>
> TIDmaiVideoSink videoOutput=LCD videoStd=320X240 demux. ! queue !<br>
> rtppcmudepay ! mulawdec ! alsasink<br>
><br>
> When we launch the above mentiond pileline on the command line,we are able<br>
> to display video on Lcd.The output is<br>
><br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is live and does not need PREROLL ...<br>
> Setting pipeline to PLAYING ...<br>
> DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:<br>
> layer.pix_fmt.bytesperline = 320,<br>
> layer.pix_fmt.width = 320,<br>
> layer.pix_fmt.height = 240,<br>
> layer.pix_fmt.sizeimage =115200<br>
> New clock: GstSyDavinciDisplay DavinciDisplay.1: pixfmt->width = 320,<br>
> layer->layer_info.config.line_length= 320<br>
> stemClock<br>
><br>
> Once I run the above command ,its taking 2 second to get the first message<br>
> (Setting pipeline to PAUSED ...).<br>
> one second for update the registry,<br>
<br>
</div>it's strange, as you've set GST_REGISTRY_UPDATE to "no". 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 "REGISTRY_SCAN_HELPER_NOT_STARTED" in opposition to<br>
"REGISTRY_SCAN_HELPER_DISABLED".<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>
> anothe one second for parsing the command<br>
> line arguments.(gst_parse_launchv)<br>
><br>
<br>
</div>you'll get rid of this by building the pipeline "manually" 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>
> 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>
><br>
><br>
> thanks and regards,<br>
><br>
> Arasu.M<br>
><br>
><br>
><br>
><br>
><br>
</div>> ------------------------------------------------------------------------------<br>
> Beautiful is writing same markup. Internet Explorer 9 supports<br>
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.<br>
> Spend less time writing and rewriting code and more time creating great<br>
> experiences on the web. Be a part of the beta today<br>
> <a href="http://p.sf.net/sfu/msIE9-sfdev2dev" target="_blank">http://p.sf.net/sfu/msIE9-sfdev2dev</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>
><br>
><br>
<br>
------------------------------------------------------------------------------<br>
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!<br>
Tap into the largest installed PC base & 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>