<?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: failed to encode frame: failure timeout in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446378#M68853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 12:55:07 GMT</pubDate>
    <dc:creator>aminebouhoula</dc:creator>
    <dc:date>2015-08-13T12:55:07Z</dc:date>
    <item>
      <title>failed to encode frame: failure timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446375#M68850</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 trying to use iMX6 to stream camera input via HDMI using gstreamer using the next command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gst-launch-1.0 -e --gst-debug-level=2 imxv4l2src device=/dev/video0 ! imxvpuenc_h264 ! mpegtsmux ! hlssink max-files=5 target-duration=2 playlist-location=/www/pages/playlist.m3u8 location=/www/pages/segment%05d.ts playlist-length=3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After few seconds, I always get the next error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0:00:22.326621669&amp;nbsp; 1492&amp;nbsp; 0x1353520 ERROR imxvpubaseenc ../src/vpu/encoder/base_enc.c:804:gst_imx_vpu_base_enc_handle_frame:&amp;lt;imxvpuh264enc0&amp;gt; failed to encode frame: failure timeout&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 09:13:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446375#M68850</guid>
      <dc:creator>aminebouhoula</dc:creator>
      <dc:date>2015-07-25T09:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: failed to encode frame: failure timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446376#M68851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what yocto version do you use? you mean that you can capture video correctly fisrt, then faile? could you upload the complete log file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 08:37:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446376#M68851</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2015-07-30T08:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: failed to encode frame: failure timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446377#M68852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uname -a ==&amp;gt; Linux ventana 3.10.17-1.0.0_ga+yocto+g4d177f6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full output:&lt;/P&gt;&lt;P&gt;root@ventana:~# gst-launch-1.0 -e --gst-debug-level=2 imxv4l2src device=/dev/video0 ! imxvpuenc_h264 ! mpegtsmux ! hlssink max-files=5 target-duration=2 playlist-location=/www/pages/playlist.m3u8 location=/www/pages/segment%05d.ts playlist-length=3&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; Product Info: i.MX6Q/D/S&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;[INFO]&amp;nbsp; ringBufferEnable 0, chromaInterleave 0, mapType 0, linear2TiledEnable 0&lt;/P&gt;&lt;P&gt;[WARN]&amp;nbsp; VPU iram is less than needed, some parts don't use iram&lt;/P&gt;&lt;P&gt;0:00:54.297814674 15063&amp;nbsp; 0x1d40520 ERROR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imxvpubaseenc ../src/vpu/encoder/base_enc.c:804:gst_imx_vpu_base_enc_handle_frame:&amp;lt;imxvpuh264enc0&amp;gt; failed to encode frame: failure timeout&lt;/P&gt;&lt;P&gt;[INFO]&amp;nbsp; vpu_SWReset&lt;/P&gt;&lt;P&gt;0:00:54.303632674 15063&amp;nbsp; 0x1d40520 WARN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basesrc /home/amine/ventana-yocto2/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.1-r0/gstreamer-1.4.1/libs/gst/base/gstbasesrc.c:2933:gst_base_src_loop:&amp;lt;imxv4l2src0&amp;gt; error: Internal data flow error.&lt;/P&gt;&lt;P&gt;0:00:54.305582340 15063&amp;nbsp; 0x1d40520 WARN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basesrc /home/amine/ventana-yocto2/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.1-r0/gstreamer-1.4.1/libs/gst/base/gstbasesrc.c:2933:gst_base_src_loop:&amp;lt;imxv4l2src0&amp;gt; error: streaming task paused, reason error (-5)&lt;/P&gt;&lt;P&gt;ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal data flow error.&lt;/P&gt;&lt;P&gt;Additional debug info:&lt;/P&gt;&lt;P&gt;/home/amine/ventana-yocto2/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.1-r0/gstreamer-1.4.1/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0:&lt;/P&gt;&lt;P&gt;streaming task paused, reason error (-5)&lt;/P&gt;&lt;P&gt;EOS on shutdown enabled -- waiting for EOS after Error&lt;/P&gt;&lt;P&gt;Waiting for EOS...&lt;/P&gt;&lt;P&gt;Got EOS from element "pipeline0".&lt;/P&gt;&lt;P&gt;EOS received - stopping pipeline...&lt;/P&gt;&lt;P&gt;Execution ended after 0:00:54.009322674&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 12:44:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446377#M68852</guid>
      <dc:creator>aminebouhoula</dc:creator>
      <dc:date>2015-07-30T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: failed to encode frame: failure timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446378#M68853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 12:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/failed-to-encode-frame-failure-timeout/m-p/446378#M68853</guid>
      <dc:creator>aminebouhoula</dc:creator>
      <dc:date>2015-08-13T12:55:07Z</dc:date>
    </item>
  </channel>
</rss>

