Module 4/10 · Weeks 6 · 14 h

Real-time video, recording and data management

UAT 454 UAS for Surveillance, Monitoring and Security

About 85 minDraft, awaiting reviewLast updated 2 October 2026

Lesson

By the end of this module you will be able to

  1. Compute bit rate, data volume and the latency budget of real-time video
  2. Explain the role of KLV metadata under MISB ST 0601
  3. Compute frame-centre coordinates from camera position, depression and azimuth, and assess the error
  4. Set up recording, naming, integrity checking and retention of data

Prerequisites: Module 3 Camera and sensor selection · UAT 207 Communication and Data Network Systems

Why this matters

An image showing a fire that does not reach the centre in time, or arrives with nobody knowing where it is, does not help put the fire out. A recording that cannot be found, or cannot be shown to be unaltered, is useless as evidence. This module covers the path of imagery from camera to archive.

Bit rate, bandwidth and latency

Video is compressed by an encoder such as H.264 or H.265. The bit rate needed depends on resolution, frame rate and scene complexity: a forest with moving leaves and smoke needs more bits than a clear sky. Edition 0601.8 (2014) of the MISB ST 0601 standard notes that UAS video with metadata is typically sent over medium-bandwidth wireless links of about 1–5 Mb/s (the standard has since been revised, so check the current edition).

Example 1 Can both cameras be sent?

The 1080p EO camera is encoded at 4 Mb/s and the thermal camera at 1.5 Mb/s; the video link carries 4 Mb/s; flights last 72 usable minutes.

# video bit rates (Mb/s): EO 1080p camera and thermal camera
eo, ir = 4.0, 1.5
flight_min = 72
link = 4.0                             # video link capacity (Mb/s)

total = eo + ir
gb = total * 1e6 * flight_min * 60 / 8 / 1e9
print(f"recording on board: {total} Mb/s x {flight_min} min = {gb:.2f} GB")
print(f"both streams fit the {link} Mb/s link? {total <= link}")

# latency budget (ms)
latency = {"encode": 100, "radio": 20, "relay to ops centre": 150, "decode + display": 80}
print("latency", sum(latency.values()), "ms")
recording on board: 5.5 Mb/s x 72 min = 2.97 GB
both streams fit the 4.0 Mb/s link? False
latency 350 ms

On-board recording totals 5.5 Mb/s, or 2.97 GB per flight, but the 4 Mb/s link cannot carry both streams at full quality. The team therefore sends the thermal stream at full quality and reduces the EO stream to 2 Mb/s for live viewing, while full-quality video is recorded on board for later review. The 350 ms total latency is acceptable for watching, but if the pilot used live video to avoid obstacles, much lower latency would be needed.

Four boxes in a row: Aircraft records 5.5 megabits per second, Ground station, Operations centre and Archive. The arrow from aircraft to ground station is labelled 120 milliseconds and 4 megabits per second; from ground station to centre, 150 milliseconds; below the centre, Display 80 milliseconds. The top reads total latency budget 350 milliseconds
Figure 1 Video and data path from aircraft to archive

The relay from ground station to centre in forest areas often depends on patchy mobile networks. Design so that losing live video does not fail the mission, for example by sending still images with coordinates at intervals when the signal is weak (principles from UAT 207).

KLV metadata

An image without coordinates is just a nice picture. Metadata says when the image was taken, from where, and where the camera was pointing. The MISB ST 0601 standard (UAS Datalink Local Set) defines how to encode this as KLV (key-length-value) in the same stream as the video, including time, aircraft position and height, camera heading and angles, field of view, slant range and frame-centre coordinates. The standard notes that synchronising metadata with each video frame is the system designer’s responsibility; if the times drift, the coordinates will be wrong even when every value is correct.

Locating the frame centre

On flat ground, the horizontal distance from the aircraft to the frame centre is , where is height above ground and the depression angle. Split it into north and east by the camera azimuth , then convert to degrees with the Earth radius .

Example 2 What are the fire’s coordinates?

Metadata show the aircraft at 18.90° N 98.80° E, 120 m above ground, with the camera depressed 21.8° and pointing at azimuth 45° (north-east). The fire is at the frame centre.

import math
# metadata from the KLV stream: camera position, height above ground, depression and azimuth
lat0, lon0, h = 18.90, 98.80, 120      # degrees, degrees, m
dep, az = 21.8, 45.0                   # degrees
R = 6_378_137.0                        # WGS 84 Earth radius (m)

d = h / math.tan(math.radians(dep))    # horizontal distance to the frame centre (flat ground)
dn, de = d * math.cos(math.radians(az)), d * math.sin(math.radians(az))
lat = lat0 + math.degrees(dn / R)
lon = lon0 + math.degrees(de / (R * math.cos(math.radians(lat0))))
print(f"ground distance {d:.1f} m, north {dn:.1f} m, east {de:.1f} m")
print(f"frame centre {lat:.6f}, {lon:.6f}")

for err in (-1, 1):                    # depression off by 1 degree
    d2 = h / math.tan(math.radians(dep + err))
    print(f"depression {err:+d} deg -> {d2:.1f} m ({d2 - d:+.1f} m)")
ground distance 300.0 m, north 212.1 m, east 212.1 m
frame centre 18.901906, 98.802014
depression -1 deg -> 315.9 m (+15.9 m)
depression +1 deg -> 285.5 m (-14.6 m)

The fire is 300 m away, 212.1 m north and 212.1 m east, at 18.901906, 98.802014. A depression error of just 1° shifts the distance by 15–16 m, still within the 50 m requirement from module 1. Looking 1,500 m away, the depression angle is much smaller and the same angular error grows several times, and on mountains where the ground is not flat a terrain elevation model is needed.

Side view: the drone is 120 metres high; a pink line reaches the ground at 300.0 metres, and two dashed purple lines reach 285.5 and 315.9 metres, showing the effect of a 21.8 degree depression plus or minus 1 degree
Figure 2 Locating the frame centre from camera depression

Recording and managing data

The team manages data from every flight as follows:

  • Use one naming pattern, such as 2026-03-14_S2_EO.mp4 (date, sortie, camera), with the flight log and metadata
  • Keep originals separate from working copies, and compute a SHA-256 hash of each original right after landing, to show later that files were not altered
  • Restrict access: zoomed EO imagery that may show people is opened only by staff with a duty to, with a record of who opened it and when
  • Set retention: imagery with no incident is deleted on schedule, while fire-incident imagery is kept as long as needed for reports and investigations. Thailand’s Personal Data Protection Act B.E. 2562 (2019) requires personal data to be kept only as necessary for its purpose (module 5)
  • Size the storage: about 3 GB per flight, 6 flights a day over a 60-day fire season comes to about 1 TB, with off-site backup too

Module lab

Lab: streaming, recording and locating

  1. Connect the camera on a drone or training rig to the ground station, and measure latency by filming a stopwatch and comparing with the screen
  2. Try three bit rates, watch image quality when the camera pans fast, and compute data volume with the code in Example 1
  3. Fly over a target with known GNSS coordinates; use the aircraft log and camera angles to compute its position with the code in Example 2, and measure the error
  4. Organise the data folder following this module, compute SHA-256 of the originals, and check again after copying

Common mistakes

Watch out

  • Adding up camera bit rates without comparing with link capacity, so all live video stutters
  • Sending video without metadata, leaving the centre to guess coordinates from the image
  • Metadata time not matching the video, so coordinates are off even with correct angles
  • Assuming flat ground on mountains, putting coordinates tens of metres out
  • Working on original files with no hash, so nobody can show they were not altered

Summary

  • Data volume ; total bit rate must not exceed link capacity, otherwise record full quality on board and send a reduced stream
  • MISB ST 0601 encodes KLV metadata in the same stream as the video, and its time must match the frames
  • Frame-centre coordinates come from and the camera azimuth; errors grow as depression shrinks
  • Manage data with standard file names, originals with SHA-256, restricted access and defined retention

Check your understanding

  1. A 3 Mb/s stream is recorded for 60 minutes. How many GB is that?
  2. At 100 m height with the camera depressed 45°, how far horizontally is the frame centre?
  3. From question 2, with the camera at azimuth 90°, in which direction is the frame centre and how far north or south?
  4. Why compute a SHA-256 hash of original files right after landing?
  5. What link bandwidth does MISB ST 0601 give for video with metadata?
Answers
  1. bytes, or 1.35 GB
  2. m
  3. East, with a north-south offset of m
  4. To show later that the files used in reports match the originals and were not altered
  5. Medium bandwidth of about 1–5 Mb/s

Key formulas

Recorded data volume
Horizontal distance to frame centre (flat ground)
Frame-centre coordinates

Key references

  1. Motion Imagery Standards Board. (2014). UAS datalink local set (MISB ST 0601.8). link
  2. Fahlstrom, P. G., Gleason, T. J., & Sadraey, M. H. (2022). Introduction to UAV systems (5th ed.). Wiley. link
  3. พระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562. ราชกิจจานุเบกษา, 136(69 ก), 52–95. link
  4. สำนักงานการบินพลเรือนแห่งประเทศไทย. (2568). แนวปฏิบัติในการขอปฏิบัติการบินอากาศยานซึ่งไม่มีนักบินโดยใช้การประเมินความเสี่ยงที่เป็นไปตามเงื่อนไขที่กำหนดสำหรับการบินเกินกว่าระยะสายตา (CAAT-GM-UAS-PDRA101 ปรับปรุงครั้งที่ 00). link

Further reading

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

Module quiz

This is a formative self-check, not a graded exam

Knowledge domain: Communications, networks and IoT · Law, safety and risk · Public safety and disasters · Inspection, industry and surveillance · Artificial intelligence and computer vision · Surveying, mapping and geoinformatics