<?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: [Gst-launch-1.0] Using command line with 2 usb cameras in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Gst-launch-1-0-Using-command-line-with-2-usb-cameras/m-p/781385#M121371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yongdeuk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems gstreamer-imx used in the case, its issues also may be posted on&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/Freescale/gstreamer-imx/issues" title="https://github.com/Freescale/gstreamer-imx/issues"&gt;Issues · Freescale/gstreamer-imx · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively one can try with nxp plugins, usage is described in Linux Guide found&lt;/P&gt;&lt;P&gt;in nxp linux documentation on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Frun-time-software%2Fi.mx-developer-resources%2Fi.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" target="_blank"&gt;https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&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>Thu, 21 Jun 2018 01:07:58 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-06-21T01:07:58Z</dc:date>
    <item>
      <title>[Gst-launch-1.0] Using command line with 2 usb cameras</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gst-launch-1-0-Using-command-line-with-2-usb-cameras/m-p/781384#M121370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all.&lt;/P&gt;&lt;P&gt;I am Yongdeuk Park.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to test Video recording with 2 usb webcams.&lt;/P&gt;&lt;P&gt;When I use 1 usb webcam, I got a good result with following command:&lt;/P&gt;&lt;P&gt;'gst-launch-1.0 -e imxv4l2src device=/dev/video0 ! videoconvert ! queue ! vpuenc_h264 ! video/x-h264 ! mp4mux ! filesink location=/tmp/test_1.mp4'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I want to get a result with 2 usb webcams.&lt;/P&gt;&lt;P&gt;Following is my test log.&lt;/P&gt;&lt;P&gt;# device: imx6qsbresd board&lt;/P&gt;&lt;P&gt;#&amp;nbsp;root@imx6qsabresd:~# uname -a&lt;BR /&gt;Linux imx6qsabresd 3.14.52+g91d84b0 #1 SMP PREEMPT Fri Apr 20 16:21:33 KST 2018 armv7l GNU/Linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need you guys' help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yongdeuk Park&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;Test log&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;//CMD#1 : gst-launch-1.0 -e imxv4l2src device=/dev/video0 ! videoconvert ! queue ! vpuenc_h264 ! video/x-h264 ! mp4mux ! filesink location=/tmp/test_1.mp4 &amp;amp;&lt;BR /&gt;//CMD#2 : gst-launch-1.0 -e imxv4l2src device=/dev/video3 ! videoconvert ! queue ! vpuenc_h264 ! video/x-h264 ! mp4mux ! filesink location=/tmp/test_2.mp4 &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//CMD#1&amp;nbsp;result&lt;BR /&gt;====== IMXV4L2SRC: 4.0.8 build on Apr 23 2018 10:17:42. ======&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;[INFO] Product Info: i.MX6Q/D/S&lt;BR /&gt;====== VPUENC: 4.0.8 build on Apr 23 2018 10:17:49. ======&lt;BR /&gt; wrapper: 1.0.62 (VPUWRAPPER_ARM_LINUX Build on Apr 23 2018 10:17:10)&lt;BR /&gt; vpulib: 5.4.32&lt;BR /&gt; firmware: 3.1.1.46070&lt;BR /&gt;Pipeline is live and does not need PREROLL ...&lt;BR /&gt;Setting pipeline to PLAYING ...&lt;BR /&gt;New clock: GstSystemClock&lt;BR /&gt;[INFO] ringBufferEnable 0, chromaInterleave 0, mapType 0, linear2TiledEnable 0&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:/tmp# ps&lt;BR /&gt; PID TTY TIME CMD&lt;BR /&gt; 847 ttymxc0 00:00:00 sh&lt;BR /&gt;1984 ttymxc0 00:00:01 gst-launch-1.0&lt;BR /&gt;1996 ttymxc0 00:00:00 ps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// then CMD#2&amp;nbsp;result&lt;BR /&gt;====== IMXV4L2SRC: 4.0.8 build on Apr 23 2018 10:17:42. ======&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;[INFO] Product Info: i.MX6Q/D/S&lt;BR /&gt;====== VPUENC: 4.0.8 build on Apr 23 2018 10:17:49. ======&lt;BR /&gt; wrapper: 1.0.62 (VPUWRAPPER_ARM_LINUX Build on Apr 23 2018 10:17:10)&lt;BR /&gt; vpulib: 5.4.32&lt;BR /&gt; firmware: 3.1.1.46070&lt;BR /&gt;Pipeline is live and does not need PREROLL ...&lt;BR /&gt;Setting pipeline to PLAYING ...&lt;BR /&gt;New clock: GstSystemClock&lt;BR /&gt;uvcvideo: Failed to submit URB 0 (-28).&lt;BR /&gt;uvcvideo: Failed to submit URB 0 (-28).&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal data flow error.&lt;BR /&gt;Additional debug info:&lt;BR /&gt;/media/hd1/ydpark/fsl-release-bsl-quad/build-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0:&lt;BR /&gt;streaming task paused, reason error (-5)&lt;BR /&gt;EOS on shutdown enabled -- waiting for EOS after Error&lt;BR /&gt;Waiting for EOS...&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:/tmp# ps&lt;BR /&gt; PID TTY TIME CMD&lt;BR /&gt; 847 ttymxc0 00:00:00 sh&lt;BR /&gt;1984 ttymxc0 00:00:04 gst-launch-1.0&lt;BR /&gt;1997 ttymxc0 00:00:00 gst-launch-1.0&lt;BR /&gt;2008 ttymxc0 00:00:00 ps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&amp;nbsp;Final result&lt;BR /&gt;root@imx6qsabresd:/tmp# ls -al&lt;BR /&gt;total 888&lt;BR /&gt;drwxrwxrwt 2 root root 120 Jun 4 04:59 .&lt;BR /&gt;drwxrwxrwt 4 root root 80 Jun 4 00:42 ..&lt;BR /&gt;-rw-r--r-- 1 root root 0 Jun 4 00:42 .automount-mmcblk3p1&lt;BR /&gt;srwxrwxrwx 1 root root 0 Jun 4 00:42 oprofileui.socket&lt;BR /&gt;-rw-r--r-- 1 root root 909312 Jun 4 04:59 test_1.mp4&lt;BR /&gt;-rw-r--r-- 1 root root 0 Jun 4 04:59 test_2.mp4&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 06:26:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gst-launch-1-0-Using-command-line-with-2-usb-cameras/m-p/781384#M121370</guid>
      <dc:creator>yongdeukpark</dc:creator>
      <dc:date>2018-06-14T06:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: [Gst-launch-1.0] Using command line with 2 usb cameras</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gst-launch-1-0-Using-command-line-with-2-usb-cameras/m-p/781385#M121371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yongdeuk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems gstreamer-imx used in the case, its issues also may be posted on&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/Freescale/gstreamer-imx/issues" title="https://github.com/Freescale/gstreamer-imx/issues"&gt;Issues · Freescale/gstreamer-imx · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively one can try with nxp plugins, usage is described in Linux Guide found&lt;/P&gt;&lt;P&gt;in nxp linux documentation on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Frun-time-software%2Fi.mx-developer-resources%2Fi.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" target="_blank"&gt;https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&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>Thu, 21 Jun 2018 01:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gst-launch-1-0-Using-command-line-with-2-usb-cameras/m-p/781385#M121371</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-06-21T01:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: [Gst-launch-1.0] Using command line with 2 usb cameras</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gst-launch-1-0-Using-command-line-with-2-usb-cameras/m-p/781386#M121372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying, Igor!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did search for answer at&amp;nbsp;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FFreescale%2Fgstreamer-imx%2Fissues" rel="nofollow" style="color: #3d9ce7; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;Issues · Freescale/gstreamer-imx · GitHub&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;. But I cannot find the solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Actually, a plugin name is different between my case and Github page.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Can you explain more details to me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I found that a boad what I used consists of 1 usb hub with 4 ports.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;In that case, Can I use only one gstreamer pipeline?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yongdeuk Park&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 06:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gst-launch-1-0-Using-command-line-with-2-usb-cameras/m-p/781386#M121372</guid>
      <dc:creator>yongdeukpark</dc:creator>
      <dc:date>2018-06-21T06:47:14Z</dc:date>
    </item>
  </channel>
</rss>

