<?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 How to let imx6 decode mjpeg(720p) smoothly in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248802#M22337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I am using webcam 720P from Logitech and I tried successfully mjpeg decode on iMX6. Below are the commands.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;gst-launch v4l2src device=/dev/video2 ! image/jpeg,width=1280,height=720,framerate=30/1 ! queue ! jpegdec ! mfw_v4lsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;It works but &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;jerky&lt;/SPAN&gt;!&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;How to improve the preformance of the imx6 mjpeg decoder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;follow the imx6 codec datasheet,&amp;nbsp; imx6 can decode mjpeg up to 1080p!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thank you advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 09:48:20 GMT</pubDate>
    <dc:creator>huangjacky</dc:creator>
    <dc:date>2013-05-21T09:48:20Z</dc:date>
    <item>
      <title>How to let imx6 decode mjpeg(720p) smoothly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248802#M22337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I am using webcam 720P from Logitech and I tried successfully mjpeg decode on iMX6. Below are the commands.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;gst-launch v4l2src device=/dev/video2 ! image/jpeg,width=1280,height=720,framerate=30/1 ! queue ! jpegdec ! mfw_v4lsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;It works but &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;jerky&lt;/SPAN&gt;!&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;How to improve the preformance of the imx6 mjpeg decoder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;follow the imx6 codec datasheet,&amp;nbsp; imx6 can decode mjpeg up to 1080p!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thank you advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 09:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248802#M22337</guid>
      <dc:creator>huangjacky</dc:creator>
      <dc:date>2013-05-21T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to let imx6 decode mjpeg(720p) smoothly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248803#M22338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using vpudec, which is a hardware decoder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch v4l2src ! vpudec ! mfw_v4lsink&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>Tue, 21 May 2013 14:51:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248803#M22338</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-21T14:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to let imx6 decode mjpeg(720p) smoothly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248804#M22339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try the vpudec before!&amp;nbsp; but....&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_0005.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119394i2EFE532375EFA9CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_0005.JPG" alt="IMG_0005.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I got the green screen!&amp;nbsp; &lt;/P&gt;&lt;P&gt;and the vpudec output the error print as below:&lt;/P&gt;&lt;P&gt;New clock: GstSystemClock&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR]&amp;nbsp;&amp;nbsp; JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;V4L_SINK: Actually buffer status:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hardware buffer : 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; software buffer : 0&lt;/P&gt;&lt;P&gt;full screen size:1280x720&lt;/P&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>Wed, 22 May 2013 10:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248804#M22339</guid>
      <dc:creator>huangjacky</dc:creator>
      <dc:date>2013-05-22T10:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to let imx6 decode mjpeg(720p) smoothly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248805#M22340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Base on the original pipeline, change to filesrc (with a mjpeg file) instead of v4l2src. I just want to make sure that the decoder is working as expected. Is rendering OK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Base on the original pipeline, change to filesink instead of mfw_v4lsink, just to discard a video sink issue.  Playback this file either with gplay or in your host with any player you want. Is playback OK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your results.&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, 22 May 2013 15:41:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248805#M22340</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-22T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to let imx6 decode mjpeg(720p) smoothly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248806#M22341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's the mjpeg data stream isn't the standard mjpeg type after testing. &lt;/P&gt;&lt;P&gt;Maybe it's relate to the compatibility&lt;SPAN style="color: #000000; font-family: arial; font-size: 10pt;"&gt; of the vpu mjpeg decoder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I transform the mjpeg data stream to the standard mjpeg stream?&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, 28 May 2013 06:48:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248806#M22341</guid>
      <dc:creator>huangjacky</dc:creator>
      <dc:date>2013-05-28T06:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to let imx6 decode mjpeg(720p) smoothly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248807#M22342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if that element exists. Creating a new custom element is an option but it may take you some time. Another approach is compare the mjpeg header coming from the camera with the ones expected by VPUdec. Check if there is a software to view mjpeg data, then you can compare headers between 'v4l2src - &amp;gt; filesink' and media file that the vpudec can decode fine.&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, 28 May 2013 18:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-let-imx6-decode-mjpeg-720p-smoothly/m-p/248807#M22342</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-28T18:29:23Z</dc:date>
    </item>
  </channel>
</rss>

