Code Monkey home page Code Monkey logo

mpeg2-ts-demux-wasm's Introduction

mpeg2-ts-demux-wasm

High performance MPEG-2 Transport Stream demultiplexer via WebAssembly

Mission:

  • high performance
  • lightweight binary wasm file
  • reliability of work
  • platform agnostic

Work in progress...


See example here

See documentation here

mpeg2-ts-demux-wasm's People

Contributors

msafronov avatar

Stargazers

 avatar

Watchers

 avatar

mpeg2-ts-demux-wasm's Issues

Simple ci pipeline

Need to add simple ci pipeline to github for the project with unit-test execution, checking critical size of wasm binary, etc.

wasm compiling with Docker

Need to add Docker image for isolated wasm compilation. It should be an additional / alternative way of compiling.

What shall be inside the image:

  • access to env variables from .env file
  • wabt utilities installing from a tarball for use, wabt version shall be taken from WABT_BUILD_VERSION env variable
  • bulid.sh execution

Metadata memory block

There will be a lot of intermediate data during the demux process like pts/dts timestamps, pes positions in linear memory and other. This data should store in a separated memory block, need to organize it. It should be scalable

Current pes packet recording to metadata memory block

PES packet must be parsed and recorded to the metadata memory block for further decoding.

What data is needed:

  • pid which from transport_packet
  • offset in the linear memory (from es_offset to es_len)
  • length
  • pts and dts timestamps

There should be no problem to write new data as needed in the future.

wat files linker

It will be better if all codebase will be separated into single .wat files as self-sufficient modules. But how to merge them into a common .wat file when compiling? Need to find some tool or write some solution. It is also need to avoid possible problems like collisions, etc.

All .wat files live in src directory.

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.