<?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: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452279#M70309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jones,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any hints about my problems:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;with VPU wrapper: the decoded .yuv from the input MJPG looks corrupted after first few rows; &lt;/LI&gt;&lt;LI&gt;with VPU SDK: the decoded .yuv from the input MJPG is complete but the colors are not right.&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2015 09:20:50 GMT</pubDate>
    <dc:creator>yanfengliu</dc:creator>
    <dc:date>2015-11-11T09:20:50Z</dc:date>
    <item>
      <title>Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452273#M70303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying the examples from the libfslwap-1.0.46 package which comes together with the FSL 3.10.17 release on a i.MX6Q device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found the MJPG decoder can't correctly decode a .mjpg file generated by the VPU itself, the resulted .yuv file looks just have a few rows right at beginning of the picture and the rest pixels are constant color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command we are using is "test_dec_arm_elinux", we checked the result using ffplayer on PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone have hints about how to resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 04:01:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452273#M70303</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2015-11-03T04:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452274#M70304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yanfeng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as to not confuse this problem with the JPEG 1024 problem I will handle this through this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are saying that you encode a video through the vpu, and when you play it back using ffmpeg there are alignment problems and video artifacts? To narrow this down.&amp;nbsp; Is the same problem seen when using other mpeg players?&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, 03 Nov 2015 20:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452274#M70304</guid>
      <dc:creator>gfine</dc:creator>
      <dc:date>2015-11-03T20:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452275#M70305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me try to be more specific so that you can reproduce the issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) FSL release version is "3.10.17-1.0.3"&lt;/P&gt;&lt;P&gt;2) VPU wrapper library is version&amp;nbsp; 1.0.46-r0"&lt;/P&gt;&lt;P&gt;3) program used is the "test_dec_arm_elinux" example comes with the libfslvpuwrap 1.0.46-r0.&lt;/P&gt;&lt;P&gt;4) Test procedure is to use the example to decode a MJPG file generated by the encoder example, it contains only one frame and is JFIF style.&lt;/P&gt;&lt;P&gt;5) The decoder tool command line shows no error, but the result file content is not right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I can't upload .mjpg easily on this forum, otherwise I can share you the input file.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;: I uploaded the input here &lt;A href="https://community.nxp.com/docs/DOC-329060"&gt;1280x720.mjpg test input for libvpuwrap 1.0.46 decoder test&lt;/A&gt; but not sure if you can see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result file looks like this in ffplayer, we haven;t tried other players yet.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unnamed QQ Screenshot20151104082247.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51867i2F3E25FAE8E312D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unnamed QQ Screenshot20151104082247.png" alt="Unnamed QQ Screenshot20151104082247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 00:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452275#M70305</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2015-11-04T00:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452276#M70306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Yanfeng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try the VPU unit test tool for the generated JPEG stream with the following command ?&lt;/P&gt;&lt;P&gt;./mxc_vpu_test.out -D "-i 1280x720.mjpg -f 7"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not have the permission to download the JPEG stream that you posted. We are asking the permission for downloading this clip so that we can test it in our site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jones&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 22:54:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452276#M70306</guid>
      <dc:creator>ZhongliHe</dc:creator>
      <dc:date>2015-11-04T22:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452277#M70307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yanfeng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get access to your file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried another player (Ubuntu 14.04 and Image viewer)&amp;nbsp; and it shows a coffee cup sitting on a desk (see attached capture) .&amp;nbsp; So it was encoded properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We may want to look at the capabilities of whatever player you used to decode. You said "test_dec_arm_elinux" Correct?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MJPEG2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2300iE305D093A8463BCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="MJPEG2.png" alt="MJPEG2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried gplay and it seems to display properly on a 6Q test baord I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 00:13:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452277#M70307</guid>
      <dc:creator>gfine</dc:creator>
      <dc:date>2015-11-05T00:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452278#M70308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes we can decode the .MJPG correctly with ffplayer as well --- just as I said the VPU Wrapper sample program works well for mjpg encoding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our problem is that when we decode the .mjpg to .yuv using the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;"test_dec_arm_elinux" sample, then we can't view the result .yuv file correctl --- it looks like incomplete as I show above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;On the other side, when we decode the .mjpg to .yuv using the "mxc_vpu_test" sample (&lt;/SPAN&gt;./mxc_vpu_test -D "-i 1280x720.mjpg -f 7 -o 1280x720-vpu.yuv")&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;"&gt;, we can see a somewhat changed picture but it is complete. see the screen shot below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unnamed QQ Screenshot20151105082335.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2248i7BB91135307442C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unnamed QQ Screenshot20151105082335.png" alt="Unnamed QQ Screenshot20151105082335.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;yanfeng&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 00:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452278#M70308</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2015-11-05T00:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452279#M70309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jones,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any hints about my problems:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;with VPU wrapper: the decoded .yuv from the input MJPG looks corrupted after first few rows; &lt;/LI&gt;&lt;LI&gt;with VPU SDK: the decoded .yuv from the input MJPG is complete but the colors are not right.&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 09:20:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452279#M70309</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2015-11-11T09:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Corrupted MJPG decoding result with FSL 3.10.17 BSP on i.MX6Q VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452280#M70310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally I am able to decode JPG correctly with "mxc_vpu_test" tool. The output .yuv file is actually correct since it can be encoded as .264 file (w/ "mxc_vpu_test") and displayed correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 14:38:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Corrupted-MJPG-decoding-result-with-FSL-3-10-17-BSP-on-i-MX6Q/m-p/452280#M70310</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2016-04-01T14:38:36Z</dc:date>
    </item>
  </channel>
</rss>

