STANAG 4609 KLV Inspector  Version 1.0.46
Klv Inspector.

Introduction

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.


KlvInspectorMain.png
Figure 1. KlvInspector Application.


Supported formats:

Main features:

Main menu

MenuExp.jpg
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.

Report.jpg
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.

Goto.jpg
Figure 4. Packet navigation.

Metadata packets export

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

ExportDlg.jpg
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,.

csvExcel.JPG
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:

csvSecurity.JPG
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:

csvImageHorizon.jpg
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.

KlvComposer.jpg
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).

VMTI.png
Figure 10. VMTI Editor tool.


Another example (with VMTI Target Tracker)

EncodedVmtiData.jpg
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.

MenuRec.jpg
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.

MenuSend.jpg
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.

SendPackets.jpg
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:

ComSettings.png
Figure 14. Serial interface configuration.

Ethernet settings can be found under Options menu:

LanSettings.png
Figure 15. Ethernet interface configuration.

CoT settings can be found under Options menu:

CoTSettings.png
Figure 16. CoT configuration.

Bitrate chart for file

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

KlvStreamerPlotM.jpg
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.

PcrDiscontinuity.jpg
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.

VideoWindowCtrl.jpg
Figure 19. Video Window button.


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

VideoWindow.jpg
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.

MapWindowCtrl.png
Figure 21. Map Window button.


Map Window tool allows Geo referenced metadata presentation.

MapWindow.jpg
Figure 22. Map Window.


Note
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 .

MobileAtlas.png
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.

OfflineMapConfig.png
Figure 24. Offline Map Folder Configuration

JSON View

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

jsonViewSelect.png
Figure 25. Opening JSON View.

There are two modes:

JsonViewBrief.png
Figure 26. JSON View.
JsonViewDetailed.png
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

Activation.

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

Preferences

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