Skip to main content

JSON Packet Export

Use jsonPckt to export one decoded JSON file for each KLV packet.

File Output

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

Generated files use this naming convention:

frame_[frame number]_klv_[packet number]-[KLV PID].json

Example:

frame_1_klv_1-0X1E2.json

If more than one KLV PID is present in the stream, the PID value is included in each filename.

You can enable video preview by adding -v.

JSON Structure

MISB 0601 metadata is exported as decoded JSON where the entry numbers correspond to MISB tags. Nested standards such as MISB 0102 security metadata and MISB 0903 VMTI are preserved as nested objects.

Example excerpt:

{
"2": 1355755344617000,
"3": "test",
"10": "MQ1-B",
"13": 60.176822967,
"14": 128.426759126,
"15": 14190.7,
"48": {
"1": 1,
"3": "//IL",
"4": "Test flight"
},
"74": {
"3": "VMTI Test",
"101": [
{
"id": 27
}
]
}
}

UDP Output

Instead of writing files, you can send decoded JSON packets to a UDP destination.

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

Packets from all KLV PIDs are sent to the same UDP destination.