<?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>i.MX ProcessorsのトピックRe: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300995#M37861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Otto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a workaround but it will never be released into the builds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem stems from the server side.&amp;nbsp; The TS stream's PMT&amp;nbsp; (&lt;A href="http://en.wikipedia.org/wiki/MPEG_transport_stream#PMT"&gt;http://en.wikipedia.org/wiki/MPEG_transport_stream#PMT&lt;/A&gt;) tells the receiver's parser that it has a certain number of PIDs (Program IDs).&amp;nbsp; The parser finds one less program than it was told (for example the count in the PMT was 3 PIDs, it finds the first 2 PIDs). It then scans for the last PID (up to 8 MB).&amp;nbsp; This is what causes the latency, and that is how it is currently programmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a workaround where instead of going into the scan the parser exits the scan. The end results may be mixed depending on what data is on the last PID. We can sent the file with the workaround with the understanding of what it does, and that FSL will not release it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ultimate fix is to make sure the sender (server) sends the right data where the PMT PID count and the number of programs (PIDs) are the correct. &lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2014 20:42:42 GMT</pubDate>
    <dc:creator>gfine</dc:creator>
    <dc:date>2014-06-27T20:42:42Z</dc:date>
    <item>
      <title>Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300982#M37848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the following pipeline to play (live) TS RTP Streams &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;gst-launch udpsrc port=5000 caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" ! .recv_rtp_sink_0 gstrtpbin latency=10 ! rtpmp2tdepay ! aiurdemux ! vpudec low-latency=true ! mfw_v4lsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It plays fine, however it takes over 10 seconds before the playback begins. Latency is low, so we are not looking at the system buffering 10 seconds worth of data and then starting the playback. See log below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_______&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MFW_GST_V4LSINK_PLUGIN 3.0.11 build on May 12 2014 16:13:01.&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp;&amp;nbsp;&amp;nbsp; Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;vpudec versions :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plugin: 3.0.11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wrapper: 1.0.46(VPUWRAPPER_ARM_LINUX Build on May 19 2014 10:13:37)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vpulib: 5.4.23&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; firmware: 3.1.1.46056&lt;/P&gt;&lt;P&gt;Pipeline is live and does not need PREROLL ...&lt;/P&gt;&lt;P&gt;Setting pipeline to PLAYING ...&lt;/P&gt;&lt;P&gt;New clock: GstSystemClock&lt;/P&gt;&lt;P&gt;Aiur: 3.0.11 &lt;/P&gt;&lt;P&gt;Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.19&amp;nbsp; build on Jan 20 2014 02:03:56&lt;/P&gt;&lt;P&gt;&amp;nbsp; mime: video/mpeg, mpegversion=(int)[1,2]; video/mpegts, systemstream=true; video/x-cdxa&lt;/P&gt;&lt;P&gt;&amp;nbsp; file: /usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/P&gt;&lt;P&gt;Content Info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size(byte): -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;lt;--- 10 Second delay here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mpeg2CreateParser:parser created successfully&lt;/P&gt;&lt;P&gt;Movie Info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Live&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&amp;nbsp; : 0:00:00.000000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReadMode&amp;nbsp; : File&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; programs&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Track&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Track 00 [audio_001034] Enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ppid: 1, ppid 52&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 0:00:00.000000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language: und&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mime:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1625, framed=(boolean)true&lt;/P&gt;&lt;P&gt;Track 01 [video_001031] Enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ppid: 1, ppid 49&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 0:00:00.000000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language: und&lt;/P&gt;&lt;P&gt;_________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve narrowed the delay down to this function call in aiurdemux.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CORE_API (inf, createParser, goto fail, core_ret,&lt;/P&gt;&lt;P&gt;(bool) (demux-&amp;gt;clip_info.live), file_cbks, mem_cbks, buf_cbks,&lt;/P&gt;&lt;P&gt;(void *) demux, &amp;amp;handle);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it is my understanding that the parser is provided as a binary library which means its not very practical for me to troubleshoot further. I've tried the 4.1.0 LTIB BSP &amp;amp; the 1.0.0 Yocto with the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to solve this problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 18:41:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300982#M37848</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-05-19T18:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300983#M37849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Otto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are discussing your issue internally meanwhile, have you seen this entry:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94646"&gt;GStreamer RTP Streaming&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jaime&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>Wed, 28 May 2014 15:24:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300983#M37849</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2014-05-28T15:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300984#M37850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update Jamie !&lt;/P&gt;&lt;P&gt;Yes, I have seen that page. My pipeline is based on it, minus the audio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 16:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300984#M37850</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-05-28T16:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300985#M37851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H6 style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="font-color-meta-light" data-content-finding="Community" href="https://community.nxp.com/message/407218#407218" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;Re: Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams&lt;/A&gt;&lt;/STRONG&gt;&lt;/H6&gt;&lt;P class="j-post-avatar" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="j-avatar jiveTT-hover-user" data-avatarid="26872" data-content-finding="Community" data-externalid="" data-presence="null" data-userid="210819" data-username="juangutierrez" href="https://community.nxp.com/people/juangutierrez" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;&lt;IMG alt="Juan Antonio Gutierrez Rosas" border="0" class="jiveImage jive-avatar" data-avatarid="26872" data-height="46" data-username="juangutierrez" height="46" src="https://community.nxp.com/people/juangutierrez/avatar/46.png?a=26872" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="46" /&gt;&lt;/A&gt;&lt;SPAN class="j-status-levels" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Employee" class="jiveImage" src="https://community.nxp.com/6.0.2.0/resources/images/status/FS_EMP_40x18.png" style="font-weight: inherit; font-style: inherit; font-family: inherit;" title="Employee" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author" style="font-weight: inherit; font-style: inherit; font-size: 0.9em; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/people/juangutierrez"&gt;juangutierrez&lt;/A&gt; &lt;/STRONG&gt;May 29, 2014 10:32 AM &lt;SPAN class="font-color-meta-light j-thread-replyto" style="padding: 0 0 0 3px; font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;(&lt;A _jive_internal="true" class="font-color-meta-light localScroll" data-content-finding="Community" href="https://community.nxp.com/thread/324506#407185" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;" title="Go to message"&gt;in response to Juan Antonio Gutierrez Rosas&lt;/A&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A class="j-ui-elem j-helpful-star j-star popped" data-content-finding="Community" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: no-repeat no-repeat;"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-ui-elem j-dotted-star" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: no-repeat no-repeat;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I get some stream kind of working, and I was able to see the delay after the below traces in the log&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : No&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size(byte): -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In my case is around 5 seconds delay. However if I removed the "latency=10" property for the &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.666666984558105px; font-family: 'courier new', courier;"&gt;gstrtpbin&lt;/SPAN&gt; element, Im not able to see the 5 seconds delay&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Would you try removing the latency=10 property on your pipeline, please?&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;P style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.666666984558105px; font-family: 'courier new', courier;"&gt;gst-launch udpsrc port=5000 caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" ! .recv_rtp_sink_0 gstrtpbin ! rtpmp2tdepay ! aiurdemux ! vpudec low-latency=true ! mfw_v4lsink&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.666666984558105px; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 12:56:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300985#M37851</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-05-30T12:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300986#M37852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can you try another demuxer like mpegtsdemux instead of aiurdemux?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can get this from the gst-plugins-bad package. You only need to install/copy the libgstmpegdemux.so to your filesystem (No need to install the rest of the libraries, just the mpegtsdemux). I have attached the library for L3.04. Or you can build it by your own too.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;sudo cp &amp;lt;gst-plugins-bad_directory&amp;gt;/libgstmpegdemux.so&amp;nbsp; rootfs/usr/lib/gstreamer-0.10/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Restart the board and try to run again with the next pipeline&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;gst-launch udpsrc port=5000 caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" ! .recv_rtp_sink_0 gstrtpbin latency=10 ! rtpmp2tdepay ! &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;mpegtsdemux&lt;/STRONG&gt; ! vpudec low-latency=true ! mfw_v4lsink&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anyways, the aiurdemux should be working though.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Do you know if there is anyway to reproduce the problem without need for the streaming? I mean just in the sink side.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or, would you post the pipeline for the source (to stream a video in TS format)? So I can reproduce the problem here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 14:57:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300986#M37852</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2014-05-30T14:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300987#M37853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juan/Otto,&lt;/P&gt;&lt;P&gt;do you see the same delay when using playbin2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 15:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300987#M37853</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2014-05-30T15:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300988#M37854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately removing the latency parameter did not make a difference for me. I'll try to come up with a way to reproduce this with a file or maybe a tcpdump replay, so that we have the same source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 18:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300988#M37854</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-05-30T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300989#M37855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mpegtsdemux does not play my stream, however tsdemux plays it. But we are seeing mainly two problems with tsdemux&amp;nbsp; - Leaks memory and it does not work well with the following pipeline (Play RTP stream then "tee" it to a encoder and save to a file). Playback stutters and the recording falls behind. However, with aiurdemux it works fine (besides a 35s delay during startup). This application is critical for our use of the i.MX6 encoder/decoder.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;gst-launch gstrtpbin name=rtpbin latency=10 udpsrc caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpmp2tdepay ! aiurdemux streaming-latency=10 ! vpudec low-latency=true ! tee name=t t. ! queue ! vpuenc codec=6 bitrate=2000000 ! queue ! matroskamux name=mux ! filesink location=output_media_file.mkv enable-last-buffer=false t. ! queue ! mfw_v4lsink sync=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So it appears that aiurdemux is a lot closer to working than the mpegtsdemux &amp;amp; tsdemux. My guess is that the aiurdemux startup delay is caused by some form of timeout, which would be pretty straightforward to troubleshoot if we had the source code. Troubleshooting memory leaks and performance problems with tsdemux sounds like it could be a long trip down a dark road.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 18:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300989#M37855</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-05-30T18:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300990#M37856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how to construct a TS RTP pipeline using playbin2, but I have tested this with the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch -v rtspsrc location=rtsp://10.0.3.102 ! decodebin ! mfw_v4lsink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 18:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300990#M37856</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-05-30T18:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300991#M37857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting update -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried recording the stream into a file using the following pipeline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;gst-launch gstrtpbin name=rtpbin latency=200 udpsrc caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpmp2tdepay ! filesink location=video.ts&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: normal;"&gt;&lt;/P&gt;&lt;P style="font-weight: normal;"&gt;Then playback using&lt;/P&gt;&lt;P style="font-weight: normal;"&gt;&lt;/P&gt;&lt;P style="font-weight: normal;"&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;gst-launch filesrc location=video.ts ! video/mpegts ! aiurdemux ! queue ! vpudec low-latency=true ! mfw_v4lsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Playback starts immediately, so the problem is not in the data-stream itself. The only difference in the logs (see below) are that the "Live" and "Seekable" flags are different, so it appears to have something do to with that. Is there something else I could try ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and have a great weekend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log with instant playback &lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Aiur: 3.0.7 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.14&amp;nbsp; build on Jun 25 2013 14:37:53&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp; mime: video/mpeg, mpegversion=(int)[1,2]; video/mpegts, systemstream=true; video/x-cdxa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp; file: /usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Content Info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; URI:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file:///root/video.ts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Idx File:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /root/.aiur/.root.video.ts.aidx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : Yes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size(byte): 1443652&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Mpeg2CreateParser:parser created successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;xc_v4l2_output mxc_v4l2_output.0: Bypass IC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;[1;34mMovie Info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : Yes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Live&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : No&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&amp;nbsp; : 0:00:09.130667000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReadMode&amp;nbsp; : File&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; programs&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Track&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Track 00 [audio_001034] Enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ppid: 1, ppid 52&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 0:00:09.130667000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language: und&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mime:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;27875, framed=(boolean)true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Track 01 [video_001031] Enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ppid: 1, ppid 49&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 0:00:09.111278000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language: und&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mime:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-h264, parsed=(boolean)true, width=(int)1920, height=(int)1088, framerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;=(fraction)30/1, codec_data=(buffer)000001674d00299a6280f0088fbc05a808080a000007&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;d20001d4c1d0c01ba00001dcd6577971a18037400003b9acaef2e14000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;----------------------------------&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log with 15 second delay &lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Aiur: 3.0.7 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.14&amp;nbsp; build on Jun 25 2013 14:37:53&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp; mime: video/mpeg, mpegversion=(int)[1,2]; video/mpegts, systemstream=true; video/x-cdxa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp; file: /usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Content Info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : No&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size(byte): -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Mpeg2CreateParser:parser created successfully&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Movie Info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seekable&amp;nbsp; : No&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Live&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Yes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration&amp;nbsp; : 0:00:00.000000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReadMode&amp;nbsp; : File&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; programs&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Track&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Track 00 [audio_001034] Enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ppid: 1, ppid 52&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 0:0mxc_v4l2_output mxc_v4l2_output.0: Bypass IC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;0:00.000000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language: und&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mime:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;27875, framed=(boolean)true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Track 01 [video_001031] Enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ppid: 1, ppid 49&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Duration: 0:00:00.000000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language: und&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mime:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-h264, parsed=(boolean)true, width=(int)1920, height=(int)1088, framerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;=(fraction)30/1, codec_data=(buffer)000001674d00299a6280f0088fbc05a808080a000007&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;d20001d4c1d0c01ba00001dcd6577971a18037400003b9acaef2e14000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 20:47:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300991#M37857</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-05-30T20:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300992#M37858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just added some logs wrapping the CORE_API (inf, createParser...) function but actually no observing the delay there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other interesting thing is that if I run the sync first (in the i.mx) and then the source (in the PC) I did not see any delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you post the pipeline used in the source (PC), please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 23:24:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300992#M37858</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2014-06-05T23:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300993#M37859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The stream is coming from a hardware encoder, so its a little bit trickier to replicate. I attached a sample file generated with tcpdump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Install tcpreplay package&lt;/P&gt;&lt;P&gt;2. Then run the command below to adjust the destination IP and MAC of the recorded packets. (Change IP and MAC as needed to match Sabre board)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;tcprewrite --fixcsum --infile=ts_rtp_stream.pcap --outfile=ts_rtp_stream2.pcap --dstipmap=0.0.0.0/0:10.0.3.101/32 --enet-dmac=00:11:22:33:44:55&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Start gstreamer pipeline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: FreeMono;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;gst-launch gstrtpbin name=rtpbin latency=200 udpsrc caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpmp2tdepay ! aiurdemux ! vpudec low-latency=true ! mfw_v4lsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Start playback of RTP stream (Adjust interface as needed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;sudo tcpreplay --intf1=eth1 ts_rtp_stream2.pcap&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That particular one takes about 30 sec to start on my board. When using tsdemux it plays in less than one second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how it goes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: FreeMono;"&gt;&lt;SPAN lang="JA" style="font-family: FreeMono;"&gt;&lt;SPAN lang="EN"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 23:10:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300993#M37859</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-06-06T23:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300994#M37860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updates on this ? Its still a major concern for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 16:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300994#M37860</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-06-25T16:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300995#M37861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Otto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a workaround but it will never be released into the builds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem stems from the server side.&amp;nbsp; The TS stream's PMT&amp;nbsp; (&lt;A href="http://en.wikipedia.org/wiki/MPEG_transport_stream#PMT"&gt;http://en.wikipedia.org/wiki/MPEG_transport_stream#PMT&lt;/A&gt;) tells the receiver's parser that it has a certain number of PIDs (Program IDs).&amp;nbsp; The parser finds one less program than it was told (for example the count in the PMT was 3 PIDs, it finds the first 2 PIDs). It then scans for the last PID (up to 8 MB).&amp;nbsp; This is what causes the latency, and that is how it is currently programmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a workaround where instead of going into the scan the parser exits the scan. The end results may be mixed depending on what data is on the last PID. We can sent the file with the workaround with the understanding of what it does, and that FSL will not release it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ultimate fix is to make sure the sender (server) sends the right data where the PMT PID count and the number of programs (PIDs) are the correct. &lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 20:42:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300995#M37861</guid>
      <dc:creator>gfine</dc:creator>
      <dc:date>2014-06-27T20:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300996#M37862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information. That makes sense. We do not always have control of the incoming stream so we would like to try out the work-around, even though it will not be released / supported by Freescale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great weekend !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 21:02:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300996#M37862</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-06-27T21:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300997#M37863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Btw, after removing the ghost audio stream from the PMT tables it comes right up ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 21:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300997#M37863</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-06-27T21:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300998#M37864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Otto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the workaround file.&amp;nbsp; As mentioned it will not be included in future releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 20:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300998#M37864</guid>
      <dc:creator>gfine</dc:creator>
      <dc:date>2014-07-25T20:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300999#M37865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Glen ! Works as advertised &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:37:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/300999#M37865</guid>
      <dc:creator>ottob</dc:creator>
      <dc:date>2014-07-28T16:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/301000#M37866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen,&lt;/P&gt;&lt;P&gt;Even with attached library I am getting delay of 30sec.My pipeline is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch-0.10 udpsrc port=1028 caps=\"application/x-rtp, media=(string)video\" ! rtpmp2tdepay&amp;nbsp; ! aiurdemux name=demux demux. ! queue&amp;nbsp; max-size-time=0 max-size-buffers=0 max-size-bytes=0&amp;nbsp; ! vpudec&amp;nbsp; ! mfw_isink sync=false async=false disp-height=617 axis-top=57&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 09:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/301000#M37866</guid>
      <dc:creator>venkateshm</dc:creator>
      <dc:date>2014-09-23T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer aiurdemux parser takes long time with TS RTP Streams</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/301001#M37867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkatesh,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is the OS version? This workaround was supplied for 3.0.35. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As stated the problem stems from the source stream having erroneous information about the number of PIDs in the stream.&amp;nbsp; Otherwise your problem is different.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you open a seperate thread on the issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 16:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-aiurdemux-parser-takes-long-time-with-TS-RTP-Streams/m-p/301001#M37867</guid>
      <dc:creator>gfine</dc:creator>
      <dc:date>2014-09-23T16:57:34Z</dc:date>
    </item>
  </channel>
</rss>

