<?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: i.MX6Q poor quality MJPEG decoding in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261208#M26188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue was in the rtpjpegdepay element. Update is here if anyone else needs it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e9040e90a59c4f540a03e10566e8c227a8f6d93f" title="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e9040e90a59c4f540a03e10566e8c227a8f6d93f"&gt;http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e9040e90a59c4f540a03e10566e8c227a8f6d93f&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jun 2013 07:22:37 GMT</pubDate>
    <dc:creator>timothybean</dc:creator>
    <dc:date>2013-06-13T07:22:37Z</dc:date>
    <item>
      <title>i.MX6Q poor quality MJPEG decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261203#M26183</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 am decoding video from an IP camera. H.264 video looks good, but, for some reason when I pull the MJPEG stream the quality is very bad. When I view the MJPEG stream on the computer in VLC and such, the video looks great. I have tried with jpegdec and vpudec. Both provide the same poor quality on the screen.&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;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 19:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261203#M26183</guid>
      <dc:creator>timothybean</dc:creator>
      <dc:date>2013-05-28T19:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q poor quality MJPEG decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261204#M26184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post the pipeline you are using.&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 21:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261204#M26184</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-28T21:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q poor quality MJPEG decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261205#M26185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch rtspsrc=rtsp://IP/mjpg latency=300 ! rtpjpegdepay ! vpudec low-latency=true ! mfw_v4lsink sync=true device/dev/video17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch rtspsrc=rtsp://IP/mjpg latency=300 ! rtpjpegdepay ! jpegdec ! mfw_v4lsink sync=true device/dev/video17\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and get the exact same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an image of my screen. You can see there IS video but it is very badly pixelated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_20130530_144627_278.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119423i476BBF02D5BA2375/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_20130530_144627_278.jpg" alt="IMG_20130530_144627_278.jpg" /&gt;&lt;/span&gt;&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;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 19:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261205#M26185</guid>
      <dc:creator>timothybean</dc:creator>
      <dc:date>2013-05-30T19:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q poor quality MJPEG decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261206#M26186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if it works, but try this pipeline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch playbin2 uri=rtsp://IP/mjpg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the resolution for the stream data?&lt;/P&gt;&lt;P&gt;what is the resolution on the vpudec's sink caps (add -v to your pipeline to check this)?&lt;/P&gt;&lt;P&gt;what are the values you are providing to VLC when the playback is done on your PC?&lt;/P&gt;&lt;P&gt;Could you try streaming other codec data (like h264)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at this page, &lt;A href="https://community.nxp.com/docs/DOC-94646"&gt;GStreamer Streaming&lt;/A&gt; it uses other elements (&lt;STRONG&gt;gstrtpbin) but you may use it in your project.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Leo&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 21:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261206#M26186</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-30T21:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q poor quality MJPEG decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261207#M26187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;playbin2 pipeline is same results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;video is 720x480&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, H.264 works, but only if I set the disp-height to 8 minus the resolution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is with -v option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;vpudec versions :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plugin: 3.0.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on May&amp;nbsp; 3 2013 09:30:59)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vpulib: 5.4.10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; firmware: 2.1.8.34588&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 200&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode = slave (1)&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 5000000&lt;/P&gt;&lt;P&gt;Pipeline is live and does not need PREROLL ...&lt;/P&gt;&lt;P&gt;Setting pipeline to PLAYING ...&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp&lt;/P&gt;&lt;P&gt;New clock: GstSystemClock&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 0&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)90000, encoding-name=(&lt;/P&gt;&lt;P&gt;string)JPEG, packetization-mode=(string)1, a-cliprect=(string)\"0\\,0\\,480\\,720\", a-framesize=(string)\"96\\ 720-480\", npt-start=(guint64)0, play-speed=(double)1, p&lt;/P&gt;&lt;P&gt;lay-scale=(double)1&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_769379304_26: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)9000&lt;/P&gt;&lt;P&gt;0, encoding-name=(string)JPEG, packetization-mode=(string)1, a-cliprect=(string)\"0\\,0\\,480\\,720\", a-framesize=(string)\"96\\ 720-480\", npt-start=(guint64)0, play-&lt;/P&gt;&lt;P&gt;speed=(double)1, play-scale=(double)1&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_769379304_26.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)26&lt;/P&gt;&lt;P&gt;, clock-rate=(int)90000, encoding-name=(string)JPEG, packetization-mode=(string)1, a-cliprect=(string)\"0\\,0\\,480\\,720\", a-framesize=(string)\"96\\ 720-480\", npt-s&lt;/P&gt;&lt;P&gt;tart=(guint64)0, play-speed=(double)1, play-scale=(double)1&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_769379304_26.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)vide&lt;/P&gt;&lt;P&gt;o, payload=(int)26, clock-rate=(int)90000, encoding-name=(string)JPEG, packetization-mode=(string)1, a-cliprect=(string)\"0\\,0\\,480\\,720\", a-framesize=(string)\"96\&lt;/P&gt;&lt;P&gt;\ 720-480\", npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)480&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)480&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)480, pixel-aspect-ratio=(fraction)1/1, cro&lt;/P&gt;&lt;P&gt;p-top=(int)0, crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)0, num-buffers-required=(int)7, framerate=(fraction)30/1, alignment=(int)1&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;/GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)480, pixel-a&lt;/P&gt;&lt;P&gt;spect-ratio=(fraction)1/1, crop-top=(int)0, crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)0, num-buffers-required=(int)7, framerate=(fraction)30/1, alignment=(i&lt;/P&gt;&lt;P&gt;nt)1&lt;/P&gt;&lt;P&gt;full screen size:1280x720&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 04:27:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261207#M26187</guid>
      <dc:creator>timothybean</dc:creator>
      <dc:date>2013-06-03T04:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q poor quality MJPEG decoding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261208#M26188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue was in the rtpjpegdepay element. Update is here if anyone else needs it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e9040e90a59c4f540a03e10566e8c227a8f6d93f" title="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e9040e90a59c4f540a03e10566e8c227a8f6d93f"&gt;http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e9040e90a59c4f540a03e10566e8c227a8f6d93f&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 07:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-poor-quality-MJPEG-decoding/m-p/261208#M26188</guid>
      <dc:creator>timothybean</dc:creator>
      <dc:date>2013-06-13T07:22:37Z</dc:date>
    </item>
  </channel>
</rss>

