<?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: Error in setting up gstreamer pipeline in OpenCV Capture function in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-in-setting-up-gstreamer-pipeline-in-OpenCV-Capture/m-p/927090#M139193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijeet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at gstreamer pipelines examples on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://variwiki.com/index.php?title=VAR-SOM-MX6_GSTREAM_FSLC" title="http://variwiki.com/index.php?title=VAR-SOM-MX6_GSTREAM_FSLC"&gt;VAR-SOM-MX6 GSTREAM FSLC - Variscite Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on in Linux Guide in nxp linux documentation &lt;A class="link-titled" href="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW" title="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW"&gt;i.MX Software | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2019 12:10:02 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-09-16T12:10:02Z</dc:date>
    <item>
      <title>Error in setting up gstreamer pipeline in OpenCV Capture function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-in-setting-up-gstreamer-pipeline-in-OpenCV-Capture/m-p/927089#M139192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;I am using Ubuntu 14.04. The cmake version being used is 2.4 and gstreamer-1.0 is used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;1. When this command is run through command line,&lt;/SPAN&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;STRONG style="background-color: #f8f8f8; color: #1d1c1d; "&gt;gst-launch-1.0 autovideosrc ! autovideosink&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;The video is observed on the display with following message in the terminal,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;Setting pipeline to PAUSED ...&lt;/SPAN&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;ERROR: v4l2 capture: unsupported ioctrl!&lt;/SPAN&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;Pipeline is live and does not need PREROLL ...&lt;/SPAN&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;Setting pipeline to PLAYING ...&lt;/SPAN&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;New clock: GstSystemClock&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-stringify-type="paragraph-break" style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-stringify-type="paragraph-break" style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;2. When the cross-compiled application (using CMake) is run through opencv application on the cross platform,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;VideoCapture cap("gst-launch-1.0 autovideosrc ! autovideosink");&lt;/SPAN&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt; Error opening video stream or file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-stringify-type="paragraph-break" style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-stringify-type="paragraph-break" style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;3. Following is the code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM style="background-color: #f8f8f8; color: #1d1c1d; "&gt;#include "opencv2/opencv.hpp"&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM style="background-color: #f8f8f8; color: #1d1c1d; "&gt;#include &amp;lt;iostream&amp;gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM style="background-color: #f8f8f8; color: #1d1c1d; "&gt;using namespace std;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM style="background-color: #f8f8f8; color: #1d1c1d; "&gt;using namespace cv;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM style="background-color: #f8f8f8; color: #1d1c1d; "&gt;int main()&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM style="background-color: #f8f8f8; color: #1d1c1d; "&gt;{&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;VideoCapture cap("gst-launch-1.0 autovideosrc ! autovideosink");&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;//cap.open(3);&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;//VideoCapture cap(VIDIOC_ENUM_FMT);&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;// Check if camera opened successfully&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;if(!cap.isOpened())&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;{&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;cout &amp;lt;&amp;lt; "Error opening video stream or file" &amp;lt;&amp;lt; endl;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;return -1;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR style="color: #1d1c1d; background-color: #f8f8f8;" /&gt;&lt;EM&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&amp;nbsp;}&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-stringify-type="paragraph-break" style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-stringify-type="paragraph-break" style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" data-stringify-type="paragraph-break" style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;4. Where is the issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1d1c1d; background-color: #f8f8f8;"&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bhupeshpatil"&gt;bhupeshpatil&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2019 13:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-in-setting-up-gstreamer-pipeline-in-OpenCV-Capture/m-p/927089#M139192</guid>
      <dc:creator>abhijeet_ghodga</dc:creator>
      <dc:date>2019-09-14T13:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up gstreamer pipeline in OpenCV Capture function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-in-setting-up-gstreamer-pipeline-in-OpenCV-Capture/m-p/927090#M139193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijeet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at gstreamer pipelines examples on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://variwiki.com/index.php?title=VAR-SOM-MX6_GSTREAM_FSLC" title="http://variwiki.com/index.php?title=VAR-SOM-MX6_GSTREAM_FSLC"&gt;VAR-SOM-MX6 GSTREAM FSLC - Variscite Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on in Linux Guide in nxp linux documentation &lt;A class="link-titled" href="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW" title="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW"&gt;i.MX Software | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 12:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-in-setting-up-gstreamer-pipeline-in-OpenCV-Capture/m-p/927090#M139193</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-09-16T12:10:02Z</dc:date>
    </item>
  </channel>
</rss>

