> For the complete documentation index, see [llms.txt](https://docs.xbstation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xbstation.com/xblink-duo/user-manual/advanced-configuration/cameras-and-gimbals/ip-cameras/siyi-camera-gimbal.md).

# Siyi Gimbal Camera

This article describes how to set up and config Siyi Gimbal Cameras with XBLink

The [SIYI ZR10](https://shop.siyi.biz/products/siyi-zr10), [ZR30](https://shop.siyi.biz/products/siyi-zr30) and [A8](https://shop.siyi.biz/products/siyi-a8-mini) are IP cameras which can communicate with XBLink via ethernet protocol to stream video.

## Hardware Setup

We support 3 methods to connect it to XBLink as below

* **Method 1:** Connect to ETH1 port's XBLink.

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FLghYEGM3gj9rsvDlnR4u%2FCopy%20of%20CAP%201%20(19).png?alt=media&amp;token=4b70ce6b-1214-4729-ae9c-1615d1fe8642" alt=""><figcaption></figcaption></figure>

* **Method 2:** Using [USB to Ethernet Adapter](/xblink-duo/user-manual/getting-started/overview.md). (In case ETH1 port of XBLink is occupied)

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2Fg5LyOZzMEuoQACxFSxqc%2Fimage.png?alt=media&amp;token=09c08cd4-77ad-4d41-ba4e-837c2e839306" alt=""><figcaption></figcaption></figure>

* **Method 3:** Using Dual FPV Camera Hub.

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2Fc7AyhitZqJSHQNJS9Z2Q%2F2.png?alt=media&amp;token=f4f59deb-10b8-43d0-8650-cb3b73785f16" alt=""><figcaption></figcaption></figure>

### Method 1: Connect to ETH1 port's XBLink

The simplest way to connect a Siyi Gimbal Camera to XBLink is to use its ETH1 port. You just need to plug in the wire according to the instructions below.

<div align="left"><figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2F9n1myblKDtnFa6YVSTI8%2F2%20(4).png?alt=media&amp;token=bd143a77-9fba-457c-88b5-f1b9f5c7be9e" alt="" width="350"><figcaption></figcaption></figure> <figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FFEf3dwAEMiF165MakCeG%2F2%20(3).png?alt=media&amp;token=dfe6e6fa-f4dd-4a5c-90ac-0a072d4b04dc" alt="" width="334"><figcaption></figcaption></figure></div>

Finally, power up XBLink and Siyi Gimbal Camera.

{% hint style="info" %}
**Note:**  Always use the SATCOM port for Starlink. You must connect your IP camera to the ETH1 port or use a USBtoEthernet adapter.
{% endhint %}

### Method 2: Using USBtoETH Adapter

If you are intending to use both [the remote control](/legacy-products/xblink-plus/user-manual/advanced-configuration/remote-controller.md) and Siyi Gimbal Cameras, we recommend that you use the [USB to Ethernet Adapter](/legacy-products/xblink-plus/user-manual/getting-started/overview.md#other-not-include) to connect to the USB port of the XBLink

You can connect Siyi Gimbal Cameras to USB port of XBLink Duo via [USB to Ethernet Adapter](/legacy-products/xblink-plus/user-manual/getting-started/overview.md#other-not-include) as below

<div><figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FzGltDcwnDkdRwCDILUkR%2F2%20(20).png?alt=media&amp;token=7b73543b-dd46-44da-beac-92f0fac8284f" alt=""><figcaption></figcaption></figure> <figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FMfIRt6uiQWsMVxbAz37I%2F2%20(19).png?alt=media&amp;token=ed8e89bc-9022-4e5a-9f42-8dabcef6a6f4" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
Note: USB port is ETH2 of XBLink Duo
{% endhint %}

Finally, power up XBLink and Siyi Gimbal Camera.

### Method 3: Using Dual FPV Camera Hub

In case you have Dual FPV Camera Hub of Siyi, you can connect it XBLink following instruction

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2Fcq4WruX0SfnM7XY4PGds%2F2%20(18).png?alt=media&amp;token=f4e7175a-1a1f-4ea7-84c9-03240069440e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FCo3Aal2UeUZFvcoNPlZr%2F2%20(17).png?alt=media&amp;token=ea33556a-2519-4b3e-99ac-ce509296a439" alt=""><figcaption></figcaption></figure>

Finally, power up XBLink and Siyi Gimbal Camera.

{% hint style="info" %}
**Note:  Always SATCOM for Starlink, ETH1 or USB (usb to eth) for IP camera**
{% endhint %}

{% hint style="info" %}
**Note:  Always SATCOM for Starlink, ETH1 or ETH2 ( usb to eth) for IP camera**
{% endhint %}

## Configuration

### XBStationPilotApp

Open the XBStationPilotApp and configure the settings as follows:

1. Internet connection: **TCP**
2. Video Port: **5601**
3. Video Source: **SIYI**
4. Ethernet: **eth1  or eth2**
   1. Select **eth1** if you connected the camera via Method 1 or Method 3.
   2. Select **eth2** if you connected the camera via Method 2 (USBtoEthernet Adapter).
5. IP: **.25**

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FSKUakpMrSEpmvfdPJqHP%2Fimage.png?alt=media&amp;token=dd7fad96-d1bd-4830-ae67-6baa42dd58c7" alt=""><figcaption></figcaption></figure>

### Ground Station

#### QGroundControl

* Open QGroundControl, Change Source section to **UDP H.265 Video Stream** as below.

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FAjk9G60sDNRfHDq5afDN%2Fimage.png?alt=media&amp;token=78e89b10-f6e7-4b1b-95da-7c16b2e94612" alt="" width="293"><figcaption></figcaption></figure>

#### Mission Planner

1. At the Video HUD area, Right Click -> Video -> GStreamer Stop as below instruction

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FQAmOfHvNmdWBlRtz8O0w%2Fimage.png?alt=media&amp;token=bb4a609a-c0f3-44d2-8c77-3ffe47fbb173" alt="" width="528"><figcaption><p>GStreamer Stop</p></figcaption></figure>

2. At the Video HUD area, Right Click -> Video -> Set GStreamer source -> input GStreamer URL:

`udpsrc port=5601 caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H265, payload=96" ! rtpjitterbuffer ! rtph265depay ! avdec_h265 ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink`

{% code overflow="wrap" %}

```
udpsrc port=5601 caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H265, payload=96" ! rtpjitterbuffer ! rtph265depay ! avdec_h265 ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink
```

{% endcode %}

{% hint style="info" %}
**NOTE: udpsrc port=560x must be the same as PilotApp**
{% endhint %}

![](https://752643261-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Ot9F_Ob2Aboz1SKNK%2F-M_yz5MVA-a6zwERGJU-%2F-M_z0Cg8exmV3XTNiD7K%2Fimage.png?alt=media\&token=6ad93b5c-f09d-4c50-aa49-db54a4a271a0)

{% hint style="info" %}
**NOTE:** You only need to input the GStreamer URL once. Mission Planner will save this configuration. For subsequent flights, simply **Right Click -> Video -> Set GStreamer source -> and click OK to use video streaming.**
{% endhint %}

![Mission Planner](https://i.imgur.com/kFRpzS9.png)

{% hint style="info" %}
**NOTE:** Download and install the plugin (domestic environment download is slow, if it fails, please restart the Mission Planner ground station and try again)
{% endhint %}

![Mission Planner](https://i.imgur.com/RurZ4jz.png)

After the installation is complete, restart the MissionPlanner ground station to display the following interface.

## Video tutorial

For more information see video as below

{% embed url="<https://www.youtube.com/watch?v=sXnlv0z1MvI>" %}
