<?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: H.264 decoding failed by Assertion `num_bits &amp;lt; 32' with GStreamer vpudec on i.MX8M-mini in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1185200#M165113</link>
    <description>&lt;P&gt;I tried changed pipeline, and got different error as follows.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@ucm-imx8m-mini:/opt/tcr# GST_DEBUG=3 gst-launch-1.0 filesrc location=./h264.ts ! tsdemux name=d d.video_0 ! queue ! h264parse ! vpudec ! fakesink
Setting pipeline to PAUSED ...
====== VPUDEC: 4.4.4 build on Apr 23 2019 07:42:48. ======
        wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Apr 23 2019 06:54:11)
        vpulib: 1.1.1
        firmware: 1.1.1.0
0:00:00.074096750  2699       0x690b00 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:&amp;lt;filesrc0&amp;gt; pad not activated yet
Pipeline is PREROLLING ...
0:00:00.077514250  2699       0x666e30 WARN                 default grammar.y:510:gst_parse_no_more_pads:&amp;lt;d&amp;gt; warning: Delayed linking failed.
0:00:00.077567000  2699       0x666e30 WARN                 default grammar.y:510:gst_parse_no_more_pads:&amp;lt;d&amp;gt; warning: failed delayed linking pad  video_0 of GstTSDemux named d to some pad of GstQueue named queue0
WARNING: from element /GstPipeline:pipeline0/GstTSDemux:d: Delayed linking failed.
Additional debug info:
../../../git/gst/parse/grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstTSDemux:d:
failed delayed linking pad  video_0 of GstTSDemux named d to some pad of GstQueue named queue0
0:00:00.077983875  2699       0x666e30 WARN              mpegtsbase mpegtsbase.c:1613:mpegts_base_loop:&amp;lt;d&amp;gt; error: Internal data stream error.
0:00:00.078029125  2699       0x666e30 WARN              mpegtsbase mpegtsbase.c:1613:mpegts_base_loop:&amp;lt;d&amp;gt; error: streaming stopped, reason not-linked (-1)
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:d: Internal data stream error.
Additional debug info:
../../../git/gst/mpegtsdemux/mpegtsbase.c(1613): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:d:
streaming stopped, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 18 Nov 2020 12:19:06 GMT</pubDate>
    <dc:creator>Hata-kun</dc:creator>
    <dc:date>2020-11-18T12:19:06Z</dc:date>
    <item>
      <title>H.264 decoding failed by Assertion `num_bits &lt; 32' with GStreamer vpudec on i.MX8M-mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1184830#M165046</link>
      <description>&lt;P&gt;I'm decoding H.264 TS file with GStreamer&amp;nbsp; vpudec plug-in,&amp;nbsp;but error message is generated and pipeline core dumped.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I ran the following pipeline:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GST_DEBUG=3 gst-launch-1.0 filesrc location=./h264.ts ! tsdemux ! vpudec ! fakesink&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;I got the following error:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@ucm-imx8m-mini:/opt/tcr# GST_DEBUG=3 gst-launch-1.0 filesrc location=./h264.ts ! tsdemux ! vpudec ! fakesink
Setting pipeline to PAUSED ...
====== VPUDEC: 4.4.4 build on Apr 23 2019 07:42:48. ======
        wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Apr 23 2019 06:54:11)
        vpulib: 1.1.1
        firmware: 1.1.1.0
0:00:00.312292625  9942       0x688600 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:&amp;lt;filesrc0&amp;gt; pad not activated yet
Pipeline is PREROLLING ...
0:00:00.355039625  9942       0x666cf0 FIXME           videodecoder gstvideodecoder.c:933:gst_video_decoder_drain_out:&amp;lt;vpudec0&amp;gt; Sub-class should implement drain()
0:00:00.365649875  9942       0x666cf0 FIXME           videodecoder gstvideodecoder.c:933:gst_video_decoder_drain_out:&amp;lt;vpudec0&amp;gt; Sub-class should implement drain()
ERROR: ACCESS UNIT BOUNDARY CHECK
0:00:00.367152125  9942       0x666cf0 WARN          vpu_dec_object gstvpudecobject.c:1461:gst_vpu_dec_object_decode:&amp;lt;vpudecobject0&amp;gt; Dropped video frame before VPU init ok!
ERROR: ACCESS UNIT BOUNDARY CHECK
0:00:00.368643125  9942       0x666cf0 WARN          vpu_dec_object gstvpudecobject.c:1461:gst_vpu_dec_object_decode:&amp;lt;vpudecobject0&amp;gt; Dropped video frame before VPU init ok!
gst-launch-1.0: ../../source/h264high/legacy/h264hwd_stream.c:78: h264bsdGetBits: Assertion `num_bits &amp;lt; 32' failed.
Aborted (core dumped)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I think&amp;nbsp;cpb_removal_delay_length should be equal or less than 32,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;is ASSERTION(num_bits &amp;lt;＝ 32) code right ?&lt;/P&gt;&lt;P&gt;This content is encoded with&amp;nbsp;cpb_removal_delay_length as 32.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 02:35:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1184830#M165046</guid>
      <dc:creator>Hata-kun</dc:creator>
      <dc:date>2020-11-18T02:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 decoding failed by Assertion `num_bits &lt; 32' with GStreamer vpudec on i.MX8M-mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1184902#M165059</link>
      <description>&lt;P&gt;Hi Hata-kun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try&lt;/P&gt;
&lt;P&gt;$ gst-launch-1.0 filesrc location=&amp;lt;filename.mp4&amp;gt; ! \&lt;BR /&gt;qtdemux name=d d.video_0 ! queue ! h264parse ! vpudec ! \&lt;BR /&gt;queue ! waylandsink&lt;/P&gt;
&lt;P&gt;or examples from&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-mx8M-EVK-board-encoder-and-decoder/ta-p/1116915" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-mx8M-EVK-board-encoder-and-decoder/ta-p/1116915&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;use i.MX8M Mini EVK with Demo Image from&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 04:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1184902#M165059</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-11-18T04:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 decoding failed by Assertion `num_bits &lt; 32' with GStreamer vpudec on i.MX8M-mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1185200#M165113</link>
      <description>&lt;P&gt;I tried changed pipeline, and got different error as follows.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@ucm-imx8m-mini:/opt/tcr# GST_DEBUG=3 gst-launch-1.0 filesrc location=./h264.ts ! tsdemux name=d d.video_0 ! queue ! h264parse ! vpudec ! fakesink
Setting pipeline to PAUSED ...
====== VPUDEC: 4.4.4 build on Apr 23 2019 07:42:48. ======
        wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Apr 23 2019 06:54:11)
        vpulib: 1.1.1
        firmware: 1.1.1.0
0:00:00.074096750  2699       0x690b00 WARN                 basesrc gstbasesrc.c:3583:gst_base_src_start_complete:&amp;lt;filesrc0&amp;gt; pad not activated yet
Pipeline is PREROLLING ...
0:00:00.077514250  2699       0x666e30 WARN                 default grammar.y:510:gst_parse_no_more_pads:&amp;lt;d&amp;gt; warning: Delayed linking failed.
0:00:00.077567000  2699       0x666e30 WARN                 default grammar.y:510:gst_parse_no_more_pads:&amp;lt;d&amp;gt; warning: failed delayed linking pad  video_0 of GstTSDemux named d to some pad of GstQueue named queue0
WARNING: from element /GstPipeline:pipeline0/GstTSDemux:d: Delayed linking failed.
Additional debug info:
../../../git/gst/parse/grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstTSDemux:d:
failed delayed linking pad  video_0 of GstTSDemux named d to some pad of GstQueue named queue0
0:00:00.077983875  2699       0x666e30 WARN              mpegtsbase mpegtsbase.c:1613:mpegts_base_loop:&amp;lt;d&amp;gt; error: Internal data stream error.
0:00:00.078029125  2699       0x666e30 WARN              mpegtsbase mpegtsbase.c:1613:mpegts_base_loop:&amp;lt;d&amp;gt; error: streaming stopped, reason not-linked (-1)
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:d: Internal data stream error.
Additional debug info:
../../../git/gst/mpegtsdemux/mpegtsbase.c(1613): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:d:
streaming stopped, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 18 Nov 2020 12:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1185200#M165113</guid>
      <dc:creator>Hata-kun</dc:creator>
      <dc:date>2020-11-18T12:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 decoding failed by Assertion `num_bits &lt; 32' with GStreamer vpudec on i.MX8M-mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1185245#M165120</link>
      <description>&lt;P&gt;please try on i.MX8M Mini EVK with Demo Image&lt;/P&gt;
&lt;P&gt;&lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/webapp/Download?colCode=L5.4.47_2.2.0_MX8MM&amp;amp;appType=license" target="_blank"&gt;i.MX 8M Mini EVK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 13:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1185245#M165120</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-11-18T13:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 decoding failed by Assertion `num_bits &lt; 32' with GStreamer vpudec on i.MX8M-mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1199609#M166504</link>
      <description>&lt;P&gt;&amp;nbsp;We had confirmed the problem was resolved by GStreamer&amp;nbsp;1.16.1 and&amp;nbsp;VPU 4.5.5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 10:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/H-264-decoding-failed-by-Assertion-num-bits-lt-32-with-GStreamer/m-p/1199609#M166504</guid>
      <dc:creator>Hata-kun</dc:creator>
      <dc:date>2020-12-15T10:56:22Z</dc:date>
    </item>
  </channel>
</rss>

