TSDuck

An open source toolkit for MPEG transport streams. TSDuck provides a rich set of command-line utilities and a C++ library for analyzing, editing, generating, and broadcasting MPEG TS streams.

Link