JSON Array Export
Use jsonFile to export one JSON file per KLV PID, with all decoded packets stored in a single array.
File Output
StExporterProc.exe -i C:\Movie\StanagFile.ts -o C:\Movie\frames -k jsonFile
Generated files use this naming convention:
klvs_[KLV PID].json
Example:
klvs_0X1E2.json
If multiple KLV PIDs are present, one file is created for each PID.
Each array entry includes the packet number, the corresponding frame number, the decoded KLV time, and the decoded packet content.
Example excerpt:
[
{
"pcktNumber": 2,
"frameNumber": 2,
"time": "2010-09-02T04:06:31.641Z",
"klvs": {
"3": "test",
"10": "15HD BN-2T",
"13": -31.04293237,
"14": 150.492976033
}
}
]
You can enable video preview by adding -v.
UDP Input
The input can also be a UDP source:
StExporterProc.exe -i udp://227.1.1.1:30120 -o C:\Movie\frames -k jsonFile