STANAG 4609 KLV Inspector  Version 1.0.46
Klv Inspector.


KlvInspector is a software appllication for deep analysis of STANAG 4609 or binary telemetry files / streams. It is an essential tool for UAV video applications development, integration and testing. KlvInspector provides in-depth insight into the KLV metadata - comprehensive and visual representation of the encoded KLV data, packet structure, binary/ASCII data preview and search functionality. It decodes a UAS Datalink Local Metadata Set (MISB 0601.4) metadata and allows an easy navigation inside the KLV packet, statistic report generation, metadata extraction and export (bin, csv, xml), KLV packets generation, optional conversion to CoT (Cursor on Target) and RS232 / LAN (UDP) recording/streaming.

Figure 1. KlvInspector Application.

Supported formats:

Main features:

Main menu

Figure 2. Main menu.

Getting Started with Klv Inspector

Generating report

KlvInspector performs STANAG file analysis and generates reports, as shown below. Report provides detailed information on Transport, Video and Metadata found in the stream.

Figure 3. Report example.

Navigating through the packets

You can use the 'Next' and 'Previous' buttons to navigate through the packets. It is also possible to select a specific packet number to get a detailed view of its content. Or just press the GoTo button to jump directly to the packet by the Klv time stamp.

Figure 4. Packet navigation.

Metadata packets export

KlvInspector can export KLV encoded MISB 0601.X packets to binary files.

Figure 5. Metadata export tool.

You can select desirable range by specifying packet start/stop position, file byte offsets or time found in the KLV telemetry. It is possible to export metadata in binary, csv or xml format by selecting a corresponding type of the file.

Metadata export - Binary format.

If Binary format is selected, the resulting file will contain packet (or multiple packets without any delimiter) in MISB 0601.X form.

Metadata export - CSV format.

If CSV format is selected, the resulting file will contain packet (or multiple packets) in ASCII form. First line of the file will contain text description of the MISB 0601.5 data - Tag number, followed by the description. For example: 1. Checksum,2. UNIX Time Stamp,3. Mission ID,4. Platform Tail Number,.

Figure 6. CSV file example (Excel).

Security Metadata Set in CSV file.

Security Metadata Set will be exported in a text form in the corresponding column (48). The following format is used:

Figure 7. Security Metadata Set CSV example (Excel).

For more information on Security Metadata Set please see MISB 0102.X documentation.

Image Horizon Pixel Pack in CSV file.

Image Horizon Pixel Pack will be exported in a text form in the corresponding column (81). The following format is used:

Figure 8. Image Horizon Pixel Pack CSV example (Excel).

RVT (Tag 73) and VMTI (Tag 74) in CSV file.

RVT Local Data Set (Tag 73) and VMTI Local Data Set (Tag 74) will be exported as a Base64 encoded string in the corresponding columns (73 and 74).

KLV Composer

KlvInspector allows manual KLV packet creation. You can create a packet from scratch by adding individual items (including nested protocols, like MISB 102 Security Metadata Set) or edit an existing one.

Figure 9. Klv Composer tool.

KlvInspector includes VMTI editor that allows MISB 0903.3 packet creation and editing (including Local Data Set and multiple Target Packs).

Figure 10. VMTI Editor tool.

Another example (with VMTI Target Tracker)

Figure 10a. VMTI Editor tool. Tracker

It is possible to load / save a RAW VMTI packet, without MISB0601 wrapper.

You can clone the packet, specifying a time interval between the successive packets and their number. Upon cloning completion, the resulting file is automatically ingested into the system.

Recording KLV data sent over RS232 or Ethernet

KlvInspector allows recording of KLV packets sent over RS232 or Ethernet. The receiver can process the SMPTE 336M-2007 compliant data. In case of the serial interface, a 16-byte universal Key ( 0x06,0x0E,0x2B,0x34,0x02,0x0B,0x01,0x01,0x0E,0x01,0x03,0x01,0x01,0x00,0x00,0x00 ) is used to separate successive KLV packets. As for Ethernet, the Klv packet must be sent as UDP packet with SMPTE 336M-2007 compliant payload. To start recording, press the corresponding button (or select the recording option from the menu). To stop recording, press it once again.

Figure 11. Recording control.

During the recording, packets may be previewed by opening a live preview window. Upon recording completion, the file is automatically ingested into the system.

Sending KLV data over RS232 or Ethernet

KlvInspector allows KLV packets re-broadcasting over RS232 or Ethernet.

Figure 12. Streaming control.

You can select a relevant part of the file by specifying a packet range, file offset or time period. The packet broadcasting frequency can also be controlled. You can either preserve a timing information of the file (if available) or set the desired interval between the packets.

Figure 13. Streaming tool.

KLV packet maybe transcoded into CoT (Cursor on Target) message, according to MISB EG 0805 standard and sent over Ethernet. For more info on this please see Cursor on Target

RS232 COM settings can be found under Options menu:

Figure 14. Serial interface configuration.

Ethernet settings can be found under Options menu:

Figure 15. Ethernet interface configuration.

CoT settings can be found under Options menu:

Figure 16. CoT configuration.

Bitrate chart for file

You can show a bitrate chart of file STANAG (TS) file, as shown below:

Figure 17. Bitrate Plotter.

Press the "Plot Bitrate" button to show the playlist chart or select and right click an individual file.

PCR discontinuity monitoring.

There maybe some TS stream errors that could affect correct bitrate calculation. For example, PCR discontinuity indicator error, when the difference between two consecutive PCR values is outside the range or become negative.

Figure 18. PCR discontinuity monitoring.

If the difference between two consecutive PCR values is negative, it is marked as Red circle on the graph.

STANAG File Video Preview

You can navigate through the STANAG file using Video Window. Press Video Window button to open it.

Figure 19. Video Window button.

Video Window tool allows random access with the slider. Corresponding Telemetry packet will be presented in a main window.

Figure 20. Video Window.

Situational awareness - presentation on a map

If relevant information is available in a current Klv Metadata Packet, it is possible to observe a platform position, sensor footprint, etc in a Map Window. Press Map Window button to open it.

Figure 21. Map Window button.

Map Window tool allows Geo referenced metadata presentation.

Figure 22. Map Window.

Your computer must have internet access in order to download the map.

Using offline Map tiles

It is possible to use a Map in offline mode by pointing the KlvInspector to the map tiles. There are many ways to create them (free and paid). One of the easiest would be to use a Mobile Atlas Creator .

Figure 23. Using Mobile Atlas Creator

Select the area and required zoom levels you need and save Atlas as OSMdroid ZIP. This will create a zip folder of the image tiles you need in the format: {atlas_name}/{z}/{x}/{y}.png Extract this folder of map tiles somewhere. Create a folder ("C:\Program Files (x86)\ImpleoTV\KlvInspector\MapControl\MapTiles") and copy the files or just change a path of the Inspector to point to local files.

Figure 24. Offline Map Folder Configuration


You can inspect Klv packets in a JSON mode, by opening a special JSON view window.

Figure 25. Opening JSON View.

There are two modes:

Figure 26. JSON View.
Figure 27. JSON Detailed View.

You can open multiple windows. The current packet shown in the main KlvInpsector window will be mirrored in Json View windows. Packet can be saved to disk or loaded directly into the Json View window.

KLV encoded metadata in MPEG Transport streams.

For more details on STANAG 4609 / TS stream and KLV metadata please see STANAG 4609 and KLV metadata in TS


Klv Inspector Demo is a fully-featured version of the application but has a limitation on the keys that can be decoded and presented. In order to lift this time restriction, the software must be activated with the valid license. For more info please see Activating an application


Glossary of Acronyms

EG - Engineering Guideline
CBR - Constant Bitrate
VBR - Variable Bitrate
FPS - Frames per Second
KLV - Key-Length-Value
TS - Transport Stream
MI - Motion Imagery
SI - Situational Awareness
MISP - Motion Imagery Standards Profile
RP - Recommended Practice
SMPTE - Society of Motion Picture and Television Engineers
UTC - Coordinated Universal Time
XML - Extensible Markup Language

Untitled 1

 Copyright 2015,    IMPLEOTV SYSTEMS LTD