> **Sokil documentation pack**
> Language: English
> Station software: 20261126_usb_cameras
> UI build: c6b2dc620
> Generated: 2026-11-26
> Generated by the Sokil ground station UI from the documentation it ships. Download it again after every software update - the pack describes the version it was generated from.

<a id="camera-compatibility"></a>

# Camera compatibility

**Summary:** Which cameras Sokil can drive - MIPI sensors per board, USB cameras and their format limits, RTSP cameras, and what each control brand can actually do.

**Audience:** field integrators

Open in the UI: http://10.1.1.30/help/guides/camera-compatibility

A camera reaches Sokil one of three ways: soldered to the board (**MIPI CSI**), plugged into a
USB port (**UVC**), or over the network (**RTSP**). This page is what works on which host, the
limits of each path, and what the camera-control brands can actually do. Every claim here is
verified against the current core; where only the manufacturer's legacy field notes vouch for a
figure, the page says so.

<a id="camera-compatibility--mipi-csi-the-soldered-sensor"></a>

### MIPI CSI - the soldered sensor

**Sigmastar (the IPC camera boards).** The shipped combination is the **SSC338Q** with the
**IMX415** 8 MP sensor - what the board profile selects and what every kit carries. The whole
Infinity6E family runs the same camera binary - SSC338Q/D/G, SSC377G, SSC336DE and the
**SSC30KQ** - with the sensor selected at runtime. The SSC30KQ boards (the Anjoy **MC-L12B** and
the 19 x 19 mm **MINIIPC**) pair with the **IMX335** 5 MP sensor.

**The sensor is detected, not assumed.** The **Sensor** (parameter `dev_sensor`) Setup shows on its Start step is the
camera's own report of the driver it loaded, so an IMX335 unit says `imx335`, and the stream's
**Sensor** row (parameter `vtx_eye_sensor`) (VTX settings > Streamers, the stream's Sensor tab) left at `auto` finds the IMX335
driver; the one place a board is still mapped to a sensor by hand is core's own printout of the
defaults, which uses `imx415` for SSC338Q and `imx335` for SSC30KQ rather than probing a fitted sensor. Set that **Sensor** row (parameter `vtx_eye_sensor`) by
hand only where a unit really has come up on the wrong driver. The SSC30KQ has its own firmware
image and the flasher knows it (`flash.sh -b ssc30kq`); software updates after that ship the
ssc338q binaries, which run on the SSC30KQ unchanged.

The measured mode table for the SSC338Q + IMX415:

| Mode      | Frame rates                                 |
| --------- | ------------------------------------------- |
| 3840x2160 | 3-30 fps                                    |
| 2952x1656 | 3-60 fps                                    |
| 1920x1080 | 3-90 fps (120 with **Unlock high FPS** (parameter `vtx_eye_sensor_unlock`), an expert's switch) |
| 1472x816  | 3-120 fps                                   |

So 4K30 and 1080p60 both work on the bench, and **4K60 is refused** - no sensor mode satisfies both
halves, and core rejects the pair rather than silently producing nothing. About 30 fps at 4K was
measured, and it is above SigmaStar's own rating for the part: the SSC338D/Q product brief rates
the chip at 4K **20** fps. Treat 4K30 as what this board did on the bench rather than as a
guarantee, and if 4K is what a build depends on, measure it on the unit you are shipping.

**The SSC30KQ boards are the 5 MP half of the family, and they stop at 2560x1920.** SigmaStar rates
that chip at 3K (3072x1728) and 30 fps, with no 4K mode at all, on one Cortex-A7 core instead of
two; the IMX335's all-pixel 2592x1944 is quoted by Sony and by the module's spec sheet but the chip
crops it away and it is never offered. The sensor driver these boards run exposes 1920x1080 up to
120 fps, 2560x1440 up to 90 and 2560x1920 up to 60. **None of that is a Sokil measurement** - no
SSC30KQ board has been on a bench here - so those are the chip's and the driver's numbers, and what
a real unit holds under load may be less. The picture caps follow the board picked on the wizard's
**Board** step - see [WiFi camera on an IPC board](camera-wifi-ssc338q.md#camera-wifi-ssc338q).

**Every IPC chip here has one MIPI input** - the SSC30KQ as much as the SSC338Q. The second and
third camera slots on an IPC board are USB (UVC) slots, so a dual-sensor IPC build is one soldered
camera plus USB ones. There is one USB port as well, so those slots and the radio card share it
through a hub.

**Luckfox (RV1106).** The MIPI pipeline takes the 5 MP sensor the board ships with - the native
geometry defaults to 2592x1944, and the on-board 3A loop reads the sensor's own parameters. The
legacy docs name the **MIS5001** as the tested sensor; nothing in core narrows it further.

**SC3336 and SC4336 are supported too.** Luckfox supports both officially and the Sokil image is
built on Luckfox's, so they come with the platform rather than through a change here. **SC3336**
has been tested and works; **SC4336** has not been tried on a Sokil build.

**Raspberry Pi and Radxa.** These boards have CSI connectors, but core's ground-station build
does not drive a raw MIPI sensor - a CSI camera is consumed **as a V4L2 device node**, exactly
like a USB camera. The legacy claim that "all popular Raspberry Pi cameras work" is broader than
anything core verifies.

The **Radxa Camera 4K** has been tried on this path and works, but only with device-tree
configuration written by hand, so it is not a drop-in. Core promises the
V4L2 path, not any particular module, so check the camera in front of you before you plan a kit
on it.

The **Raspberry Pi 4** silicon supports H.264 encoding and H.264/H.265 decoding
([manufacturer specifications](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/specifications/)).
Sokil's Pi 4 V4L2 decoder backend handles H.264; H.265 uses a software fallback.
The Pi 5 has no hardware encoder path in core and encodes in software instead.

<a id="camera-compatibility--which-sigmastar-soc-to-pick"></a>

#### Which Sigmastar SoC to pick

One camera binary covers the whole Infinity6E family and the sensor is chosen at runtime, so the
exact part number on the board matters less than it looks. What the sources settle:

| SoC                                       | Family      | Sokil runs on it                     | Where it stands                                                                              |
| ----------------------------------------- | ----------- | ------------------------------------ | -------------------------------------------------------------------------------------------- |
| SSC338Q                                   | Infinity6E  | yes - the validated combination      | the SoC of the MC800S-V3, the RunCam WiFiLink 2 and the EMAX Wyvern Link, with the IMX415 sensor |
| SSC338D / SSC338G / SSC377G / SSC336DE    | Infinity6E  | yes - the same binary                | same code path, sensor picked at runtime                                                      |
| SSC30KQ                                   | Infinity6E  | yes - the same binary, its own image | the Mariola MC-L12B modules with the IMX335, flashed with `flash.sh -b ssc30kq`                |
| SSC377D / SSC378QE                        | Infinity6C  | the RunCam WiFiLink Clone SSC377D and the MC800S5; **not yet** on the MC-L12D2 | a different ABI and its own camera build: the RunCam WiFiLink Clone SSC377D and the MC800S5 (SSC378QE) have run it on a bench; the MC-L12D2 (SSC377D) has not |

**Prefer the SSC338Q.** It is the unit every camera change is validated on, it carries the 8 MP
IMX415 with the measured mode table above, and it is what the kits ship. The SSC30KQ is the same
software on a smaller module, but it pairs with the 5 MP IMX335 and needs its own flash image. Sensor selection normally stays on
`auto` (above), so pick it because the airframe demands that module, not for the picture.

**The SSC377D and the SSC378QE are a different family, not a better SSC338Q.** They are Infinity6C,
a different vendor platform with its own camera build. The Sokil image runs on the RunCam WiFiLink Clone SSC377D
(SSC377D), measured up to 2560x1440, and on the MC800S5 (SSC378QE), run up to 3840x2160 at
30 fps; the MC-L12D2 has not run it yet -
[WiFi camera on an Infinity6C board](camera-wifi-infinity6c.md#camera-wifi-infinity6c). The SSC377G, despite the
number, is Infinity6E and in the row above. Do not read the SSC30K prefix as an Infinity6C marker
either; the SSC30KQ is Infinity6E and runs the existing binary unchanged.

<a id="camera-compatibility--usb-cameras-uvc"></a>

### USB cameras (UVC)

Any camera that speaks the UVC standard can be plugged into a Pi, a Radxa, a Luckfox, a laptop -
or an IPC board as its second camera. Two formats matter:

- **YUYV** - raw frames, accepted by **every** host. Bandwidth-hungry, so resolution and frame
  rate are limited by USB, not by Sokil.
- **MJPEG** - compressed, so the host must decode it. **The IPC (SSC338Q) does not** - a stock
  build silently falls back to YUYV. The laptop prefers MJPEG (it saves USB bandwidth); the
  Luckfox has no hardware video decoder, so it decodes MJPEG in software, slower than a Radxa
  (the 2026-09-26 table below); Radxa and Pi decode per their codec support above.
- **UYVY** exists for the analog-bridge case below. A UVC camera that outputs **H.264 is not an
  accepted input** on any host - use MJPEG/YUYV from it, or the custom-pipeline escape hatch.

**Historical Luckfox MJPEG measurements, on older firmware.** These results do not
establish the performance of the current build. Measured
on the bench, 2026-08-20, with a UVC camera on an RV1106 encoding to H.265 (the RV1106 encoder is
H.264 or H.265), reading the frame rate off the
encoded stream:

| Source | Resolution | Zoom         | Frame rate |
| ------ | ---------- | ------------ | ---------- |
| MIPI   | 1280x720   | 1.0x         | about 30 |
| MIPI   | 1920x1080  | 1.0x         | about 30 |
| MJPEG  | 1280x720   | 1.0x to 4.0x | about 30 |
| MJPEG  | 1920x1080  | 1.0x         | about 18 |
| MJPEG  | 1920x1080  | 3.0x to 4.0x | about 15 |

In that 2026-08-20 test, 720p held about 30 fps while 1080p fell to about 18 fps,
and zoom reduced the latter further. That 1080p result was judged unsuitable for flight.
Use these as observations of that setup; test the decoder backend and stream modes in the
installed build before choosing a mode. The figures measured since are below.

**Measured 2026-09-26: a USB camera on each host, and its delay.** One UVC camera (MJPEG up to
1920x1080 at 30 fps; YUYV 640x480 at 25 and 640x360 at 30) and a laptop's built-in webcam, in a lit
room, each streaming to a Raspberry Pi 5 station over Ethernet, on camera firmware and station
software built that day. Frame rate is the encoded stream's; **camera to browser** is what
[Link test](link-test.md#link-test) measured, good to about +/- 10 ms:

| Host                 | Format | Resolution | Frame rate | Camera to browser |
| -------------------- | ------ | ---------- | ---------- | ----------------- |
| Luckfox (RV1106)     | YUYV   | 640x360    | about 30 | about 40 ms |
| Luckfox (RV1106)     | MJPEG  | 640x480    | about 30 | - |
| Luckfox (RV1106)     | MJPEG  | 1280x720   | about 20 | about 60 ms |
| Luckfox (RV1106)     | MJPEG  | 1920x1080  | about 10 | - |
| Radxa Zero 3         | YUYV   | 640x360    | about 30 | about 40 ms |
| Radxa Zero 3         | MJPEG  | 1280x720   | about 30 | about 30 ms |
| IPC (SSC338Q)        | YUYV   | 640x480    | about 25 | about 50 ms |
| Laptop (x86, Ubuntu) | MJPEG  | 1280x720   | about 30 | about 40 ms |

**A Luckfox trades frame rate for delay on MJPEG since its 2026-09-26 camera firmware.** The camera's
own part of the delay fell from about 160 ms to about 40 ms at 720p (from about 25 fps to about 20), and from
about 440 ms to about 100 ms at 1080p (about 10 fps either way). 1080p MJPEG on a Luckfox stays
unsuitable for flight. On a Luckfox, YUYV at a size the camera offers measured lower than MJPEG; on
a Radxa and a laptop, MJPEG measured lower - a small JPEG crosses USB sooner than a raw frame.

The earlier cross-platform bench (2026-04-29)
recorded Radxa Zero 3 at about 30 fps on 1080p MJPEG, including zoom at 1.5x and 2.0x, and Raspberry Pi 4 at about 30 fps on 1080p MJPEG H.264. Those measurements describe
the tested configurations, not universal limits for every build.

Video-node numbers depend on driver registration order. Prefer a stable `/dev/v4l/by-path/...`
path (the USB socket) when available; the [Hardware page](http://10.1.1.30/cam/hardware) picker writes it, a by-id
link on an older Sokil Core, and falls back to the reported `/dev/videoN` node when neither exists. On a Windows or Mac station, where a camera
arrives over usbipd, its by-path link follows the attach order, so the picker writes the by-id link there. Check that selection after devices are re-enumerated.
A camera that drops off the bus raises a missing-device finding in [Diagnostics](http://10.1.1.30/cam/diagnostics).

On a board with only one USB socket - an IPC camera, a Luckfox - a USB camera and the radio share a
hub: [the hub on a Luckfox](camera-wifi-luckfox.md#camera-wifi-luckfox--two-usb-devices-a-hub-for-a-thermal-camera)
has the wiring and the power rule.

<a id="camera-compatibility--what-a-usb-camera-or-capture-device-must-offer"></a>

#### What a USB camera or capture device must offer

Automatic USB format selection tries **MJPEG, YUYV, then UYVY**, subject to the host
backend. NV12 can be selected explicitly in some pipelines, including RV110x, but is not part
of automatic selection or the setup picker's format filter. A compatible pixel format alone
does not guarantee that a particular resolution, frame rate and device work on the installed build.
Test the candidate with that host and build before relying on it.

The device picker on the [Hardware page](http://10.1.1.30/cam/hardware) lists capture candidates found by the
current capability probe. It deliberately filters hardware codec nodes, the Raspberry Pi 5's
eight ISP nodes and the Luckfox's four raw-Bayer CSI nodes. The probe can also omit a node it
cannot open or query. If a camera is missing, check its connection, availability, permissions and
probe errors before concluding that it is unsupported. A listed mode is an advertised capability,
not proof that capture and encoding have succeeded; test the intended mode on the installed build.

One caution that came out of a measurement rather than a theory: enumerating a camera is not free,
because the intrusive act is opening the node. On a Raspberry Pi 5 station a cheap UVC camera took
three concurrent opens of its node, blocked about 2.5 s in all three and fell off the USB bus until the
port was power-cycled - with nothing streaming. Sokil now sweeps one at a time and only when asked.
Open the picker when you need it; do not sit on it refreshing.

<a id="camera-compatibility--thermal-cores-over-usb"></a>

#### Thermal cores over USB

A digital thermal core is an ordinary UVC device - Sokil sees a camera, not a thermal camera. The
cores Sokil recommends are the **SeekUAV 640** and **SeekUAV 384**, and the **Kurbas 640** and
**Kurbas 384**. An **analog** core reaches the board through the AV-to-USB
digitizer below instead: the **Caddx IRC-640CA** is the one named, and it works, though not as well
as the two USB cores.

What the fielded configurations hold for a USB thermal core: **640x512 at 30 fps in YUY2**, so
the stream's **Input format** (parameter `vtx_eye_input_format`) is `yuyv`, encoded to H.265 at 512 to 1024 kbps onto the box's own link. Which
socket it takes on each board, and the rule that the core and any hub take 5V from a BEC with a short
shielded lead, are in [Supported hardware](supported-hardware.md#supported-hardware). A 5V board may share that
BEC within its current rating; a 12V IPC needs a separate 5V feed. Never use the board's USB rail.

**The short shielded lead is not superstition.** A UVC camera on a disturbed or hot-replugged USB
line can leave its port stuck inside the host controller's error recovery - present but frozen,
which reopening the node cannot fix. Sokil notices the stall within seconds and, on a Radxa, a Pi,
a laptop or a Luckfox, resets the USB controller to clear it before reopening; it also picks up a
camera plugged in minutes after boot. That recovery is validated on a Radxa Zero 3 carrying a
thermal UVC core. **On an IPC board there is no such reset**, so the wedge only clears by reopening
or by cutting the core's power, which is one more reason to keep that lead short.

Read the modes off the device on the [Hardware page](http://10.1.1.30/cam/hardware) before you plan a kit around a
frame rate.

<a id="camera-compatibility--two-cameras-on-one-board"></a>

#### Two cameras on one board

Two cameras run as two Sokil Eyes: the second is **Sokil Eye 2**, switched on by picking it for a row of
the **Streams** card on VTX settings > Streamers (parameter `vtx_eye2_enabled`), with its own **Device** (parameter `vtx_eye2_device`),
its own port, and the **Second video** row set to it (parameter `vtx_presets_streamer2`) so the preset ladder knows about it. Both transmit at the
same time, each on its own stream. The combinations that have actually been measured, each a soak of about five
minutes with no errors observed:

| Host             | First camera             | Second camera                       | Result                                          |
| ---------------- | ------------------------ | ----------------------------------- | ----------------------------------------------- |
| IPC (SSC338Q)    | MIPI IMX415, 1080p H.265 | USB UVC, 480p H.265                 | both hold, no errors                            |
| Luckfox (RV1106) | MIPI sensor              | USB UVC, 480p (MJPEG and YUYV both) | both hold                                       |
| Radxa Zero 3E    | USB capture, 720p30      | a network camera, re-encoded 720p30 | both hold about 30 fps at 2000 kbps each              |
| Laptop           | USB UVC, 720p30          | USB UVC, 720p30                     | both hold                                       |

**On an IPC the second camera is USB, never a second sensor.** The SoC has one MIPI input, which is
why core's board settings leave the second eye's source on the V4L2 path. The USB side of that
board is the small one - 480p at about 25 fps in YUYV at about 6 ms of latency, and MJPEG at 720p is CPU-bound
around 20 fps on that SoC even in a build that can decode it - so a thermal core at 640x512 fits
beside the sensor, and a second HD camera does not.

**On a SigmaStar camera, switching the second eye on or off restarts both eyes.** The main picture drops
for about 6 seconds each time, so set the second camera up on the ground, not in flight. A Luckfox restarts only the
second eye.

Three things that bite:

- **The air budget is shared.** Both streams ride one card on one channel. At MCS 4 on a 20 MHz
  channel with K=4 / N=12 that is roughly 13 Mbps of useful payload for the pair, so plan a 40 MHz
  channel or a higher MCS before asking for two HD streams.
- **USB numbering follows plug order.** Set the **Device** of both Sokil Eyes (parameters `vtx_eye_device`, `vtx_eye2_device`) to the stable
  `/dev/v4l/by-path/...` paths (one per USB socket - two cameras of one model can share a by-id
  name), or a reboot can swap the two cameras over.
- **The camera switch is not the way to do this.** The **Camera switch** (parameter `rc_act_vtx_cam_sw`) RC action (Control > RC Actions) flips one link between two
  cameras, and only one of them transmits; assigning it while you meant to run both streams is the
  usual reason the second one goes away.

<a id="camera-compatibility--a-usb-camera-and-a-radxa-instead-of-an-ipc-board"></a>

#### A USB camera and a Radxa instead of an IPC board

That swap is a kit rather than an experiment - [Radxa VTX](camera-radxa-vtx.md#camera-radxa-vtx) is exactly
that board carrying somebody else's picture over USB. What you trade:

|                     | IPC SSC338Q with the IMX415                       | Radxa Zero 3 with a UVC camera                          |
| ------------------- | ------------------------------------------------- | -------------------------------------------------------- |
| Picture             | the soldered 8 MP sensor - 4K30 and 1080p60        | whatever the USB camera offers, and nothing more          |
| A USB camera on it | 480p at about 25 fps in YUYV; MJPEG only where the build decodes it, and CPU-bound around 20 fps at 720p | 1080p at about 30 fps over MJPEG including 1.5x and 2.0x zoom, decoded in hardware |
| What you assemble   | one board, sensor on its own ribbon                | board, camera, its own BEC good for about 3A, the harness |
| Size and weight     | the smallest of the camera boards                  | bigger, and one more device to power                      |

Reach for the Radxa when the picture cannot come from a sensor at all - thermal, analog, HDMI - and
keep the IPC when it can.

<a id="camera-compatibility--analog-video-cvbs-and-hdmi"></a>

### Analog video (CVBS) and HDMI

There is **no direct analog input**: a CVBS camera needs a capture device that exposes its video
through V4L2. A USB digitizer appears as a UVC camera; a supported CSI decoder bridge uses chips
such as ADV7180/7182/7282M. The Radxa CVBS camera kit uses the USB path described below; the analog
repeater kit uses the ribbon, with Sokil's own capture board.

For an analog device that supports standard selection, set **Analog standard** (parameter `vtx_eye_standard`)
on the Sokil Eye Pipeline tab (VTX settings > Streamers) to PAL for 720x576@25 or NTSC for 720x480@30. The default `auto` leaves the device's standard unchanged.
The fielded Radxa CVBS kit reads its USB digitizer in YUY2; PAL and UYVY belong to the
`radxa3-adv7180` CSI add-on below. Other USB capture devices may offer MJPEG or UYVY instead,
subject to the host's supported formats.

**HDMI adapters use the V4L2 capture path**, rather than a dedicated HDMI source type.
The `radxa3-hdmi` add-on below supports the documented CSI bridge; a USB capture dongle
must expose a format and mode supported by the host's V4L2 pipeline.

<a id="camera-compatibility--the-av-to-usb-digitizer"></a>

#### The AV-to-USB digitizer

The USB capture device the kits use is the **Snowflake CVBS-to-USB module**, listed with the rest of the
video parts on [Supported hardware](supported-hardware.md#supported-hardware). An analog camera or an analog
video receiver goes in and a plain UVC device comes out, so from Sokil's side it is a USB camera
like any other and everything in the USB section above applies to it.

What a digitizer has to do to fit is the format rule above - enumerate as UVC and offer MJPEG, YUYV
or UYVY. The modes fielded units actually run one at: **640x480, 800x600 or 1280x720 in MJPEG at 30
or 60 fps**, and the analog Radxa kit's own configuration reads **640x480 at 30 in YUY2** at 2048 kbps. An analog source has no more detail than that to give -
PAL is 720x576 at 25 and NTSC 720x480 at 30.

The same part is what an analog thermal core is built on, and the alternative for an analog video
receiver on a repeater whose CSI ribbon is taken, so one digitizer answers three different questions.

**Two AV-to-USB boards are known, and they are not interchangeable.** The **Snowflake** module is the
kit part and the one that works everywhere Sokil digitizes analog video over USB - behind an analog
VRX on a repeater included. The other is the legacy capture card (AliExpress `1005012099556962`): fine for
on-board CVBS-to-USB conversion on a camera, worse than the Snowflake behind an analog VRX, and it
does not work on the analog-to-digital Starlink and WiFi repeaters at all. For any other board the
format rule above is what to test a candidate against, and the startup race on the
[Radxa VTX](camera-radxa-vtx.md#camera-radxa-vtx) page - the source settling on a smaller mode than the
encoder was set for - is what to watch for while you do.

<a id="camera-compatibility--cvbs-and-hdmi-on-the-csi-ribbon"></a>

#### CVBS and HDMI on the CSI ribbon

On some boards the analog or HDMI signal can be decoded straight to a video node on the CSI ribbon,
which skips the USB device entirely. Three such add-ons exist, and they install through the station's
own Update Sokil flow, from the board's [Hardware page](http://10.1.1.30/cam/hardware) - including a board behind
another station, which gets its add-on through that station:

- **CVBS on a Raspberry Pi 4 or Pi 5** - the `rpi-adv7180` add-on drives an **ADV7282-M** decoder on
  the CSI-2 bus. It reports **720x576 for PAL** and **720x506 for NTSC**: 506 active lines, not the
  standard 480, so anything downstream that hard-codes 480 will mis-crop. Frames are UYVY, and
  the stream's **Analog standard** (parameter `vtx_eye_standard`) still has to say PAL or NTSC.
- **CVBS on a Radxa Zero 3** - the `radxa3-adv7180` add-on drives an **ADV7282-M** on CSI-2.
  PAL capture at **720x576, about 25 fps** was measured on 2026-09-05; its reference configuration
  reads UYVY with **Analog standard** (parameter `vtx_eye_standard`) on PAL, at 3000 kbps. The board to
  fit is **Sokil's own CVBS-to-MIPI capture board** (article `CVBS-MIPI-RADXA`), fed from the Radxa
  over the ribbon; it is the capture device of the [analog repeater](repeater-analog.md#repeater-analog)
  kit. See [Radxa VTX](camera-radxa-vtx.md#camera-radxa-vtx).
- **HDMI on a Radxa Zero 3** - the `radxa3-hdmi` add-on, a Toshiba TC358743 bridge on I2C and CSI.
  The board that carries that bridge is the **Geekworm C790** (article `HDMI-CSI-2-C790`), the
  capture board of the Walksnail Ascent repeater.
  That is the one HDMI-in build that is written down anywhere.

The boards that have an article are listed with the rest of the video parts on
[Supported hardware](supported-hardware.md#supported-hardware).

The ribbon costs an add-on and gives back a USB socket, which is the whole argument on a board that
has one - a Luckfox, or a Radxa already carrying a radio. Those three add-ons are the ones documented here, so on an IPC board and on a Luckfox the analog path is the USB digitizer.

<a id="camera-compatibility--network-cameras-rtsp"></a>

### Network cameras (RTSP)

Sokil pulls from any IP camera that serves an **H.264 or H.265 RTSP stream** - with password
auth if the camera wants it. There are two modes, and the difference decides what you can do
mid-flight:

|                               | `rtsp_passthrough` (relay)               | `rtsp` (transcode)                          |
| ----------------------------- | ---------------------------------------- | ------------------------------------------- |
| What happens                  | the camera's stream is relayed untouched | the host decodes and re-encodes it          |
| Works on                      | every host, including IPC                | Radxa / laptop - **not IPC, Luckfox or Raspberry Pi** |
| Bitrate under Sokil's control | only via a vendor side-channel (below)   | yes - the host encoder obeys the presets    |
| Sokil digital zoom            | no                                       | yes                                         |

The transcode host needs a decoder for the camera's codec. Radxa supports H.264 and H.265
decoding. **A Raspberry Pi has no hardware H.265 encoder**, so it cannot re-encode a camera's
stream to H.265, and setup offers only relay on a Pi 4 or Pi 5. **A Luckfox has no
hardware video decoder**, so it cannot usefully re-encode an H.264 or H.265 camera: it relays the
stream as the camera sends it, and setup offers only relay there
([Radxa or Luckfox on board](camera-compatibility.md#camera-compatibility--radxa-or-luckfox-on-board) below).

> **RTSP passthrough is not a good option over a WiFi link.** The radio
> link lives by stepping video bitrate down when conditions worsen, and a passthrough stream is
> whatever the camera decides to send - **some cameras ignore minimum-bitrate settings**, so the
> stream cannot be stepped down and the link drowns exactly when it can least afford to. Use
> passthrough on Ethernet / Starlink / ZeroTier links, where bandwidth is not the fight; on a
> WiFi kit prefer a camera Sokil re-encodes or fully controls, and verify on the bench that the
> bitrate really follows before flying it.

<a id="camera-compatibility--the-codec-you-watch"></a>

#### The codec you watch

Relay and re-encode differ in what comes out of the aircraft, not only in who controls the bitrate:

- **Relay.** Nothing is decoded. The camera's own RTP stream is passed through with its stream
  identifier, sequence numbers and timestamps intact, so an H.264 camera arrives as H.264 and an
  H.265 one as H.265. The stream's **Codec** (parameter `vtx_eye_codec`) has no effect at all in this mode.
- **Re-encode.** The host decodes the camera's stream and encodes a fresh one in the stream's **Codec** (parameter `vtx_eye_codec`), so
  an H.264 camera can be watched as H.265 and the other way round.

That is the setting to reach for when the picture reaches the ground but the pilot's computer cannot
decode it - [Troubleshooting](troubleshooting.md#troubleshooting) has the browser and desktop decoder
cases. In the current Rockchip pipeline, a downstream scaler can resize decoded RTSP frames
to the requested output size. Without that scaler, a size mismatch can block decoding. Check
Diagnostics and the camera's actual stream mode; older builds may require matching dimensions.
Setup's **Camera** step asks for the vendor, the address, one or two streams,
relay or re-encode, and this box's address on the camera's subnet, and writes all of that for you.

<a id="camera-compatibility--rtsp-in-not-rtsp-out"></a>

#### RTSP in, not RTSP out

Sokil pulls an RTSP stream in; no source here documents Sokil serving one. What it does produce is
plain RTP over UDP, which any RTP-capable player reads:

- **On the ground station**, up to three forward destinations besides the local one, in the
  **Streaming** fold of VRX settings > Receive > **Destinations** - the first row's **IP address** (parameter `vrx_stream_ip`) with its
  **Video port** (parameter `vrx_stream_video_port`) is the first, and it carries telemetry too; the other
  two are video only. A slot stops when its address is empty, and a port of `0` switches off just
  that copy.
- **On the camera**, a second copy of the same video to another box on the camera's own network -
  **Second output (onboard)** (parameter `vtx_eye_host2`) and **Second output port** (parameter `vtx_eye_port2`), which is 5800 by default, both
  expert-only rows on the stream's Pipeline tab. It is meant for an onboard
  computer-vision board or a recorder, it costs one extra datagram per packet, and the primary
  output is byte-for-byte unchanged whether it is set or not. It is **not** a second link: there is
  no error correction on it, so it is not a way to feed a second ground station.

So an extra parallel stream for terminal guidance is available in two shapes - a second RTP copy to
a board on the aircraft, or a genuine second camera with its own stream and link (above) - and what
consumes those frames is integration work Sokil does not do.

<a id="camera-compatibility--camera-control-brands"></a>

### Camera control brands

For three brands, Sokil Eye speaks the camera's own control protocol beside the RTSP stream, so
gimbal, zoom and camera functions ride the normal RC switches and OSD. Control requires an RTSP
source; all three protocols are **unauthenticated UDP** - anyone on the camera's subnet can
drive them, so keep that network to yourselves.

| Works today                                      | SIYI (A8, ZR10, ZR30, ZT6, ZT30) | Topotek (SIP series)               | Skydroid (C12, C13)                                        |
| ------------------------------------------------ | -------------------------------- | ---------------------------------- | ---------------------------------------------------------- |
| Absolute + smooth zoom                           | yes                              | yes                                | yes (stepped)                                              |
| Focus (smooth / tap-to-focus)                    | yes                              | partial (single-shot AF, no point) | no                                                         |
| Gimbal pointing (rate + absolute + center)       | yes                              | yes                                | no                                                         |
| Gimbal modes (lock / follow / fpv)               | all three                        | lock, follow (fpv runs as follow)  | no - the commands are sent but the modes do not engage (see below) |
| Photo / record to camera SD                      | yes                              | yes                                | no                                                         |
| Encoder from Sokil (bitrate / codec / res / fps) | yes                              | yes                                | **no - not wired in v1**; set it in the Skydroid app first |
| Thermal palette                                  | not yet (deferred)               | yes                                | yes                                                        |
| Day/night switch                                 | no                               | yes                                | no                                                         |
| Laser rangefinder                                | no (not wired)                   | no (not wired)                     | yes on C13 (C12 has none)                                  |
| AI tracking                                      | via the SIYI AI module only      | no                                 | no                                                         |

- **Skydroid lock/follow gimbal modes do not work.** The protocol
  documents them and core routes the commands, but on the real camera they do not engage - fly a
  Skydroid in its native follow behavior and do not plan on lock.
- The SIYI protocol does define thermal-palette commands, and the ZT6 / ZT30 are thermal
  models - but Sokil does not send them yet, so today a palette write under SIYI is accepted and
  does nothing. On those models,
  switch palettes from the camera side.
- A camera's **thermal or second lens as a second stream** works on every brand: a second Sokil
  Eye pulls the camera's second RTSP URL. Leave that second eye's **Camera vendor** on **None** -
  a camera answers one control channel at a time, so a second eye set to the same brand and IP
  either never gets a reply or overwrites the first one's resolution, bitrate and gimbal mode. The
  second eye's RTSP URL list names the first eye's camera streams for you, so the stream is picked
  rather than typed, and the station reports the wrong shape as a diagnostics error.
- A gimbal owned by the **flight controller** (MAVLink gimbal manager) is the fourth option -
  Sokil then sends pointing only; tracking and palettes do not apply.

Brands with no control protocol in core - ONVIF cameras, Hikvision, Dahua, ViewPro and everything
else - still work as **plain RTSP sources** with no gimbal/zoom control from Sokil.

Setup asks all of this on its Camera step: the brand, the camera's address, one or two streams (or a
Topotek picture-in-picture), relay or re-encode - and it puts the box on the camera's subnet for you,
beside the address you reach it on. The Streams card is where the same settings are changed later.

<a id="camera-compatibility--radxa-or-luckfox-on-board"></a>

### Radxa or Luckfox on board

Both boards put a USB or network camera's picture on the radio, and the choice between them comes
down to two things: what the board boots from, and whether it can re-encode the camera's stream.

|                       | [Radxa Zero 3](camera-radxa-vtx.md#camera-radxa-vtx)                                       | [Luckfox Pico Pro / Max](camera-wifi-luckfox.md#camera-wifi-luckfox)                              |
| --------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| Boots from            | a microSD card                                                                      | its own built-in flash - no SD card                                                     |
| Network camera (RTSP) | re-encoded: hardware H.264 and H.265 decoding, so Sokil sets the bitrate and zoom   | relayed untouched: no hardware video decoder, so the camera's own stream goes on air    |
| USB camera in MJPEG   | about 30 fps at 720p                                                                | decoded in software, about 20 fps at 720p                                               |
| USB sockets           | two - the radio and a camera, no hub                                                | one USB-C - the radio and a camera share a hub                                          |

**The SD card is the Radxa's weak part.** It is what fails first in a kit: power cuts and a
consumer card's wear, so fit the industrial or high-endurance card
[Supported hardware](supported-hardware.md#supported-hardware--memory-and-the-sd-card) names. A Luckfox has
no card; a broken install there is recovered by writing the
[whole image](camera-wifi-luckfox.md#camera-wifi-luckfox--flashing-the-firmware) over USB, which replaces
everything on the board.

**Re-encoding is the Radxa's strength.** A network camera on a Radxa is re-encoded, so the presets
step its bitrate down as the link worsens and Sokil's digital zoom works. On a Luckfox the same
camera is relayed: the stream is whatever the camera sends, which over a WiFi link is the risk the
note under [Network cameras](camera-compatibility.md#camera-compatibility--network-cameras-rtsp) describes.

<a id="camera-compatibility--if-it-is-none-of-the-above"></a>

### If it is none of the above

A capture source core has no driver for can still be flown through the `cmd` streamer - an
arbitrary pipeline command that hands frames to the link. That is an integrator's tool, not a
field setting; ask for it when a kit needs an unusual source.

<a id="camera-compatibility--related-guides"></a>

### Related guides

- [IPC camera with a thermal or USB camera](camera-ipc-usb.md#camera-ipc-usb) - USB wiring, power, switching pictures and simultaneous video.

- [WiFi camera on an IPC board](camera-wifi-ssc338q.md#camera-wifi-ssc338q) - the shipped IPC camera
- [Camera on the Luckfox](camera-wifi-luckfox.md#camera-wifi-luckfox)
- [Radxa VTX](camera-radxa-vtx.md#camera-radxa-vtx) - the external-source kit (thermal / CVBS)
- [Video quality in flight](video-quality.md#video-quality) - what the presets do to the picture
- [Microphones and audio](audio.md#audio) - which boards can take a microphone
