https://github.com/eyevinn/pcap-tools
Tools for working with tcpdump/Wireshark captures of MPEG-2 TS streams
https://github.com/eyevinn/pcap-tools
mpeg-2 pcap rtp tcpdump ts wireshark
Last synced: about 2 months ago
JSON representation
Tools for working with tcpdump/Wireshark captures of MPEG-2 TS streams
- Host: GitHub
- URL: https://github.com/eyevinn/pcap-tools
- Owner: Eyevinn
- License: mit
- Created: 2024-06-27T08:19:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-03T11:26:47.000Z (2 months ago)
- Last Synced: 2025-04-14T22:54:57.534Z (about 2 months ago)
- Topics: mpeg-2, pcap, rtp, tcpdump, ts, wireshark
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
pcap-tools
Tools for PCAP files with TS streams

[](https://github.com/Eyevinn/mp2ts-tools/actions/workflows/golangci-lint.yml)
[](http://godoc.org/github.com/Eyevinn/mp2ts-tools)
[](https://goreportcard.com/report/github.com/Eyevinn/mp2ts-tools)
[](https://github.com/Eyevinn/pcap-tools/releases)
[](LICENSE)[](https://github.com/eyevinn/pcap-tools/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
[](https://github.com/eyevinn)
[](http://slack.streamingtech.se)Tools for investigating and reusing tcpdump/Wireshark captures of TS streams.
The tools available this far are:
* pcap-replay which replaces UDP streams from a pcap file and send to a specified address
* pcap-unpack unpacks TS (or other UDP) streams from one or more pcap files## Requirements
This project uses Go version 1.22 or later.
## Installation / Usage
The simplest way to get a working binary on your system is to run
```sh
go install github.com/Eyevinn/pcap-tools/cmd/pcap-unpack@latest
go install github.com/Eyevinn/pcap-tools/cmd/pcap-replay@latest
```When running the programs with `-h` option to get more information about
how they work### Building for development
You can alternatively checkout the repo and use the `Makefile`
to get build artifacts into the out directory,
or use the standard go steps to build and run in one go:```sh
go mod tidy
cd cmd/pcap-replay
go run .
```### Build on Windows
If Makefile does not work, you can use the line from the Makefile to build the tools.
To get the version correctly, note that the "-X" flags should be used.## Development
Uses standard Go tool chain.
## Contributing
See [CONTRIBUTING](CONTRIBUTING.md)
## License
This project is licensed under the MIT License, see [LICENSE](LICENSE).
# Support
Join our [community on Slack](http://slack.streamingtech.se) 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 agreementContact [[email protected]](mailto:[email protected]) if you are interested.
# About Eyevinn Technology
[Eyevinn Technology](https://www.eyevinntechnology.se) 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](https://dev.to/video) 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 [email protected]!