MPEG-2 Transport Stream is a very wide spread format for transporting media.
This repo provides some tools to facilitate analysis and extraction of data from MPEG-2 TS streams.
mp2ts-info
is a tool that parses a TS file, or a stream on stdin, and prints
information about the video streams in JSON format.
mp2ts-pslister
is a tool that shows information about SPS, PPS (and VPS for HEVC) in a TS file.
mp2ts-nallister
is a tool that shows information about PTS/DTS, PicTiming SEI, and NAL units.
You can download and install any tool directly using
> go install github.com/Eyevinn/mp2ts-tools/cmd/mp2ts-info@latest
If you have the source code you should be able to run a tool like
> cd cmd/mp2ts-info
> go mod tidy
> go run . h
Alternatively, you can use the Makefile to build the tools or make a coverage check. The Makefile will set the version depending on the Git commit used.
This project aims to follow Semantic Versioning and Conventional Commits. There is a manual ChangeLog.
MIT, see LICENSE.
Join our community on Slack where you can post any questions regarding any of our open source projects. Eyevinn's consulting business can also offer you:
- Further development of this component
- Customization and integration of this component into your platform
- Support and maintenance agreement
Contact sales@eyevinn.se if you are interested.
Eyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor. As our way to innovate and push the industry forward we develop proof-of-concepts and tools. The things we learn and the code we write we share with the industry in blogs and by open sourcing the code we have written.
Want to know more about Eyevinn and how it is to work here. Contact us at work@eyevinn.se!