<?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のトピックSome GStreamer issues while capturing while preview is active</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Some-GStreamer-issues-while-capturing-while-preview-is-active/m-p/221758#M14712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we want to record a mp4 file while preview(overlay) is running.&lt;/P&gt;&lt;P&gt;We have a application which activates the overlay an records a mp4 file on user input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error can also be reproduced using gst-launch.&amp;nbsp; (gst-fsl-plugin-2.0.3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the gstreamer pipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gst-launch mfw_v4lsrc capture-width=640 capture-height=480 num-buffers=150 ! mfw_ipucsc ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1,format=(fourcc)I420' ! queue ! mfw_vpuencoder codec_type=std_mpeg4 qp=5 ! 'video/mpeg,mpegversion=4,framerate=30/1,width=640,height=480' ! mp4mux ! filesink location=test.mp4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I get this output and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MFW_GST_V4LSRC_PLUGIN 2.0.3 build on Jun 7 2012 14:48:18.&lt;/P&gt;&lt;P&gt; IPU_CSC_CORE_LIBRARY_VERSION_INFOR_01.00.&lt;/P&gt;&lt;P&gt; MFW_GST_IPU_CSC_PLUGIN 2.0.3 build on Jun 7 2012 14:47:53.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; [INFO] Product Info: i.MX53&lt;/P&gt;&lt;P&gt; VPU Version: firmware 1.4.48; libvpu: 5.3.2&lt;/P&gt;&lt;P&gt; MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Jun 7 2012 14:47:56.&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; New clock: GstSystemClock&lt;/P&gt;&lt;P&gt; mfw_gst_ipu_csc_get_unit_size:size=614400&lt;/P&gt;&lt;P&gt; mfw_gst_ipu_csc_get_unit_size:size=460800&lt;/P&gt;&lt;P&gt; Got EOS from element ""pipeline0"".&lt;/P&gt;&lt;P&gt; Execution ended after 20664847635 ns.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; Setting pipeline to READY ...&lt;/P&gt;&lt;P&gt; Setting pipeline to NULL ...&lt;/P&gt;&lt;P&gt; Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; With preview=true &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gst-launch mfw_v4lsrc capture-width=640 capture-height=480 num-buffers=150 preview=true ! mfw_ipucsc ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1,format=(fourcc)I420' ! queue ! mfw_vpuencoder codec_type=std_mpeg4 qp=5 ! 'video/mpeg,mpegversion=4,framerate=30/1,width=640,height=480' ! mp4mux ! filesink location=test.mp4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MFW_GST_V4LSRC_PLUGIN 2.0.3 build on Jun 7 2012 14:48:18.&lt;/P&gt;&lt;P&gt; IPU_CSC_CORE_LIBRARY_VERSION_INFOR_01.00.&lt;/P&gt;&lt;P&gt; MFW_GST_IPU_CSC_PLUGIN 2.0.3 build on Jun 7 2012 14:47:53.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; [INFO] Product Info: i.MX53&lt;/P&gt;&lt;P&gt; VPU Version: firmware 1.4.48; libvpu: 5.3.2&lt;/P&gt;&lt;P&gt; MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Jun 7 2012 14:47:56.&lt;/P&gt;&lt;P&gt; [ 444.360024] mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x00200000&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; New clock: GstSystemClock&lt;/P&gt;&lt;P&gt; [ 459.363352] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/P&gt;&lt;P&gt; ERROR: from element /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0: Internal data flow error.&lt;/P&gt;&lt;P&gt; Additional debug info:&lt;/P&gt;&lt;P&gt; gstbasesrc.c(2507): gst_base_src_loop (): /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0:&lt;/P&gt;&lt;P&gt; streaming task paused, reason error (-5)&lt;/P&gt;&lt;P&gt; Execution ended after 10001064875 ns.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; Setting pipeline to READY ...&lt;/P&gt;&lt;P&gt; Setting pipeline to NULL ...&lt;/P&gt;&lt;P&gt; Freeing pipeline ...&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, 22 Oct 2012 09:10:21 GMT</pubDate>
    <dc:creator>uwekaiser</dc:creator>
    <dc:date>2012-10-22T09:10:21Z</dc:date>
    <item>
      <title>Some GStreamer issues while capturing while preview is active</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-GStreamer-issues-while-capturing-while-preview-is-active/m-p/221758#M14712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we want to record a mp4 file while preview(overlay) is running.&lt;/P&gt;&lt;P&gt;We have a application which activates the overlay an records a mp4 file on user input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error can also be reproduced using gst-launch.&amp;nbsp; (gst-fsl-plugin-2.0.3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the gstreamer pipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gst-launch mfw_v4lsrc capture-width=640 capture-height=480 num-buffers=150 ! mfw_ipucsc ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1,format=(fourcc)I420' ! queue ! mfw_vpuencoder codec_type=std_mpeg4 qp=5 ! 'video/mpeg,mpegversion=4,framerate=30/1,width=640,height=480' ! mp4mux ! filesink location=test.mp4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I get this output and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MFW_GST_V4LSRC_PLUGIN 2.0.3 build on Jun 7 2012 14:48:18.&lt;/P&gt;&lt;P&gt; IPU_CSC_CORE_LIBRARY_VERSION_INFOR_01.00.&lt;/P&gt;&lt;P&gt; MFW_GST_IPU_CSC_PLUGIN 2.0.3 build on Jun 7 2012 14:47:53.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; [INFO] Product Info: i.MX53&lt;/P&gt;&lt;P&gt; VPU Version: firmware 1.4.48; libvpu: 5.3.2&lt;/P&gt;&lt;P&gt; MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Jun 7 2012 14:47:56.&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; New clock: GstSystemClock&lt;/P&gt;&lt;P&gt; mfw_gst_ipu_csc_get_unit_size:size=614400&lt;/P&gt;&lt;P&gt; mfw_gst_ipu_csc_get_unit_size:size=460800&lt;/P&gt;&lt;P&gt; Got EOS from element ""pipeline0"".&lt;/P&gt;&lt;P&gt; Execution ended after 20664847635 ns.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; Setting pipeline to READY ...&lt;/P&gt;&lt;P&gt; Setting pipeline to NULL ...&lt;/P&gt;&lt;P&gt; Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; With preview=true &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gst-launch mfw_v4lsrc capture-width=640 capture-height=480 num-buffers=150 preview=true ! mfw_ipucsc ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1,format=(fourcc)I420' ! queue ! mfw_vpuencoder codec_type=std_mpeg4 qp=5 ! 'video/mpeg,mpegversion=4,framerate=30/1,width=640,height=480' ! mp4mux ! filesink location=test.mp4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MFW_GST_V4LSRC_PLUGIN 2.0.3 build on Jun 7 2012 14:48:18.&lt;/P&gt;&lt;P&gt; IPU_CSC_CORE_LIBRARY_VERSION_INFOR_01.00.&lt;/P&gt;&lt;P&gt; MFW_GST_IPU_CSC_PLUGIN 2.0.3 build on Jun 7 2012 14:47:53.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; [INFO] Product Info: i.MX53&lt;/P&gt;&lt;P&gt; VPU Version: firmware 1.4.48; libvpu: 5.3.2&lt;/P&gt;&lt;P&gt; MFW_GST_VPU_ENCODER_PLUGIN 2.0.3 build on Jun 7 2012 14:47:56.&lt;/P&gt;&lt;P&gt; [ 444.360024] mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x00200000&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; New clock: GstSystemClock&lt;/P&gt;&lt;P&gt; [ 459.363352] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/P&gt;&lt;P&gt; ERROR: from element /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0: Internal data flow error.&lt;/P&gt;&lt;P&gt; Additional debug info:&lt;/P&gt;&lt;P&gt; gstbasesrc.c(2507): gst_base_src_loop (): /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0:&lt;/P&gt;&lt;P&gt; streaming task paused, reason error (-5)&lt;/P&gt;&lt;P&gt; Execution ended after 10001064875 ns.&lt;/P&gt;&lt;P&gt; Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt; Setting pipeline to READY ...&lt;/P&gt;&lt;P&gt; Setting pipeline to NULL ...&lt;/P&gt;&lt;P&gt; Freeing pipeline ...&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, 22 Oct 2012 09:10:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-GStreamer-issues-while-capturing-while-preview-is-active/m-p/221758#M14712</guid>
      <dc:creator>uwekaiser</dc:creator>
      <dc:date>2012-10-22T09:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Some GStreamer issues while capturing while preview is active</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-GStreamer-issues-while-capturing-while-preview-is-active/m-p/221759#M14713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems you just added a "preview=true" is not enough.&lt;/P&gt;&lt;P&gt;Please see this link for your reference.&lt;/P&gt;&lt;P&gt;&amp;lt; &lt;A _jive_internal="true" href="https://community.nxp.com/message/292568#292568"&gt;https://community.freescale.com/message/292568#292568&lt;/A&gt; &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 07:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-GStreamer-issues-while-capturing-while-preview-is-active/m-p/221759#M14713</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2012-10-25T07:28:30Z</dc:date>
    </item>
  </channel>
</rss>

