tsduck

MPEG Transport Stream Toolkit for analyzing and manipulating TS files

brewmacoslinux
Try with needOr install directly
Source

About

MPEG Transport Stream Toolkit

Commands

tsptsanalyzetsbenchtscmptsdatetsdumptsecmgtsfeedtsfilestsfmttshextsjointsmergetspsitsrenametsscantssplittsswitchtstabcomptstabdumptstableststesttstodtstop

Examples

Analyze a transport stream file and display program information$ tsdump --file input.ts --packets 100
Extract specific program from a transport stream$ tsp --input input.ts --output output.ts --plugin pcrextract --pid 0x100
Display PSI/SI tables from a transport stream$ tspsi --file input.ts