> **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="video-quality"></a>

# Video quality in flight

**Summary:** The preset ladder between crisp and unbreakable, the camera settings that are yours, and what each change does to a picture you are flying on.

**Audience:** pilots

Open in the UI: http://10.1.1.30/help/guides/video-quality

Two things decide what you see on the screen: the **preset** the link is flying, and the
**camera's own picture settings**. Both are yours in flight. This page is what each change does
while you are airborne.

<a id="video-quality--the-preset-ladder"></a>

### The preset ladder

Open [VTX settings](http://10.1.1.30/cam/vtx-settings) > Presets. In pilot mode this is a ladder of up to six
slots in switch order, with the live one lit - and it answers the only question that matters
mid-flight: _what do I get if I click up or down?_

Each slot shows its resolution, frame rate and bitrate. Read those values before switching:
the ladder depends on the camera, link width and setup choice, and a step can change frame rate
or resolution as well as bitrate and protection. Older or manually configured kits can differ.

- **Bitrate** - more allows a clearer picture but needs more link capacity.
- **Error correction** - more protection helps recover lost packets but uses capacity too.
- **Resolution and frame rate** - lower rungs may reduce either to keep a usable picture at a low bitrate.

At the edge of range or under interference, choose a more resilient rung. Close in on a clean
link, a higher rung can improve detail or frame rate.
The link tuning underneath is set per slot by the admin and does not appear in pilot mode; the
numbers you see are the ones that change what you experience.

An admin sets each rung with three controls rather than by picking a line out of a list: **Mode**
(the modulation, named by what it reaches on this link), **Protection** (how much of the link goes
on parity) and **Bitrate** (a list of positions 256 kbps apart - 128 on a 10 MHz link, 64 on 5 MHz - that stops where the link's own capacity
does). All three are priced at the channel width the link is running on, which a line at the top of
the tab names. A 10 MHz link carries half of what 20 MHz does, so the rungs come down with the
width, and the ladder follows the width by itself: changing **Channel width** on the camera's WiFi
card asks first and shows each preset's bitrate before and after, and a camera on current software
fits its presets itself when a bind brings it a new width. Presets that are one of the setup wizard's
answers become the same answer's ladder for the new width; any other ladder is fitted, never below 256 kbps. A new picture picked for a rung moves
its bitrate the same way. The tab also flags a rung that asks more than the link carries, a rung
set by hand so close to that limit that little margin is left for range, a rung no usable bitrate fits
at its Mode, Protection and frame rate, light Protection on a fast Mode (video may be lost at range - choose a stronger Protection; the Protection list marks
such a ratio), a Protection that carries no
more than a heavier one, a picture too heavy for its bitrate, and a 4K picture with too little room for its keyframes on that Mode and channel width, each with a **Fix** where there is one and a
**Fix all**; a fix is an unsaved change you save. A preset that is exactly a combination the radio bench
measured broken is shown first, in a red **Broke on the bench** box with the measured figure and the bench run, and
every list on the preset marks in red each choice that would make it one - still pickable, never hidden.
[Range, bitrate and error correction](range-and-bitrate.md#range-and-bitrate) has the whole ladder with its
numbers.

Two ways to move: the **preset switch** on the handset
([RC switches in flight](rc-in-flight.md#rc-in-flight)) - the card then follows the switch and the
slots are read-only - or, when no switch owns presets, the slots themselves are buttons and a
tap activates one.

**Adaptive mode** may be enabled on some slots (the card marks them and says so): there the camera
steps its bitrate down automatically as the link worsens and back up as it clears, from what the
ground station reports back to it. A preset switch briefly holds the selected starting bitrate
before adaptation resumes; capacity limits and link protection remain active throughout.
What you notice is the picture softening by itself at the edge of range - that is the automation
working, not a fault.
[Adaptive Link](adaptive-link.md#adaptive-link) is the whole story.

<a id="video-quality--the-camera-picture"></a>

### The camera picture

The **Streamers** tab of the same page carries the camera's Image card in pilot mode:

- **Zoom level** - unless the zoom switch is bound, in which case the row says so and the
  handset owns zoom (it keeps rewriting the value; a typed one would not survive).
- **Brightness, contrast, saturation, hue, sharpness, gamma** - adjust the sliders, then press **Apply changes**. These change what the camera encodes, so everyone watching the stream
  sees the change, and it costs nothing on the link.

Framing settings - resolution, frame rate, field of view - are the admin's, set on the ground:
they re-negotiate the camera pipeline and are not a mid-flight adjustment.

<a id="video-quality--a-sharper-center-roi"></a>

### A sharper center (ROI)

On a weak link every bit counts, and most of them are best spent where the aircraft is heading.
**Center-weighted quality** gives the middle of the frame more of the bitrate and lets the edges
soften: the target you are flying at stays readable, and the bitrate stays what the preset set.
It is off by default, it is an admin setting, and the pilot only sees its effect.

Where it is: [VTX settings](http://10.1.1.30/cam/vtx-settings) > **Streamers** > **Streams** > the Sokil Eye of
the video slot > **Codec** tab, at the bottom: the **ROI (center-weighted quality)** switch (parameter `vtx_eye_roi_enabled`).
Switched on, it shows three rows:

| Row                                                     | Default | What it does                                                                                           |
| ------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------ |
| **Center QP offset (−30..30)** (parameter `vtx_eye_roi_qp`)    | `-15`   | how much sharper the center is. Negative means more detail in the center; `0` switches ROI off again    |
| **Band count (1..4)** (parameter `vtx_eye_roi_steps`)          | `2`     | how many steps the quality takes from the edges in to the center - more is a smoother fade             |
| **Center width (% 10..90)** (parameter `vtx_eye_roi_center`)   | `25`    | the width of the sharpest band, as a share of the frame width. The bands always run the full height    |

The shipped values give a clearly sharper center 25% of the frame at almost no bitrate cost. A bigger
negative offset, around `-25`, makes the difference dramatic, and the edges visibly soften.

- **Turn it on** for flying at a target on a link that runs short of bitrate - the lower rungs of
  the ladder, the edge of range. With bitrate to spare the encoder already draws the whole frame
  at its best, and ROI changes nothing you can see.
- **Leave it off** when the edges matter as much as the center: a wide survey view, or someone
  watching the whole frame rather than a target.
- **Set it on the ground.** Switching it on or off can restart the encoder for a moment; the three
  rows change live.

The recording has its own copy of the same section, for a camera that records with a separate
encoder: **Recording** tab > **Separate recording encoder** > **ROI (center-weighted
quality)** (parameters `vtx_eye_record_roi_enabled`, `vtx_eye_record_roi_qp`, `vtx_eye_record_roi_steps`, `vtx_eye_record_roi_center`).
It is off by default so the archive keeps an even quality over the whole frame. Without a
separate recording encoder the file is the stream itself, so it carries the stream's ROI. ROI is part of the Sokil Eye streamer and has no effect when the
camera's own stream is passed through untouched (RTSP passthrough), because nothing is re-encoded.

<a id="video-quality--where-the-delay-comes-from"></a>

### Where the delay comes from

What you see is always a little behind what the camera sees. The delay adds up along the way, and
only part of it is the camera's:

| Stage | What it adds |
| --- | --- |
| The camera: capture, encode, hand to the link | about 10 ms on the shipped SSC338Q camera, about 20 ms on a Luckfox (RV1106) at 1080p and about 7 ms at 720p, about 20 ms on a Radxa with a USB capture - measured on the bench |
| The radio link | a few milliseconds on a clean link |
| An internet link | Starlink adds about 60-100 ms on each side of the link; 4G more |
| Decoding and the screen | the largest share on a laptop - see the measured whole path below. A screen at 120 Hz or more shows each frame sooner than one at 60 Hz; a computer that is not recommended adds more, old hardware that is barely supported more still |

**Measured end to end.** On an ASUS Zenbook 14 OLED, a recommended laptop, with its screen at
60 Hz, a millisecond timer filmed by the shipped camera (SSC338Q) showed up in the fly view
**about 80-100 ms** later on average, with H.265 - over Ethernet and over the radio link, with Sokil Eye
and with Majestic, from 480p to 1080p at 60 and 90 fps. The link made no difference the test could
see; the laptop's share is the largest. A screen that can run at 120 Hz or more takes part of that
off, but only when the display settings run it at its highest rate - check, since a fast panel can
be left at 60 Hz.

How much the screen takes off was measured with the glass-to-glass timer on another laptop, the
shipped camera filming its screen over Ethernet, H.265 at 1080p and 60 fps: **about 75 ms** from lens
to screen with the screen at **120 Hz**, and **about 120 ms** with the same screen at **60 Hz** - the
same video, with the refresh rate switched back and forth. **On that tested laptop, 120 Hz showed the
picture about 50 ms sooner** than 60 Hz. The gain depends on the display and its rendering path. With H.264 at 720p and 90 fps on the
same laptop the picture reaches the screen in about **65 ms** at 120 Hz and about **120 ms** at
60 Hz - as quick as H.265, but H.265 gives the better picture at the same bitrate (see **The
codec** below).

**Measure it on your own screen.** You can repeat this test in the fly view: **Glass-to-glass
timer** in the toolbar's **More tools** menu (the three dots) shows a timer for the camera to film, reads the delay out of the video
itself, and shows how much of it comes before this browser and how much inside it.

Setup chooses the camera's keyframe budget for the link and picture-quality answer. Keep that
choice unless you are tuning the kit on the ground; [Range, bitrate and error correction](range-and-bitrate.md#range-and-bitrate--the-wizard-s-ladders-and-the-keyframe-budget-per-link)
explains the trade between delay and keyframe detail.

What that leaves in your hands:

- **The computer you fly from.** The last row of the table is the one you choose, and its
  screen's refresh rate with it.
  [Supported hardware](supported-hardware.md#supported-hardware) names the laptops that decode fast and the
  families that do not.
- **The source.** A USB camera that sends MJPEG costs far more than a camera on the board's own
  sensor connector - about 80 to 110 ms measured on the RV1106 - and an analog picture through a USB
  capture adds about 30 ms.
- **The link.** A satellite or cellular link sets the floor, whatever the camera does.
- **The codec.** Fly H.265 wherever the camera offers it: at the same bitrate it gives a better
  picture than H.264. The stream's **Codec** (parameter `vtx_eye_codec`) is on the same **Codec** tab
  ([VTX settings](http://10.1.1.30/cam/vtx-settings) > **Streamers** > **Streams** > the Sokil Eye of the video
  slot), an admin setting.

Two readouts, and what each one measures. The camera's own figure is on its
[Status](http://10.1.1.30/cam/status) page: the Video stream's **Sokil Eye** card shows **Latency** as minimum,
average and maximum, from capture to the last packet handed to the link, and the average turns red
above 100 ms. The fly view's **Video latency** cell is something else - how long ago this browser
drew its last frame - so it stays low even when the screen runs seconds behind. For that case, see
[the video is smooth but everything on screen is seconds behind](troubleshooting-video.md#troubleshooting-video--the-video-is-smooth-but-everything-on-screen-is-seconds-behind-the-aircraft).
The whole path from the camera to your eyes is measured only by the glass-to-glass timer above.

<a id="video-quality--day-night-and-who-owns-the-change"></a>

### Day, night, and who owns the change

The shipped camera switches itself between day and night mode and drops to grayscale in the
dark - that is automatic and needs nothing from you. The thresholds, the IR-cut filter and the
night exposure tuning are admin and expert settings: if night flights come back too dark or the
camera flaps between modes at dusk, that is a report for whoever services the kit, not a knob on
your side. With adaptive night mode enabled, the camera raises gain first and can then extend exposure,
trading frame rate and motion clarity for brightness. The admin sets the maximum adaptive level;
fixed night-gain limits apply when adaptation is off.

<a id="video-quality--what-a-change-costs-mid-flight"></a>

### What a change costs mid-flight

| Change                | Effect                                                                                       |
| --------------------- | -------------------------------------------------------------------------------------------- |
| Preset step           | takes effect within a moment; the picture quality and link margin move together              |
| Zoom                  | instant; digital zoom trades pixels for reach, optical zoom (RTSP gimbal cameras) is free    |
| Image sliders         | applied on Apply changes, no link cost                                                                        |
| Transmit power switch | more margin at the cost of battery and signature - and overridden while adaptive power is on |
| Channel hop           | a few seconds of gap per click - see [RC switches in flight](rc-in-flight.md#rc-in-flight)      |

If the camera is also sending sound, it rides the same budget - about 32 kbps at the default
preset, which matters at the bottom of the ladder and not at the top. See
[Microphones and audio](audio.md#audio).

<a id="video-quality--related-guides"></a>

### Related guides

- [RC switches in flight](rc-in-flight.md#rc-in-flight) - the preset, zoom and power switches
- [OSD settings](osd-settings.md#osd-settings) - reading link margin off the overlay
- [Camera compatibility](camera-compatibility.md#camera-compatibility) - what zoom and control your camera
  brand actually has
- [Status and diagnostics](status-and-diagnostics.md#status-and-diagnostics) - when the picture problem is
  not quality but delivery
- [Adaptive Link](adaptive-link.md#adaptive-link) - what the automation moves, and why the preset
  numbers are only a starting point
