# Video Capture from Skydroid OTG receiver

**URL:** <https://discourse.processing.org/t/video-capture-from-skydroid-otg-receiver/37662>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [June 21, 2022, 9:33am UTC](https://discourse.processing.org/t/video-capture-from-skydroid-otg-receiver/37662 "2022-06-21T09:33:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jake99](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jake99](https://discourse.processing.org/u/jake99)\
**Post date:** [June 21, 2022, 9:33am UTC](https://discourse.processing.org/t/video-capture-from-skydroid-otg-receiver/37662/1 "2022-06-21T09:33:36Z")

</div>

> please format code with \</\> button \* [homework policy](https://discourse.processing.org/faq/#homework) \* [asking questions](https://discourse.processing.org/t/2147)

I have been trying to load video from FPV receiver using video library. I have confirmed that it successfully loads feeds from the webcam, and Capture.list() shows two devices, which it should: they are onboard webcam and the usb camera, which is the FPV receiver. However, \</\>video = new Capture(this, Capture.list()[1]);\</\> would give “BaseSrc: [ksvideosrc0] : Internal data stream error.” I googled the issue, but could not find an adequate suggestion. I also tried \</\>video = new Capture(this, "pipeline:ksvideosrc device-index=1);\</\>, but it would give out the same error message, but this time with an additional line: “WARNING: no real random source present!.” Below is the short script that I wrote.

---

<div class="post-metadata">

**Author:** ![jake99](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jake99](https://discourse.processing.org/u/jake99)\
**Post date:** [June 21, 2022, 9:39am UTC](https://discourse.processing.org/t/video-capture-from-skydroid-otg-receiver/37662/2 "2022-06-21T09:39:08Z")

</div>

I just solved the issue. Yeah!!! video = new Capture(this, “pipeline:ksvideosrc device-index=1 ! jpegdec”); worked for me.
