Use this library to decode MPEGTS (including DVB) transport streams - tested with various streams, from Multicast and File sources, with single- and multi-program streams.
Assuming you have some data from a source as a byte array (e.g. from a UDP packet or from a file), just add them to the decoder!
_tsDecoder.AddData(byteArrayData);
Once you start feeding in packets, the class will start to populate with data - allowing you to explore the Program Allocation Table, Service Descriptors, or even start grabbing the data from an individual elementary stream.
See all of this in action inside the Cinegy TS Analyser tool here: [GitHub] [https://github.com/cinegy/tsanalyser]
Just to make your life easier, we auto-build this using AppVeyor and push to NuGet - here is how we are doing right now:
You can check out the latest compiled binary from the master or pre-master code here:
AppVeyor TsDecoder Project Builder
Available on NuGet here: