<?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: Video delay problem in Android in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287145#M34037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="j-post-avatar" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="j-status-levels" style="font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Employee" class="jiveImage" src="https://community-cache.freescale.com/5.0.3/resources/images/status/FS_EMP_40x18.png" style="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-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/jackmao"&gt;jackmao&lt;/A&gt; &lt;/STRONG&gt;Jun 12, 2013 6:42 PM &lt;SPAN class="font-color-meta-light j-thread-replyto" style="padding: 0 0 0 3px; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;(&lt;A _jive_internal="true" class="font-color-meta-light localScroll" href="https://community.nxp.com/message/334514#334480" style="font-style: inherit; font-family: inherit; color: #a9a9a9;" title="Go to message"&gt;in response to imxcommunityscout&lt;/A&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="j-ui-elem j-dotted-star" style="font-style: inherit; font-family: inherit; background-position: no-repeat no-repeat;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;Hi,&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; what's your meaning "&lt;SPAN style="font-style: inherit;"&gt;there is significant delay of 12-14 seconds between changes in the live video and showing these changes on the screen&lt;/SPAN&gt;"? please give a detail description,&amp;nbsp; please give a full log when the issue happen,by the way, what's your software version?&lt;/P&gt;&lt;P class="jive-thread-reply-btn" style="margin: 26px 0px -10px; font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/334514" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;Re: Video delay problem in Android&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jun 2013 15:41:05 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2013-06-13T15:41:05Z</dc:date>
    <item>
      <title>Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287139#M34031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My company is trying to make video playing in Android with i.MX6 board to work with live video sources. Unfortunately there is significant delay of 12-14 seconds between changes in the live video and showing these changes on the screen. I was trying various options and came to understanding that root cause of the problem is somewhere in Freescale code in OMX / VPU / GMPlayer, but can't figure out what should I change in firmware in order to reduce this delay. Please help, otherwise we will be unable to use Freescale for our commercial product. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 14:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287139#M34031</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-11T14:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287140#M34032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can reduce it here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;external/fsl_imx_omx/OpenMAXIL/src/component/streaming_parser/StreamingParser.cpp,&lt;/P&gt;&lt;P&gt;#define PACKET_CACHE_SIZE (4*OMX_TICKS_PER_SECOND)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 15:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287140#M34032</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-06-11T15:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287141#M34033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Using 65536 for &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PACKET_CACHE_SIZE&lt;/SPAN&gt; reduced it to 4.5 seconds. What else can be done? We need this to be 1 sec or less. We connect to live stream directly over local ethernet. VideoLan (VLC) application running on the same network has an negligible delay less than 0.5 second.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 17:08:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287141#M34033</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-11T17:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287142#M34034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: I figured that reducing fps reduces the delay. Reducing resolution also seems to help a little bit. However, even with SD resolution and 5 fps, we still get 2.5 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also another problem, after a little bit of time delay increases to 7 seconds. If streaming application is restarted, delay becomes shorter again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 17:14:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287142#M34034</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-11T17:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287143#M34035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if it will help but can you add 'enable_wait_mode=off' to your bootargs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 15:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287143#M34035</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-06-12T15:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287144#M34036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this did not help (no changes, still high delay after 2-3 minutes of running video).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 16:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287144#M34036</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-12T16:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287145#M34037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="j-post-avatar" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="j-status-levels" style="font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Employee" class="jiveImage" src="https://community-cache.freescale.com/5.0.3/resources/images/status/FS_EMP_40x18.png" style="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-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/jackmao"&gt;jackmao&lt;/A&gt; &lt;/STRONG&gt;Jun 12, 2013 6:42 PM &lt;SPAN class="font-color-meta-light j-thread-replyto" style="padding: 0 0 0 3px; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;(&lt;A _jive_internal="true" class="font-color-meta-light localScroll" href="https://community.nxp.com/message/334514#334480" style="font-style: inherit; font-family: inherit; color: #a9a9a9;" title="Go to message"&gt;in response to imxcommunityscout&lt;/A&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="j-ui-elem j-dotted-star" style="font-style: inherit; font-family: inherit; background-position: no-repeat no-repeat;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;Hi,&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; what's your meaning "&lt;SPAN style="font-style: inherit;"&gt;there is significant delay of 12-14 seconds between changes in the live video and showing these changes on the screen&lt;/SPAN&gt;"? please give a detail description,&amp;nbsp; please give a full log when the issue happen,by the way, what's your software version?&lt;/P&gt;&lt;P class="jive-thread-reply-btn" style="margin: 26px 0px -10px; font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/334514" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;Re: Video delay problem in Android&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 15:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287145#M34037</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2013-06-13T15:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287146#M34038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Setup is simple: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ethernet camera that transmits live rtsp stream in H264 and Android application that uses MediaPlayer class shows this video on HDMI HD monitor connected to i.MX6 Quad core board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Delay: when I wave my hand over the camera, it takes 12-14 seconds for it to show in Android application. &lt;/P&gt;&lt;P&gt;(or whatever number of seconds in other situations that I explained in other posts of this thread). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. What kind of log do you need and how do I get it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Software version: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLATFORM_VERSION_CODENAME=REL&lt;/P&gt;&lt;P&gt;PLATFORM_VERSION=4.0.4&lt;/P&gt;&lt;P&gt;TARGET_PRODUCT=sabresd_6dq&lt;/P&gt;&lt;P&gt;TARGET_BUILD_VARIANT=user&lt;/P&gt;&lt;P&gt;TARGET_BUILD_TYPE=release&lt;/P&gt;&lt;P&gt;TARGET_BUILD_APPS=&lt;/P&gt;&lt;P&gt;TARGET_ARCH=arm&lt;/P&gt;&lt;P&gt;TARGET_ARCH_VARIANT=armv7-a-neon&lt;/P&gt;&lt;P&gt;HOST_ARCH=x86&lt;/P&gt;&lt;P&gt;HOST_OS=linux&lt;/P&gt;&lt;P&gt;HOST_BUILD_TYPE=release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Linux version 3.0.35-05524-g8513494 (kotl@android1004) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Thu May 2 17:48:46 EDT 2013&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 17:17:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287146#M34038</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-13T17:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287147#M34039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that the delay time is increasing during the play, we suspect the sync issue, so could you dump the rtsp stream to us for analysis. By the way, what's the encode format? how many reference frame will it support?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 02:25:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287147#M34039</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-06-17T02:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287148#M34040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have posted this file for you to try.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.aimetis.com/public_downloads/FreescaleBoard/sample.mp4" style="font-size: 10pt; line-height: 1.5em;" title="http://www.aimetis.com/public_downloads/FreescaleBoard/sample.mp4"&gt;http://www.aimetis.com/public_downloads/FreescaleBoard/sample.mp4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see my hands in front of the camera at these times:&lt;/P&gt;&lt;P&gt;0:00 - 0:01&lt;/P&gt;&lt;P&gt;0:30 - 0:41&lt;/P&gt;&lt;P&gt;1:00 - 1:10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- When played through VLC 2.0.7 it works fine and shows my hands at proper times.&lt;/P&gt;&lt;P&gt;- I streamed it using VOD mode ( &lt;A href="http://www.videolan.org/doc/streaming-howto/en/ch05.html" title="http://www.videolan.org/doc/streaming-howto/en/ch05.html"&gt;Multiple streaming and Video on demand&lt;/A&gt; ) to check if the problem can be reproduced through this method instead of using direct connection to camera. I also ran VLC client alongside connecting to the same instance of streaming VLC. The following happened for Freescale board:&lt;/P&gt;&lt;P&gt; - delay at 0:30 was 4 seconds&lt;/P&gt;&lt;P&gt; - delay at 0:40 was ~5.5 seconds&lt;/P&gt;&lt;P&gt; - at 55 seconds video on Freescale board stopped working while VLC client continued playing at proper times and till the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is good enough for you to fix it. If you don't have&amp;nbsp; Android app that can play url given to it, you can use MX player if you use Network Stream feature in it and HW acceleration enabled. I tried to use MX player and it seem to work the same way as our test app, except that MX player stopped playing video at 1:02 (Total length of the video is 1:31), may be this stopping of the video is random, I did not do too many tests. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 21:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287148#M34040</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-17T21:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287149#M34041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I just setup my android&amp;nbsp; to play the mp4 file local, seems no issue, then what's you android release version? By the way how do you setup the vod system , use what's the software to play the video on android?&amp;nbsp; if it's easy to setup, could you give some detail. I still guess there are network issue such as package lose cause the A/V sync issue,&amp;nbsp; when you give me the version number, I will added some debug code in the multimedia lib for you test to get&amp;nbsp; the A/V sync log&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 10:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287149#M34041</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-06-19T10:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287150#M34042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Playing network streams is very different from playing local files. Please follow these exact steps to reproduce:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Install VideoLan (sometimes named VLC) ver 2.0.7 on Windows or Linux (I used Windows 7 64bit). You can download it from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.videolan.org"&gt;http://www.videolan.org&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. copy sample.mp4 to installation directory of VLC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Start command line window and go to installation directory of VLC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Use this guide for reference: &lt;A href="http://www.videolan.org/doc/streaming-howto/en/ch05.html" title="http://www.videolan.org/doc/streaming-howto/en/ch05.html"&gt;http://www.videolan.org/doc/streaming-howto/en/ch05.html&lt;/A&gt; specifically this section: Video On Demand&lt;/P&gt;&lt;P&gt;I used this command vlc --ttl 12 -vvv --color -I telnet --rtsp-host IP_ADDRESS:554&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where instead of IP_ADDRESS you use actual (not loopback) IP address of the desktop. (you can find it in the output of ipconfig)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Use telnet to connect to vlc (it uses port 4212). Don't worry that what you type is not displayed - it is expected. If you don't have telnet on Windows box, you may have to install it using Server Manager or Programs and Features. Or just use PuTTy: &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" title="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html"&gt;PuTTY Download Page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;telnet localhost 4212&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Issue these commands in telnet which will setup vlc to stream sample.mp4 in VOD mode:&lt;/P&gt;&lt;P&gt;new Test vod enabled&lt;/P&gt;&lt;P&gt;setup Test input sample.mp4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Test that vlc running in streaming mode is working by running second instance of vlc with these arguments (replace IP_ADDRESS):&lt;/P&gt;&lt;P&gt;vlc rtsp://IP_ADDRESS:554/Test&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Install MX player on Freescale board: &lt;A href="https://sites.google.com/site/mxvpen/"&gt;https://sites.google.com/site/mxvpen/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad&amp;amp;hl=en" title="https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad&amp;amp;hl=en"&gt;MX Player - Android Apps on Google Play&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. In MX Player select context menu and choose 'Network Stream'&lt;/P&gt;&lt;P&gt;10. Enter rtsp://IP_ADDRESS:554/Test and start timer when video starts showing. Observe delays at 0:30 and 0:40 and stream stopping playing around 55/60 seconds. (entire stream is 1:31)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 14:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287150#M34042</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-19T14:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287151#M34043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what you mean by &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;android release version&lt;/SPAN&gt;. I have given environment settings that are output by the build before. Is this what you are looking for? &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PLATFORM_VERSION=4.0.4&lt;/SPAN&gt; If not, please tell me how to determine this version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 14:43:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287151#M34043</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-19T14:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287152#M34044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; I think the PLATFORM_VERSION number is your side, I want to know the fsl android release version. Anyway, I will try to setup such a network environment first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 01:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287152#M34044</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-06-20T01:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287153#M34045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it r13.4.1 number you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 15:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287153#M34045</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-26T15:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287154#M34046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sorry for late, I have setup the environment and reproduce this issue , currently I 'm try do some modification and try on the board, if there is still a gap to the target&amp;nbsp; I will look for help internal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 09:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287154#M34046</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-06-27T09:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287155#M34047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tried to reduce the size of the buffer data to 30*1000, the first frame come out more quickly, by the way I compare the mx player and native video player of android, the video player start very quickly, so it seems some delay is caused by the application, I read the log, due to no audio , the mx player will wait for timeout , so it&amp;nbsp; will take longer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what I did test is install the vlc player apk, and in the application select more-&amp;gt; manual rtsp -&amp;gt; select the player, different player has different result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So I think you need a realtime player.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 02:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287155#M34047</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-06-28T02:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287156#M34048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Junping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I will still need your help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When you say 'native video player of android', what do you mean? We simply used MediaPlayer class and gave it rtsp url. Are you saying that MediaPlayer class is not supposed to play rtsp urls? Then why does it support it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When you said '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; the video player start very quickly&lt;/SPAN&gt;', which player you were referring to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. What application you are referring to when you said '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;delay is caused by the application'?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. VLC Player can not be used for comparison because it uses software mode which pegs cpu ( check cpu usage when using MX player in HW accelerated mode and VLC player, you should see big difference). I have tried other software mode players and while they have smaller delay, they all peg cpu. We are not interested to use software mode because it will only play one stream and not more. We are interested in using Freescale VPU as explained in &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-93611"&gt;https://community.freescale.com/docs/DOC-93611&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And since delay and de-syncronization is occurring in Freescale code/hardware, I am expecting your help on this matter. What is the reason of having VPU when you can not use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Sergei.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 14:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287156#M34048</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-06-28T14:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287157#M34049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergei,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.The native video player means gallery which is pre-installed in android system. It will use the hardware VPU, all my test is based on the hardware VPU, I just want you to compare the different on your side, I need make sure that we meet the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Gallery start very quickly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. mx player, I notice it spend some time on audio play by the log. please confirm this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.&amp;nbsp; I use VLC Direct Pro apk&amp;nbsp; to use it RTSP streaming function, it will auto popup the window to let the user select the Gallery or mxplayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All I did is base on the VPU,&amp;nbsp; VLC is using as the streaming protocol, mxplayer or gallery as the video player.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please try those to see if we meet the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 01:49:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287157#M34049</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-07-01T01:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Video delay problem in Android</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287158#M34050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried what you asked for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Mx player takes longer time to start, but video delay is the same as through Gallery.&lt;/P&gt;&lt;P&gt;4. VLC Direct Pro + Gallery: initial delay for 1080p resolution is 4.5 seconds. Initial delay for 800x600 resolution is ~2 seconds. After couple of minutes, delay for SD resolution becomes 5 seconds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is still there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What did you do in firmware to '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt; reduce the size of the buffer data to 30*1000&lt;/SPAN&gt;' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 17:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Video-delay-problem-in-Android/m-p/287158#M34050</guid>
      <dc:creator>sergeikotlyachk</dc:creator>
      <dc:date>2013-07-02T17:54:09Z</dc:date>
    </item>
  </channel>
</rss>

