<?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のトピックRe: Linking issue when using aiurdemux with imxvideoconvert_g2d (GStreamer, IMX8MM)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Linking-issue-when-using-aiurdemux-with-imxvideoconvert-g2d/m-p/1226609#M168966</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for the quick reply!&lt;/P&gt;&lt;P&gt;Sorry, the video_0 name was left over from when I was trying different things to make it work, I should have removed that before posting. However, when I remove it, I still get the same error.&lt;/P&gt;&lt;P&gt;Both of the following pipelines still give me the same delayed linking error as in my original post:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;cv::VideoCapture("filesrc location=/media/1080_grapes.mp4 ! video/quicktime,systemstream=true ! aiurdemux name=demux demux.video_%u ! vpudec ! videoconvert ! video/x-raw,format=RGB16 ! appsink", cv::CAP_GSTREAMER);&lt;/LI-CODE&gt;&lt;LI-CODE lang="cpp"&gt;new cv::VideoCapture("filesrc location=/media/1080_grapes.mp4 ! video/quicktime,systemstream=true ! aiurdemux name=demux demux. ! vpudec ! videoconvert ! video/x-raw,format=RGB16 ! appsink", cv::CAP_GSTREAMER);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I don't need audio for my application. Do I need to handle the audio as well in order for the pipeline to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 20:20:17 GMT</pubDate>
    <dc:creator>graham-s</dc:creator>
    <dc:date>2021-02-04T20:20:17Z</dc:date>
    <item>
      <title>Linking issue when using aiurdemux with imxvideoconvert_g2d (GStreamer, IMX8MM)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linking-issue-when-using-aiurdemux-with-imxvideoconvert-g2d/m-p/1225695#M168897</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing an application for the IMX8M Mini using opencv videocapture with a GStreamer backend. So far, I have the following pipeline, which works and outputs video in YUV format:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;cv::VideoCapture("filesrc location=&amp;lt;filename&amp;gt;.mp4 ! video/quicktime,systemstream=true ! aiurdemux name=demux demux. ! queue ! vpudec ! queue ! appsink", cv::CAP_GSTREAMER));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I would like to have the video in RGB, as later on in the program I need to use the video input as an OpenGL texture. My approach for this has been to add the imxvideoconvert_g2d to the GStreamer pipeline.&lt;/P&gt;&lt;P&gt;When I run the following pipeline from the command line, I get video output as expected:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;gst-launch-1.0 filesrc location=&amp;lt;filename&amp;gt; ! video/quicktime,systemstream=true ! aiurdemux name=demux demux.video_0 ! vpudec ! imxvideoconvert_g2d ! video/x-raw,format=RGB16 ! waylandsink&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to use this pipeline in the application, I get GStreamer linking errors with aiurdemx:&lt;/P&gt;&lt;P&gt;Pipeline:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;cv::VideoCapture("filesrc location=/media/1080_grapes.mp4 ! video/quicktime,systemstream=true ! aiurdemux name=demux demux.video_0 ! vpudec ! imxvideoconvert_g2d ! video/x-raw,format=RGB16 ! appsink", cv::CAP_GSTREAMER));&lt;/LI-CODE&gt;&lt;P&gt;Linking Errors:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;0:00:00.078805339  1474 0xffffb418a8a0 WARN default grammar.y:506:gst_parse_no_more_pads:&amp;lt;demux&amp;gt; warning: Delayed linking failed.
0:00:00.078868090  1474 0xffffb418a8a0 WARN default grammar.y:506:gst_parse_no_more_pads:&amp;lt;demux&amp;gt; warning: failed delayed linking pad  video_0 of GstAiurDemux named demux to some pad of GstVpuDec named vpudec0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any help with this.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 16:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linking-issue-when-using-aiurdemux-with-imxvideoconvert-g2d/m-p/1225695#M168897</guid>
      <dc:creator>graham-s</dc:creator>
      <dc:date>2021-02-03T16:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linking issue when using aiurdemux with imxvideoconvert_g2d (GStreamer, IMX8MM)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linking-issue-when-using-aiurdemux-with-imxvideoconvert-g2d/m-p/1226458#M168957</link>
      <description>&lt;P&gt;Hello graham-s,&lt;/P&gt;
&lt;P&gt;The problem looks like that the pads &lt;CODE&gt;video_0&lt;/CODE&gt; have been renamed &lt;CODE&gt;video_00&lt;/CODE&gt; and also miss audio. This can be seen using &lt;CODE&gt;gst-inspect-1.0 aiurdemux&lt;/CODE&gt;, which indicates that the format for the pads now reads &lt;CODE&gt;video_%u&lt;/CODE&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 14:05:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linking-issue-when-using-aiurdemux-with-imxvideoconvert-g2d/m-p/1226458#M168957</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2021-02-04T14:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linking issue when using aiurdemux with imxvideoconvert_g2d (GStreamer, IMX8MM)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linking-issue-when-using-aiurdemux-with-imxvideoconvert-g2d/m-p/1226609#M168966</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for the quick reply!&lt;/P&gt;&lt;P&gt;Sorry, the video_0 name was left over from when I was trying different things to make it work, I should have removed that before posting. However, when I remove it, I still get the same error.&lt;/P&gt;&lt;P&gt;Both of the following pipelines still give me the same delayed linking error as in my original post:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;cv::VideoCapture("filesrc location=/media/1080_grapes.mp4 ! video/quicktime,systemstream=true ! aiurdemux name=demux demux.video_%u ! vpudec ! videoconvert ! video/x-raw,format=RGB16 ! appsink", cv::CAP_GSTREAMER);&lt;/LI-CODE&gt;&lt;LI-CODE lang="cpp"&gt;new cv::VideoCapture("filesrc location=/media/1080_grapes.mp4 ! video/quicktime,systemstream=true ! aiurdemux name=demux demux. ! vpudec ! videoconvert ! video/x-raw,format=RGB16 ! appsink", cv::CAP_GSTREAMER);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I don't need audio for my application. Do I need to handle the audio as well in order for the pipeline to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:20:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linking-issue-when-using-aiurdemux-with-imxvideoconvert-g2d/m-p/1226609#M168966</guid>
      <dc:creator>graham-s</dc:creator>
      <dc:date>2021-02-04T20:20:17Z</dc:date>
    </item>
  </channel>
</rss>

