<?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: Sample application for encoding using VPU in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Sample-application-for-encoding-using-VPU/m-p/416731#M62627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhaval&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems it is the same as below&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/322734"&gt;H.264 encoder header problem&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one needs that file was played by all video players, it is necessary&lt;/P&gt;&lt;P&gt;to use gstreamer. Difference between gstreamer and unit test is that file created&lt;/P&gt;&lt;P&gt;with gstreamer has header while file encoded by the mxc_vpu_test.out is "raw" file&lt;/P&gt;&lt;P&gt;which&amp;nbsp; doesn't contain header file.&lt;/P&gt;&lt;P&gt;To play file created with mxc_vpu_test.out, its "raw" file should be converted&lt;/P&gt;&lt;P&gt;to the .mp4 format first. Some special tools such as, for example the following one:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.rarewares.org/mp4.html" rel="nofollow"&gt;http://www.rarewares.org/mp4.html&lt;/A&gt;&lt;SPAN&gt; reviewed below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.doom9.org/archive/index.php/t-62723.html" title="http://forum.doom9.org/archive/index.php/t-62723.html"&gt;MP4 FAQ [Archive] - Doom9's Forum&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2015 11:56:23 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2015-09-02T11:56:23Z</dc:date>
    <item>
      <title>Sample application for encoding using VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Sample-application-for-encoding-using-VPU/m-p/416730#M62626</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;I am trying to develop a sample application to encode 720x480 raw YUV video to H.264. That raw video is in UYVY format. So before developing one of my own encoding application I tried to encode this raw video using 'mxc_vpu_test' application. For that I used following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ ./mxc_vpu_test.out -E "-i capturedata.yuv -o encodedata.h264 -f 2 -c 60 -w 720 -h 480"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has generate the encodedata.h264 file. But when I played it on VLC player, the video was corrupted (see following snapshot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="corrupt_encoded_video_snapshot.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53026i31BBB6C56C620809/image-size/large?v=v2&amp;amp;px=999" role="button" title="corrupt_encoded_video_snapshot.jpg" alt="corrupt_encoded_video_snapshot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 05:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Sample-application-for-encoding-using-VPU/m-p/416730#M62626</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-09-02T05:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sample application for encoding using VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Sample-application-for-encoding-using-VPU/m-p/416731#M62627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhaval&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems it is the same as below&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/322734"&gt;H.264 encoder header problem&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one needs that file was played by all video players, it is necessary&lt;/P&gt;&lt;P&gt;to use gstreamer. Difference between gstreamer and unit test is that file created&lt;/P&gt;&lt;P&gt;with gstreamer has header while file encoded by the mxc_vpu_test.out is "raw" file&lt;/P&gt;&lt;P&gt;which&amp;nbsp; doesn't contain header file.&lt;/P&gt;&lt;P&gt;To play file created with mxc_vpu_test.out, its "raw" file should be converted&lt;/P&gt;&lt;P&gt;to the .mp4 format first. Some special tools such as, for example the following one:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.rarewares.org/mp4.html" rel="nofollow"&gt;http://www.rarewares.org/mp4.html&lt;/A&gt;&lt;SPAN&gt; reviewed below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.doom9.org/archive/index.php/t-62723.html" title="http://forum.doom9.org/archive/index.php/t-62723.html"&gt;MP4 FAQ [Archive] - Doom9's Forum&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 11:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Sample-application-for-encoding-using-VPU/m-p/416731#M62627</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-02T11:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sample application for encoding using VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Sample-application-for-encoding-using-VPU/m-p/416732#M62628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igorpadykov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. No, it was not a header problem. But it was the problem of the input RAW file YUV format. It was expecting YUV420 and I was giving YUV422 as an input. After giving YUV420 as input file encoder works fine and the output file played perfectly with VLC media player.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Dhaval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 10:07:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Sample-application-for-encoding-using-VPU/m-p/416732#M62628</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-09-09T10:07:27Z</dc:date>
    </item>
  </channel>
</rss>

