{"repo":"asticode/go-astits","free":true,"listed":false,"github":"https://github.com/asticode/go-astits","clone":"git clone https://github.com/asticode/go-astits.git","description":"Demux and mux MPEG Transport Streams (.ts) natively in GO","language":"Go","stars":616,"topics":["golang","golang-library","mpeg","mpegts","mpeg-ts","mpeg2","transport-stream","go"],"license":"MIT","category":"dev-tools","readme_excerpt":"This is a Golang library to natively demux and mux MPEG Transport Streams (ts) in GO. WARNING: this library is not yet production ready. Use at your own risks! Installation To install the library use the following: go get -u github.com/asticode/go-astits/... To install the executables use the following: go install github.com/asticode/go-astits/cmd Before looking at the code... The transport stream is made of packets. Each packet has a header, an optional adaptation field and a payload. Several payloads can be appended and parsed as a data. Using the library in your code WARNING: the code below doesn't handle errors for readability purposes. However you SHOULD! Demux Mux Options In order to pass options to the demuxer or the muxer, look for the methods prefixed with DemuxerOpt or MuxerOpt and add them upon calling NewDemuxer or NewMuxer : CLI This library provides 2 CLIs that will automatically get installed in GOPATH/bin on go get execution. astits-probe List streams $ astits-probe -i -f List packets $ astits-probe packets -i List data $ astits-probe data -i -d astits-es-split Split streams into separate .ts files $ astits-es-split -o Features and roadmap - [x] Add demuxer - [x] Add muxer - [x] Demux PES packets - [x] Mux PES packets - [x] Demux PAT packets - [x] Mux PAT packets - [x] Demux PMT packets - [x] Mux PMT packets - [x] Demux EIT packets - [ ] Mux EIT packets - [x] Demux NIT packets - [ ] Mux NIT packets - [x] Demux SDT packets - [ ] Mux SDT packets - [x] Demux TOT ","default_branch":null,"files":null,"tree":[],"storefront":"/r/asticode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/asticode/go-astits/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}