<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nitrogen 6X -- large streaming delay. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457273#M71472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp;&amp;nbsp; Please check Your Gstreamer pipeline, what elements have latency property in order &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;to configure them for low-latency mode. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 07:06:13 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2015-12-03T07:06:13Z</dc:date>
    <item>
      <title>Nitrogen 6X -- large streaming delay.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457272#M71471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After getting valuable support from you, I managed to get the platform up and running and it performs encoding quite nicely. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, one of the requirements we have is that we can achieve a 200-300ms latency in streaming from the board over the network. I am currently experiencing latencies of 2-3 seconds in my LAN setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The setup, in short:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nitrogen 6x Quad on Ubuntu Trusty --&amp;gt; rtph264pay --&amp;gt; wired LAN --&amp;gt; Windows PC running VLC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the sender, I run:&lt;/P&gt;&lt;P&gt;gst-launch-0.10 -e imxv4l2src do-timestamp=true device=/dev/video1 capture-mode=5 ! vpuenc codec=6 ! rtph264pay config-interval=1 ! udpsink host=192.168.0.153 port=9078 sync=false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the receiver, I use the following SDP file:&lt;/P&gt;&lt;P&gt;v=0&lt;/P&gt;&lt;P&gt;o=- 1208520720 2590316915 IN IP4 &amp;lt;PC's IP&amp;gt;&lt;/P&gt;&lt;P&gt;c=IN &amp;lt;PC's IP&amp;gt;&lt;/P&gt;&lt;P&gt;s=ESP H264 STREAM&lt;/P&gt;&lt;P&gt;m=video 9078 RTP/AVP 96&lt;/P&gt;&lt;P&gt;a=rtpmap:96 H264/90000&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//I took the sprop parameters from running gst-launch with -v&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;a=fmtp:96 media=video; clock-rate=90000; encoding-name=H264; sprop-parameter-sets=Z0JAKKaAeAIn5UAA,aM44gAA==&lt;/P&gt;&lt;P&gt;a=control:trackID=1&lt;/P&gt;&lt;P&gt;a=ssrc:3632397957&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I output the camera feed directly to the screen, there is no noticeable latency, so the latency should come from either the encoding, or the rtph264 layer. If I ping between the two machines, the latency is under 1ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindest regards,&lt;/P&gt;&lt;P&gt;Cristian Pandele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 14:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457272#M71471</guid>
      <dc:creator>cristianpandele</dc:creator>
      <dc:date>2015-12-02T14:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nitrogen 6X -- large streaming delay.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457273#M71472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp;&amp;nbsp; Please check Your Gstreamer pipeline, what elements have latency property in order &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;to configure them for low-latency mode. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 07:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457273#M71472</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-12-03T07:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nitrogen 6X -- large streaming delay.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457274#M71473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your message. As far as I read before posting the question, there is not much in the way of low latency settings for the pipeline elements. Could anyone shed some light on possible parameters to set? And yes, vpuenc is required for our needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I managed to cut down a lot of latency by playing with VLC's settings, now we get around 500ms, still a bit far from 200-300ms, but definitely closer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I welcome any suggestions regarding this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindest regards,&lt;/P&gt;&lt;P&gt;Cristian Pandele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 11:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457274#M71473</guid>
      <dc:creator>cristianpandele</dc:creator>
      <dc:date>2015-12-03T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Nitrogen 6X -- large streaming delay.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457275#M71474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; According to the following from Community “Q&amp;amp;A: How is VPU Latency on i.MX6”,&lt;/P&gt;&lt;P&gt;VPU delay depends on the following factors : num_reorder_frames, max_dec_frame_buffering,&lt;/P&gt;&lt;P&gt;num_ref_frames, MaxDpbSize, etc. So, the customer can try to play with these parameters to find&amp;nbsp; &lt;/P&gt;&lt;P&gt;the best solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95547"&gt;Q&amp;amp;amp;A: How is VPU Latency on i.MX6&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 07:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Nitrogen-6X-large-streaming-delay/m-p/457275#M71474</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-04T07:42:37Z</dc:date>
    </item>
  </channel>
</rss>

