STANAG Exporter  Version 1.10.2
Exporting klv packets as metadata decoded to JSON format.

File Target

To save KLV packets as json files you should run the utility with -k or –klvCaptureFormat flag adding jsonPckt option.

StExporterProc.exe -i C:\Movie\StanagFile.ts -o C:\Movie\frames -k jsonPckt

The above command will read a file "C:\Movie\StanagFile.ts" and save every KLV packet as a json file with the following naming convention - frame_[Frame number]_klv_[Packet Number]-[KLV Pid Number].json (for example frame_1_klv_1-0X1E2.json) where 1 is the corresponding frame / packet number and 0X1E2 is a KLV Pid.

If more than one KLV Pid present in the stream, the packets will be named accordingly.

You can enable video preview by adding -v flag.

MISB0601.X metadata will be decoded to the following format, where the entry numbers represent the MISB tags.

{
"1": "E231",
"2": 1355755344617000,
"3": "test",
"4": "AF-101",
"5": 159.974,
"6": -0.4315,
"7": 3.4059,
"8": 147,
"9": 159,
"10": "MQ1-B",
"11": "EO",
"12": "WGS-84",
"13": 60.176822967,
"14": 128.426759126,
"15": 14190.7,
"16": 144.571,
"17": 152.644,
"18": 160.719211437,
"19": -168.792324834,
"20": 176.865437649,
"21": 68590.98,
"22": 722.82,
"23": -10.542388591,
"24": 29.157890123,
"25": 3216,
"34": 1,
"35": 235.924,
"36": 69.8,
"37": 3725.19,
"38": 14818.7,
"39": 84,
"40": -79.163850052,
"41": 166.40081296,
"42": 18389,
"43": 6,
"44": 30,
"45": 425.319,
"46": 609.0718,
"47": 49,
"48": {
"1": 1,
"2": 1,
"3": "//IL",
"4": "Test flight",
"5": "Test",
"6": "IL CA",
"7": "country",
"12": 1,
"13": "IL",
"22": 5
},
"49": 1191.96,
"50": -8.67,
"51": -61.8879,
"52": -5.083,
"53": 2088.96,
"54": 8306.8,
"55": 50.6,
"56": 140,
"57": 3506979,
"58": 6420.54,
"59": "TOP GUN",
"60": 45016,
"61": 186,
"62": 50895,
"63": 5,
"64": 311.868,
"65": 10,
"67": -86.041207349,
"68": 0.155527555,
"69": 9.4,
"70": "APACHE",
"71": 32.602,
"72": 1358433744617000,
"74": {
"3": "VMTI Test",
"4": 3,
"5": 1,
"6": 1,
"8": 720,
"9": 480,
"10": "EO Nose",
"101": [
{
"id": 27,
"vTargetPack": {
"1": 74985,
"2": 71380,
"3": 78590,
"4": 12,
"5": 50,
"6": 0,
"8": "#FF0000",
"9": 100,
"10": -19.2,
"11": -19.2,
"12": 119.98,
"13": 0.0400005355,
"14": 0.0400005355,
"15": 0.0400005355,
"16": 0.0400005355,
"104": {
"1": 0,
"8": 6,
"10": [
1.99,
4.0,
6.0
],
"11": [
0.21,
0.4,
0.59
],
"9": [
[
40.83715828,
-104.97543808,
0.0
],
[
40.83764531,
-104.97410771,
0.6
],
[
40.83826217,
-104.97307774,
99.9
],
[
40.83917127,
-104.97307774,
99.9
],
[
40.84014529,
-104.97406479,
99.9
],
[
40.84053488,
-104.97445111,
-900.0
]
]
}
}
}
]
},
"75": 14190.7,
"76": 9.4,
"77": 4,
"78": 9.4,
"79": -2.99,
"80": -2.99,
"81": {
"EndLat": 4.921875002,
"EndLon": 11.250000005,
"EndX1": 3,
"EndY1": 4,
"StartLat": 3.515625002,
"StartLon": 8.437500004,
"StartX0": 1,
"StartY0": 2
},
"82": -10.579638020405378,
"83": 29.12736775778577,
"84": -10.56618162922849,
"85": 29.140824148962658,
"86": -10.552727543074976,
"87": 29.15427827702569,
"88": -10.53927115189809,
"89": 29.167734668202574,
"90": -0.4315251020861441,
"91": 3.4058139815022304,
"92": -8.670176984123037,
"93": -8.670177026032553
}

MISB substandards will be added an nested elements, for example, MISB 0102 (Security Metadata Set) or MISB0903 (VMTI) as shown above.

In order to capture Klv packets from UDP network stream, specify the url as input.

StExporterProc.exe -i udp://227.1.1.1:30120 -o C:\Movie\frames -k jsonPckt

UDP Target

It is possible to set a UDP target instead of saving packets to the disk.

StExporterProc.exe -i udp://227.1.1.1:30120 -o udp://127.0.0.1:1234 -k jsonPckt

Please note that all the Klv Pids will be sent to the same destination.

Untitled 1




 Copyright 2023,    IMPLEOTV SYSTEMS LTD