STANAG 4609 KLV Inspector
Version 1.0.55
|
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.X) 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.
KlvInspector performs STANAG file analysis and generates reports, as shown below. Report provides detailed information on Transport, Video and Metadata found in the stream.
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.
KlvInspector can export KLV encoded MISB 0601.X packets to binary files.
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.
If Binary format is selected, the resulting file will contain packet (or multiple packets without any delimiter) in MISB 0601.X form.
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,
.
Security Metadata Set will be exported in a text form in the corresponding column (48). The following format is used:
For more information on Security Metadata Set please see MISB 0102.X documentation.
Image Horizon Pixel Pack will be exported in a text form in the corresponding column (81). The following format is used:
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).
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.
KlvInspector includes VMTI editor that allows MISB 0903.3 packet creation and editing (including Local Data Set and multiple Target Packs).
Another example (with VMTI Target 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.
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.
During the recording, packets may be previewed by opening a live preview window. Upon recording completion, the file is automatically ingested into the system.
KlvInspector allows KLV packets re-broadcasting over RS232 or Ethernet.
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.
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:
Ethernet settings can be found under Options menu:
CoT settings can be found under Options menu:
You can show a bitrate chart of file STANAG (TS) file, as shown below:
Press the "Plot Bitrate" button to show the playlist chart or select and right click an individual file.
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.
If the difference between two consecutive PCR values is negative, it is marked as Red circle on the graph.
You can navigate through the STANAG file using Video Window. Press Video Window button to open it.
Video Window tool allows random access with the slider. Corresponding Telemetry packet will be presented in a main window.
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.
Map Window tool allows Geo referenced metadata presentation.
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 .
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.
You can inspect Klv packets in a JSON mode, by opening a special JSON view window.
There are two modes:
You can open multiple windows.
A 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.
You can export a current Klv packet as GeoJson and easily consume it with any map software. The resulting file will contain a Mission / Platform descriptive information (if present) as well as Geo referenced Sensor, Footprint, Frame Center and Target info.
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
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