<?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のトピックUsing mfw_vpuencoder with Y42B pixel format</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-mfw-vpuencoder-with-Y42B-pixel-format/m-p/181326#M7741</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'm using the Gstreamer to do the decoder and encoder operations. I want the iMX53 VPU decode (mfw_vpudecoder) MJPG format and, after that, the VPU (mfw_vpudecoder) will encode to H264 format. I have an USB webcam that gives me MJPG format (based on ov519) and the pixel format after the mfw_vpu_decoder decompression is Y42B&amp;nbsp;format&amp;nbsp; (4:2:2 pixel format) - (I could not change this format using the mfw_vpudecoder). So the problem is: the mfw_vpuencoder just accepts I420, YV12 and NV12 (all those are 4:2:0 format) to encode in H264 format.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Do you know either how the mfw_vpudecoder could change the pixel format or how the mfw_vpuencoder accept the Y42B pixel format?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The commands and the gstreamer output are below, and the full debug output is attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Command Line:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;gst-launch v4l2src device=/dev/video0 --gst-debug=4 ! 'image/jpeg,width=1280,height=720,framerate=15/1' ! queue ! mfw_vpudecoder codec_type=std_mjpg fmt=1 loopback=true ! mfw_vpuencoder loopback=true codec-type=std_avc ! avimux ! filesink location=teste.avi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Gstreamer Output:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to PAUSED ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;[INFO] Product Info: i.MX53&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;VPU Version: firmware 13.4.32; libvpu: 5.1.4&lt;/SPAN&gt; &lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Aug 10 2012 10:53:03.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;[INFO] Product Info: i.MX53&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;VPU Version: firmware 13.4.32; libvpu: 5.1.4&lt;/SPAN&gt; &lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;MFW_GST_VPU_DECODER_PLUGIN 2.0.3 build on Aug 10 2012 10:53:09.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Pipeline is live and does not need PREROLL ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to PLAYING ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;New clock: GstSystemClock&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;ERROR: from element /GstPipeline:pipeline0/MfwGstVPU_Enc:mfwgstvpu_enc0: fatal error&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Additional debug info:&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Invalid VPU open parameters.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Execution ended after 324915499 ns.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to PAUSED ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to READY ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to NULL ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Marcos Cunha, MSc, PMP&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Electrical Engineer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;IOCT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;A href="http://www.ioct.com.br"&gt;www.ioct.com.br&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2012 14:31:57 GMT</pubDate>
    <dc:creator>MarcosCunha</dc:creator>
    <dc:date>2012-08-10T14:31:57Z</dc:date>
    <item>
      <title>Using mfw_vpuencoder with Y42B pixel format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-mfw-vpuencoder-with-Y42B-pixel-format/m-p/181326#M7741</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'm using the Gstreamer to do the decoder and encoder operations. I want the iMX53 VPU decode (mfw_vpudecoder) MJPG format and, after that, the VPU (mfw_vpudecoder) will encode to H264 format. I have an USB webcam that gives me MJPG format (based on ov519) and the pixel format after the mfw_vpu_decoder decompression is Y42B&amp;nbsp;format&amp;nbsp; (4:2:2 pixel format) - (I could not change this format using the mfw_vpudecoder). So the problem is: the mfw_vpuencoder just accepts I420, YV12 and NV12 (all those are 4:2:0 format) to encode in H264 format.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Do you know either how the mfw_vpudecoder could change the pixel format or how the mfw_vpuencoder accept the Y42B pixel format?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The commands and the gstreamer output are below, and the full debug output is attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Command Line:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;gst-launch v4l2src device=/dev/video0 --gst-debug=4 ! 'image/jpeg,width=1280,height=720,framerate=15/1' ! queue ! mfw_vpudecoder codec_type=std_mjpg fmt=1 loopback=true ! mfw_vpuencoder loopback=true codec-type=std_avc ! avimux ! filesink location=teste.avi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Gstreamer Output:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to PAUSED ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;[INFO] Product Info: i.MX53&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;VPU Version: firmware 13.4.32; libvpu: 5.1.4&lt;/SPAN&gt; &lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Aug 10 2012 10:53:03.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;[INFO] Product Info: i.MX53&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;VPU Version: firmware 13.4.32; libvpu: 5.1.4&lt;/SPAN&gt; &lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;MFW_GST_VPU_DECODER_PLUGIN 2.0.3 build on Aug 10 2012 10:53:09.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Pipeline is live and does not need PREROLL ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to PLAYING ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;New clock: GstSystemClock&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;ERROR: from element /GstPipeline:pipeline0/MfwGstVPU_Enc:mfwgstvpu_enc0: fatal error&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Additional debug info:&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Invalid VPU open parameters.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Execution ended after 324915499 ns.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to PAUSED ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to READY ...&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;Setting pipeline to NULL ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Marcos Cunha, MSc, PMP&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Electrical Engineer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;IOCT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;A href="http://www.ioct.com.br"&gt;www.ioct.com.br&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 14:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-mfw-vpuencoder-with-Y42B-pixel-format/m-p/181326#M7741</guid>
      <dc:creator>MarcosCunha</dc:creator>
      <dc:date>2012-08-10T14:31:57Z</dc:date>
    </item>
  </channel>
</rss>

