<?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のトピックI.mx6Q MJPEG video HW decoding</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/I-mx6Q-MJPEG-video-HW-decoding/m-p/728602#M113303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use gst + imxvpu to decode mjpeg stream. This is the gst command which I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2FIP%2Fmjpg%2Fvideo.mjpg" rel="nofollow" target="_blank"&gt;http://IP/mjpg/video.mjpg&lt;/A&gt;&lt;SPAN&gt; ! jpegparse ! imxvpudec ! autovideosink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with this one is that it is pretty slow, I get 1fps. Camera (AXIS, P3905-R) is configured with 25 fps. Following command displays proper video, although, fps suffers a bit on the higher image quality settings, which is the reason for trying to make use of the hw acc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2FIP%2Fmjpg%2Fvideo.mjpg" rel="nofollow" target="_blank"&gt;http://IP/mjpg/video.mjpg&lt;/A&gt;&lt;SPAN&gt; ! jpegdec ! autovideosink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I understand documentation, imxvpu should work with baseline mjpeg. Since I havent found what exactly basic mjpeg means, I understand it refers to Baseline DCT, SOF0 == ff c0 from the jpeg codec format. I have inspected my stream, and it is indeed this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feeding stream directly to the imxvpudec results with an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2FIP%2Fmjpg%2Fvideo.mjpg" rel="nofollow" target="_blank"&gt;http://IP/mjpg/video.mjpg&lt;/A&gt;&lt;SPAN&gt; ! imxvpudec ! autovideosink&lt;/SPAN&gt;&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;[INFO] Product Info: i.MX6Q/D/S&lt;BR /&gt;Pipeline is PREROLLING ...&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data flow error.&lt;BR /&gt;Additional debug info:&lt;BR /&gt;gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:&lt;BR /&gt;streaming task paused, reason error (-5)&lt;BR /&gt;ERROR: pipeline doesn't want to preroll.&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Platform on which I'm running this is a bit behind, it is based on yocto 1.8,&amp;nbsp;gst-launch-1.0 version 1.4.5, GStreamer 1.4.5, imxvpu 0.11.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be grateful for any advices and pointers.&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;Matija&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 May 2018 19:31:38 GMT</pubDate>
    <dc:creator>glavinic</dc:creator>
    <dc:date>2018-05-06T19:31:38Z</dc:date>
    <item>
      <title>I.mx6Q MJPEG video HW decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-mx6Q-MJPEG-video-HW-decoding/m-p/728602#M113303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use gst + imxvpu to decode mjpeg stream. This is the gst command which I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2FIP%2Fmjpg%2Fvideo.mjpg" rel="nofollow" target="_blank"&gt;http://IP/mjpg/video.mjpg&lt;/A&gt;&lt;SPAN&gt; ! jpegparse ! imxvpudec ! autovideosink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with this one is that it is pretty slow, I get 1fps. Camera (AXIS, P3905-R) is configured with 25 fps. Following command displays proper video, although, fps suffers a bit on the higher image quality settings, which is the reason for trying to make use of the hw acc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2FIP%2Fmjpg%2Fvideo.mjpg" rel="nofollow" target="_blank"&gt;http://IP/mjpg/video.mjpg&lt;/A&gt;&lt;SPAN&gt; ! jpegdec ! autovideosink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I understand documentation, imxvpu should work with baseline mjpeg. Since I havent found what exactly basic mjpeg means, I understand it refers to Baseline DCT, SOF0 == ff c0 from the jpeg codec format. I have inspected my stream, and it is indeed this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feeding stream directly to the imxvpudec results with an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gst-launch-1.0 souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2FIP%2Fmjpg%2Fvideo.mjpg" rel="nofollow" target="_blank"&gt;http://IP/mjpg/video.mjpg&lt;/A&gt;&lt;SPAN&gt; ! imxvpudec ! autovideosink&lt;/SPAN&gt;&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;[INFO] Product Info: i.MX6Q/D/S&lt;BR /&gt;Pipeline is PREROLLING ...&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data flow error.&lt;BR /&gt;Additional debug info:&lt;BR /&gt;gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:&lt;BR /&gt;streaming task paused, reason error (-5)&lt;BR /&gt;ERROR: pipeline doesn't want to preroll.&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Platform on which I'm running this is a bit behind, it is based on yocto 1.8,&amp;nbsp;gst-launch-1.0 version 1.4.5, GStreamer 1.4.5, imxvpu 0.11.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be grateful for any advices and pointers.&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;Matija&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 19:31:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-mx6Q-MJPEG-video-HW-decoding/m-p/728602#M113303</guid>
      <dc:creator>glavinic</dc:creator>
      <dc:date>2018-05-06T19:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: I.mx6Q MJPEG video HW decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-mx6Q-MJPEG-video-HW-decoding/m-p/728603#M113304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matija&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imxvpu ,imxvpudec used by gstreamer-imx plugins supported&lt;/P&gt;&lt;P&gt;by community and one can post issue on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Freescale/gstreamer-imx/issues" title="https://github.com/Freescale/gstreamer-imx/issues"&gt;Issues · Freescale/gstreamer-imx · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively one can try nxp imx-gst1.0-plugins, its usage is described&lt;/P&gt;&lt;P&gt;in Linux Guide included in linux documentation on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Mon, 07 May 2018 23:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-mx6Q-MJPEG-video-HW-decoding/m-p/728603#M113304</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-07T23:31:15Z</dc:date>
    </item>
  </channel>
</rss>

