Tsduck Manual [upd]

The toolkit consists of several specialized utilities, but a few stand out as daily drivers for most engineers: (The Transport Stream Processor):

tsp -I file my_stream.ts -P pids

Because TSDuck is modular, you can use it for a wide variety of tasks: Using TSDuck to Monitor IP(TS) Streams - ProHoster tsduck manual

The true power lies in the plugins. These are the processing units that sit between the input and output. There are over 150 plugins, but this TSDuck manual highlights the most essential ones. The toolkit consists of several specialized utilities, but

tsp -I file input.ts -P remap --pid 0x200->0x300 --pid 0x201->0x301 -O file remapped.ts 0x300 --pid 0x201-&gt

Provides a comprehensive report on the transport stream, including bitrates, services, and PID distribution.