<?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: Internal data stream error while using imxvideoconvert_g2d in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1771924#M217129</link>
    <description>&lt;P&gt;refer to your debug information, it seems imxvideoconvert_g2d couldn't transform this data, how about using &lt;SPAN&gt;&lt;SPAN class="ui-provider ed bab awe bac bae baf bag bah bai baj bak bal bam ban bao bap baq bar bas bat bau bav baw bax bay baz bba bbb bbc bbd bbe bbf bbg bbh bbi"&gt;imxvideoconvert_ocl&lt;/SPAN&gt;&lt;/SPAN&gt;? if still failed, I will test it on my board tomorrow&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 03:48:32 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2023-12-11T03:48:32Z</dc:date>
    <item>
      <title>Internal data stream error while using imxvideoconvert_g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1771828#M217122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Processor: IMX8MP&lt;/P&gt;&lt;P&gt;I am using a gstreamer pipeline in which I am decoding h.264 encoded frames and passing it to v4l2 based sink. Below is the working pipeline.&lt;BR /&gt;&lt;EM&gt;gst-launch-1.0 rtspsrc latency=0 buffer-mode=1 drop-on-latency=true location=rtsp://10.16.102.70:1111/stream ! rtph264depay ! h264parse !&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;vpudec&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;disable-reorder=true !&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;videoconvert&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;! video/x-raw,format=&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;RGBx&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;! v4l2sink device=/dev/video3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The v4l2 sink accepts the frames only in RGBx format. The decoder&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;vpudec&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;which I am using is a hardware based decoder. It does not output data in RGBx. Below is the format in which it decodes the data&lt;BR /&gt;SRC template: 'src'&lt;BR /&gt;Availability: Always&lt;BR /&gt;Capabilities:&lt;BR /&gt;video/x-raw&lt;BR /&gt;format: { (string)NV12, (string)I420, (string)YV12, (string)Y42B, (string)NV16, (string)Y444, (string)NV24, (string)NV12_10LE }&lt;BR /&gt;width: [ 1, 2147483647 ]&lt;BR /&gt;height: [ 1, 2147483647 ]&lt;BR /&gt;framerate: [ 0/1, 2147483647/1 ]&lt;/P&gt;&lt;P&gt;I am using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;videoconvert&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;element to convert the frame to RGBx format. But the problem with this pipeline is, the performance is very poor since videoconvert is a software based converter&lt;/P&gt;&lt;P&gt;So I came up with a new gstreamer pipeline in which I am using hardware based converter.&lt;BR /&gt;&lt;EM&gt;gst-launch-1.0 rtspsrc latency=0 buffer-mode=1 drop-on-latency=true location=rtsp://10.16.102.70:1111/stream ! rtph264depay ! h264parse !&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;vpudec&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;disable-reorder=true !&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;imxvideoconvert_g2d&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;! video/x-raw,format=&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;RGBx&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;! v4l2sink device=/dev/video3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Above pipeline is not working. It is throwing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Error: Internal data stream error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I enable debug mode then its is coming as&lt;BR /&gt;&lt;EM&gt;0:00:03.480937459 1178 0xffff6c01d8c0 WARN basetransform gstbasetransform.c:1370:gst_base_transform_setcaps:&amp;lt;imxvideoconvert_g2d0&amp;gt; transform could not transform video/x-raw, format=(string)NV12, width=(int)1024, height=(int)768, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)1:3:5:1, framerate=(fraction)30/1 in anything we support&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The source and sink pads of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;imxvideoconvert_g2d&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is as below&lt;/P&gt;&lt;P&gt;Pad Templates:&lt;BR /&gt;SINK template: 'sink'&lt;BR /&gt;Availability: Always&lt;BR /&gt;Capabilities:&lt;BR /&gt;video/x-raw&lt;BR /&gt;format: { (string)RGB16, (string)RGBx, (string)RGBA, (string)BGRA, (string)BGRx, (string)BGR16, (string)ARGB, (string)ABGR, (string)xRGB, (string)xBGR, (string)I420, (string)NV12, (string)UYVY, (string)YUY2, (string)YVYU, (string)YV12, (string)NV16, (string)NV21 }&lt;BR /&gt;video/x-raw(memory:SystemMemory, meta:GstVideoOverlayComposition)&lt;BR /&gt;format: { (string)RGB16, (string)RGBx, (string)RGBA, (string)BGRA, (string)BGRx, (string)BGR16, (string)ARGB, (string)ABGR, (string)xRGB, (string)xBGR, (string)I420, (string)NV12, (string)UYVY, (string)YUY2, (string)YVYU, (string)YV12, (string)NV16, (string)NV21 }&lt;/P&gt;&lt;P&gt;SRC template: 'src'&lt;BR /&gt;Availability: Always&lt;BR /&gt;Capabilities:&lt;BR /&gt;video/x-raw&lt;BR /&gt;format: { (string)RGB16, (string)RGBx, (string)RGBA, (string)BGRA, (string)BGRx, (string)BGR16, (string)ARGB, (string)ABGR, (string)xRGB, (string)xBGR }&lt;BR /&gt;video/x-raw(memory:SystemMemory, meta:GstVideoOverlayComposition)&lt;BR /&gt;format: { (string)RGB16, (string)RGBx, (string)RGBA, (string)BGRA, (string)BGRx, (string)BGR16, (string)ARGB, (string)ABGR, (string)xRGB, (string)xBGR }&lt;/P&gt;&lt;P&gt;It is almost similar to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;videoconvert&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;element. Can anyone please help me to find out why it is throwing internal data stream error? How can I debug this issue?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2023 11:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1771828#M217122</guid>
      <dc:creator>vinay_hasyagar</dc:creator>
      <dc:date>2023-12-10T11:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Internal data stream error while using imxvideoconvert_g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1771924#M217129</link>
      <description>&lt;P&gt;refer to your debug information, it seems imxvideoconvert_g2d couldn't transform this data, how about using &lt;SPAN&gt;&lt;SPAN class="ui-provider ed bab awe bac bae baf bag bah bai baj bak bal bam ban bao bap baq bar bas bat bau bav baw bax bay baz bba bbb bbc bbd bbe bbf bbg bbh bbi"&gt;imxvideoconvert_ocl&lt;/SPAN&gt;&lt;/SPAN&gt;? if still failed, I will test it on my board tomorrow&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 03:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1771924#M217129</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-12-11T03:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Internal data stream error while using imxvideoconvert_g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1771935#M217131</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. There is no any plugin called&amp;nbsp;&lt;SPAN&gt;imxvideoconvert_ocl. &lt;STRONG&gt;Is it supported in case of iMx8 M Plus?&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My doubt is, both videoconvert and&amp;nbsp;imxvideoconvert_g2d have almost same src and sink pads. The RGB format which I am converting is supported by both the plugins but still&amp;nbsp;imxvideoconvert_g2d is failed to do the conversion.&amp;nbsp;videoconvert is poor in terms of performance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 04:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1771935#M217131</guid>
      <dc:creator>vinay_hasyagar</dc:creator>
      <dc:date>2023-12-11T04:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Internal data stream error while using imxvideoconvert_g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1772723#M217192</link>
      <description>&lt;P&gt;it shouldn't be the format issue, I tested on my board with the pipeline as below successfully&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bnl bnm bnn bno bnp bnq bnr bns bnt bnu bnv bnw bnx bny bnz boa bob boc bod boe bof bog boh boi boj bok bol bom bon boo bop boq bor bos"&gt; gst-launch-1.0 -v videotestsrc ! video/x-raw,format=NV12 ! queue ! imxvideoconvert_g2d ! video/x-raw,format=RGBx ! filesink location=file1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bnl bnm bnn bno bnp bnq bnr bns bnt bnu bnv bnw bnx bny bnz boa bob boc bod boe bof bog boh boi boj bok bol bom bon boo bop boq bor bos"&gt;and I confirmed this should be v4l2sink issue, maybe you can test other sink plugin again&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 03:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1772723#M217192</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-12-12T03:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Internal data stream error while using imxvideoconvert_g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1774105#M217313</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;Thank you for your confirmation. Would you suggest any method to debug at sink's side? We can't use any other sink in our case. We have to use the sink which we are using currently since it has few customization which is required for our project.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 16:55:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1774105#M217313</guid>
      <dc:creator>vinay_hasyagar</dc:creator>
      <dc:date>2023-12-13T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Internal data stream error while using imxvideoconvert_g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1774310#M217333</link>
      <description>&lt;P&gt;what display do you need for &lt;EM&gt;/dev/video3&lt;/EM&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 01:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Internal-data-stream-error-while-using-imxvideoconvert-g2d/m-p/1774310#M217333</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-12-14T01:58:17Z</dc:date>
    </item>
  </channel>
</rss>

