<?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: Decode MJPEG over HTTP from IP camera in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Decode-MJPEG-over-HTTP-from-IP-camera/m-p/293569#M36142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The assertion is coming from the function which does the decoding task, so there must be something (header?) on the input data that vpudec does not like. Have you tried other MJPEG streams?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2013 20:02:13 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-09-09T20:02:13Z</dc:date>
    <item>
      <title>Decode MJPEG over HTTP from IP camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decode-MJPEG-over-HTTP-from-IP-camera/m-p/293568#M36141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I'm trying to decode a MJPEG stream from IP camera. It works with jpegdec, but I can't get vpudec to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt; # gst-launch souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.0.0.5:8081" rel="nofollow noopener noreferrer" target="_blank"&gt;http://10.0.0.5:8081&lt;/A&gt;&lt;SPAN&gt; ! queue ! jpegdec ! autovideosink&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The stream is MJPEG over HTTP. Does vpu support this type of MJPEG, how can I get it to work? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run it with vpudec, i got: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;/root # gst-launch souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.0.0.5:8081" rel="nofollow noopener noreferrer" target="_blank"&gt;http://10.0.0.5:8081&lt;/A&gt;&lt;SPAN&gt; ! queue ! vpudec ! autovideosink&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13787172872891180" jivemacro_uid="_13787172872891180"&gt;
&lt;P&gt;&lt;SPAN&gt;/root # gst-launch souphttpsrc location=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.0.0.5:8081" rel="nofollow noopener noreferrer" target="_blank"&gt;http://10.0.0.5:8081&lt;/A&gt;&lt;SPAN&gt; ! queue ! vpudec ! autovideosink&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_pad_template_new: assertion `caps != NULL' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_pad_template_new: assertion `caps != NULL' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_pad_template_new: assertion `caps != NULL' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_pad_template_new: assertion `caps != NULL' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_pad_template_new: assertion `caps != NULL' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GLib-GObject-WARNING **: cannot register existing type `GstVorbisDec'&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(gst-plugin-scanner:3386): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed&lt;/P&gt;
&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;
&lt;P&gt;this is powerful mx6q&lt;/P&gt;
&lt;P&gt;MFW_GST_V4LSINK_PLUGIN 3.0.1 build on Sep&amp;nbsp; 9 2013 17:35:53.&lt;/P&gt;
&lt;P&gt;[INFO] Product Info: i.MX6Q/D/S&lt;/P&gt;
&lt;P&gt;vpudec versions :smileyhappy:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; plugin: 3.0.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Sep&amp;nbsp; 9 2013 17:27:45)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; vpulib: 5.4.6&lt;/P&gt;
&lt;P&gt;&amp;nbsp; firmware: 2.1.5.32515&lt;/P&gt;
&lt;P&gt;Pipeline is PREROLLING ...&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;** (gst-launch-0.10:3385): CRITICAL **: gst_vpudec_chain: assertion `vpudec-&amp;gt;context.handle' failed&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 09:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decode-MJPEG-over-HTTP-from-IP-camera/m-p/293568#M36141</guid>
      <dc:creator>timf</dc:creator>
      <dc:date>2013-09-09T09:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Decode MJPEG over HTTP from IP camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decode-MJPEG-over-HTTP-from-IP-camera/m-p/293569#M36142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The assertion is coming from the function which does the decoding task, so there must be something (header?) on the input data that vpudec does not like. Have you tried other MJPEG streams?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 20:02:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decode-MJPEG-over-HTTP-from-IP-camera/m-p/293569#M36142</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-09-09T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Decode MJPEG over HTTP from IP camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Decode-MJPEG-over-HTTP-from-IP-camera/m-p/293570#M36143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested with Sanyo HD2100 IP camera, same result.&lt;/P&gt;&lt;P&gt;Seems all JPEGs from IP cameras are JPEG/EXIF which vpudec doesn't like. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 07:18:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Decode-MJPEG-over-HTTP-from-IP-camera/m-p/293570#M36143</guid>
      <dc:creator>timf</dc:creator>
      <dc:date>2013-09-10T07:18:03Z</dc:date>
    </item>
  </channel>
</rss>

