STANAG Exporter  Version 1.10.2
Exporting klv packets as one JSON file with decoded packets as json array.

To save KLV packets as one json file containing packets array you should run the utility with -k or –klvCaptureFormat flag adding jsonFile option.

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

The above command will read a file "C:\Movie\StanagFile.ts" and save every KLV packet as a json entry in array of packets with the following naming convention - klvs_[KLV Pid Number].json (for example klvs_0X1E2.json) where 0X1E2 is a KLV Pid.

If more than one KLV Pid present in the stream, there will be a corresponding number of files.

When exporting to json file, In addition to the decoded packets, their numbers along with a corresponding frame number and decoded Klv time will be added:

[
{
"pcktNumber": 2,
"frameNumber": 2,
"time": "2010-09-02T04:06:31.641Z",
"klvs": {
"2": 1283400391640954,
"65": 3,
"3": "test",
"10": "15HD BN-2T",
"5": 231.211,
"6": 7.242,
"7": 0.6088,
"11": "EOW",
"12": "Geodetic WGS84",
"13": -31.04293237,
"14": 150.492976033,
"15": 2644.6,
"16": 40.513,
"17": 22.789,
"18": 359.835937656,
"19": -23.893463166,
"20": 0.535369842,
"21": 2934.21,
"22": 2074.62,
"23": -31.058257716,
"24": 150.471234718,
"25": 1456.7,
"26": -0.016093,
"27": 0.000314,
"28": 0.003413,
"29": -0.018272,
"30": 0.010071,
"31": 0.004058,
"32": 0.001458,
"33": 0.012266,
"40": -31.058257716,
"41": 150.471234718,
"42": 1456.7,
"56": 47,
"57": 2683.0,
"1": -4601
}
},
...
]

You can enable video preview by adding -v flag.

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 jsonFile

Untitled 1




 Copyright 2023,    IMPLEOTV SYSTEMS LTD