Giter VIP home page Giter VIP logo

chq's Introduction

chq

stream graph based MPEG TS analyser

this project aims to create a ts analyser that is capable of processing large amounts of data quickly, both in real time and offline.

it achieves this by separating the analysis into small "Nodes", each of which does a simple task (e.g. remap pids, count packets, look for CC errors). The user then combies these in a .chq file so the processing is focused on what is actually required.

each node runs in its own goroutine, so the pipelines created are concurrent with each other. this means that several different types of analysis can be done in parallel on one stream.

To get started, run go get:

go get github.com/aktungmak/chq

this should give you a chq executable, if not run go build to get it. running chq with no options, it will read the file basic.chq, and start processing based on the configuration specified.

#node inp ::= NetInput 127.0.0.1 5501
node inp ::= FileInput mpts.ts
node ctr ::= PidCounter
node ccc ::= CcCommenter
node cwr ::= CommentWriter comments.txt
node out ::= FileWriter o.ts
node pat ::= PatParser 0
node rmp ::= PidRemapper 310 433
node brc ::= PcrBrCommenter 310


conn inp -> brc -> cwr -> ctr -> rmp -> out

conn inp -> pat

it will also start up an http server on http://localhost:10101, if you point your browser there you can see some JSON of the analysis in real time.

Check out Server.go for more endpoints.

chq's People

Contributors

aktungmak avatar

Stargazers

 avatar  avatar KT avatar Dmitry Shumko avatar Li Huize avatar Flavio Ribeiro avatar daozhao chen avatar  avatar Suguru Namura avatar  avatar

Watchers

James Cloos avatar Dmitry Shumko avatar netmonster avatar

Forkers

stfn345

chq's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.