<?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: Issue in Video Streaming with gadget webcam module g_webcam in i.MX8 EVK</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-webcam-in-i/m-p/848193#M129827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your host PC ever detect the i.MX8 hardware as the UVC device? Please check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2018 09:00:51 GMT</pubDate>
    <dc:creator>art</dc:creator>
    <dc:date>2018-11-08T09:00:51Z</dc:date>
    <item>
      <title>Issue in Video Streaming with gadget webcam module g_webcam in i.MX8 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-webcam-in-i/m-p/848192#M129826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue:&lt;BR /&gt;Not able to stream video in VLC from the sample mjpg file using gadget webcam module.&lt;BR /&gt;DWC3 controller stops submitting the USB Request back to the g_webcam module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Followed below steps :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Download i.MX8 linux source 4.9.88 &lt;BR /&gt;&lt;SPAN&gt;[git clone &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx" rel="nofollow" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx&lt;/A&gt;&lt;SPAN&gt; -b imx_4.9.88_2.0.0_ga]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.Download UVC gadget test application [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Flintwins%2Fuvc-gadget" rel="nofollow" target="_blank"&gt;https://github.com/lintwins/uvc-gadget&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Enable g_webcam module in linux kernel configuration&lt;BR /&gt;Device Drivers &amp;gt; USB Support &amp;gt; USB Gadget Support &amp;gt; USB Webcam Function&lt;/P&gt;&lt;P&gt;3.Compilation&lt;BR /&gt;3.1. Cross-Compile i.MX8 source code&lt;BR /&gt;$ sudo apt-get install crossbuild-essential-arm64&lt;BR /&gt;$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-&lt;BR /&gt;3.2. Update KERNEL_DIR, CROSS_COMPILE, ARCH in the UVC gadget test application Makefile&lt;BR /&gt;3.3. Cross-Compile UVC gadget application for i.MX8 platform&lt;BR /&gt;$ make&lt;/P&gt;&lt;P&gt;4. i.MX8 SD card preparation&lt;BR /&gt;4.1 &lt;BR /&gt;4.1 Copy 'g_webcam.ko' and 'usb_f_uvc.ko' to /media/user/rootfs/home/root/&lt;BR /&gt;4.2. Copy 'uvc-gadget' executable /media/user/rootfs/home/root/&lt;BR /&gt;4.3. Copy sample mjpg file [640x360/1280x720] to /media/user/rootfs/home/root/&lt;/P&gt;&lt;P&gt;5. Insert SD card and power ON the i.MX8 platform&lt;/P&gt;&lt;P&gt;6. Execution&lt;BR /&gt;6.1. Load gadget webcam modules&lt;BR /&gt;$ insmod usb_f_uvc.ko&lt;BR /&gt;$ insmod g_webcam.ko streaming_maxpacket=1024&lt;BR /&gt;6.2. Run uvc gadget test application&lt;BR /&gt;$ ./uvc-gadget -d /dev/videoX -i &amp;lt;sample-mjpg-file-name&amp;gt;&lt;BR /&gt;ex: $ ./uvc-gadget -d /dev/video1 -i 1280x720.mjpg (or)&lt;BR /&gt;$ ./uvc-gadget -d /dev/video1 -i 640x360.mjpg&lt;BR /&gt;Run VLC on the streaming linux PC and start the stream with the corresponding resolution 1280x720 (or) 640x360&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if I have missed anything or where I am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 09:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-webcam-in-i/m-p/848192#M129826</guid>
      <dc:creator>sunithas</dc:creator>
      <dc:date>2018-10-29T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Video Streaming with gadget webcam module g_webcam in i.MX8 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-webcam-in-i/m-p/848193#M129827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your host PC ever detect the i.MX8 hardware as the UVC device? Please check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 09:00:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-webcam-in-i/m-p/848193#M129827</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2018-11-08T09:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Video Streaming with gadget webcam module g_webcam in i.MX8 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-webcam-in-i/m-p/848194#M129828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Yes. Host PC detected i.MX8 Hardware as UVC device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;When we start streaming video data, gadget controller driver stopped submitting usb request to the gadget driver&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;Sunitha&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 06:04:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Video-Streaming-with-gadget-webcam-module-g-webcam-in-i/m-p/848194#M129828</guid>
      <dc:creator>sunithas</dc:creator>
      <dc:date>2018-12-13T06:04:00Z</dc:date>
    </item>
  </channel>
</rss>

