<?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: FFMPEG support in OpenCV in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/FFMPEG-support-in-OpenCV/m-p/1337338#M179808</link>
    <description>&lt;P&gt;After removing PACKAGECONFIG[gstreamer], you need add&amp;nbsp;PACKAGECONFIG[ffmpeg]="-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,XXXX"&lt;/P&gt;</description>
    <pubDate>Thu, 09 Sep 2021 03:05:40 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2021-09-09T03:05:40Z</dc:date>
    <item>
      <title>FFMPEG support in OpenCV</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FFMPEG-support-in-OpenCV/m-p/1336317#M179707</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've a Yocto image (imx-image-full) for the iMX8 board. OpenCV 4.4 is included in the image, which uses gstreamer as the backend. When testing a video app, some of the OpenCV properties are not supported. e.g.&lt;/P&gt;&lt;P&gt;property 6 = CAP_PROP_FOURCC&lt;BR /&gt;property 46 = CAP_PROP_CODEC_PIXEL_FORMAT&lt;/P&gt;&lt;P&gt;I am trying to add FFMPEG support to the OpenCV by adding the following lines in conf/local.conf&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append = " ffmpeg"&lt;BR /&gt;LICENSE_FLAGS_WHITELIST = "commercial"&lt;/P&gt;&lt;P&gt;With this FFMPEG pkgs were compiled successfully. However, the building failed at opencv do_install:&lt;/P&gt;&lt;P&gt;ERROR: opencv-4.4.0.imx-r0 do_install: Execution of '/home/xxx/xxx/build-imx8qmmek-xwayland/tmp/work/cortexa72-cortexa53-crypto-mx8-poky-linux/opencv/4.4.0.imx-r0/temp/run.do_install.3025' failed with exit code 1:&lt;BR /&gt;abort()ing pseudo client by server request. See &lt;A href="https://wiki.yoctoproject.org/wiki/Pseudo_Abort" target="_blank"&gt;https://wiki.yoctoproject.org/wiki/Pseudo_Abort&lt;/A&gt; for more details on this.&lt;BR /&gt;Child aborted&lt;BR /&gt;CMake Error: Generator: execution of make failed. Make command was: ninja -v -j 12 install &amp;amp;&amp;amp;&lt;BR /&gt;WARNING: exit code 1 from a shell command.&lt;/P&gt;&lt;P&gt;I also tried removing gstreamer in PACKAGECONFIG in the opencv recipe file, but still got the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insights or solution for this issue is appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lijun&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 23:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FFMPEG-support-in-OpenCV/m-p/1336317#M179707</guid>
      <dc:creator>lchen</dc:creator>
      <dc:date>2021-09-07T23:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: FFMPEG support in OpenCV</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FFMPEG-support-in-OpenCV/m-p/1337338#M179808</link>
      <description>&lt;P&gt;After removing PACKAGECONFIG[gstreamer], you need add&amp;nbsp;PACKAGECONFIG[ffmpeg]="-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,XXXX"&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 03:05:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FFMPEG-support-in-OpenCV/m-p/1337338#M179808</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-09-09T03:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: FFMPEG support in OpenCV</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FFMPEG-support-in-OpenCV/m-p/1337857#M179850</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Actually after I did a clean and re-build for opencv, it worked with ffmpeg and gstreamer together.&lt;/P&gt;&lt;P&gt;I am not if ffmpeg and gstreamer can get along together for OpenCV, or I have to choose one of them?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lijun&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 16:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FFMPEG-support-in-OpenCV/m-p/1337857#M179850</guid>
      <dc:creator>lchen</dc:creator>
      <dc:date>2021-09-09T16:51:22Z</dc:date>
    </item>
  </channel>
</rss>

