<?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 How to use text overlay in GStreamer? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084100#M158996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using gstreamer to stream video with text overlay. I get this error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;(gst-launch-1.0:2763): GStreamer-CRITICAL **: gst_buffer_get_memory_range: assertion '(len == 0 &amp;amp;&amp;amp; idx == 0 &amp;amp;&amp;amp; length == -1) || (length == -1 &amp;amp;&amp;amp; idx &amp;lt; len) || (length &amp;gt; 0 &amp;amp;&amp;amp; length + idx &amp;lt;= len)' failed&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;With commandline:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=300 ! videoconvert ! 'video/x-raw,width=1280,height=720,framerate=(fraction)30/1' ! textoverlay text="Hi There" valignment=top halignment=left font-desc="Sans, 12" ! queue ! x264 ! mp4mux ! filesink location=video.mp4&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't know&amp;nbsp;why does it happen. What should I do now ?&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;Toan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2020 07:35:41 GMT</pubDate>
    <dc:creator>toanjunifer</dc:creator>
    <dc:date>2020-07-09T07:35:41Z</dc:date>
    <item>
      <title>How to use text overlay in GStreamer?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084100#M158996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using gstreamer to stream video with text overlay. I get this error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;(gst-launch-1.0:2763): GStreamer-CRITICAL **: gst_buffer_get_memory_range: assertion '(len == 0 &amp;amp;&amp;amp; idx == 0 &amp;amp;&amp;amp; length == -1) || (length == -1 &amp;amp;&amp;amp; idx &amp;lt; len) || (length &amp;gt; 0 &amp;amp;&amp;amp; length + idx &amp;lt;= len)' failed&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;With commandline:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=300 ! videoconvert ! 'video/x-raw,width=1280,height=720,framerate=(fraction)30/1' ! textoverlay text="Hi There" valignment=top halignment=left font-desc="Sans, 12" ! queue ! x264 ! mp4mux ! filesink location=video.mp4&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't know&amp;nbsp;why does it happen. What should I do now ?&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;Toan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 07:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084100#M158996</guid>
      <dc:creator>toanjunifer</dc:creator>
      <dc:date>2020-07-09T07:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use text overlay in GStreamer?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084101#M158997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what board and bsp version do you use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 07:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084101#M158997</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2020-07-14T07:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use text overlay in GStreamer?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084102#M158998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using iMX6S Varisite board. BSP is 4.1.15&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 08:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084102#M158998</guid>
      <dc:creator>toanjunifer</dc:creator>
      <dc:date>2020-07-14T08:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use text overlay in GStreamer?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084103#M158999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that it's just is a warning. But it's actually impact to video quality if I run it directly. If I run it with schedule, it's will be fine. So I decide to close this question. Thank you &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/joanxie"&gt;joanxie&lt;/A&gt;‌ for your help.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 01:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-text-overlay-in-GStreamer/m-p/1084103#M158999</guid>
      <dc:creator>toanjunifer</dc:creator>
      <dc:date>2020-07-15T01:37:00Z</dc:date>
    </item>
  </channel>
</rss>

