JSPM

mpegts_to_mp4

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25529F
  • License MIT

Pure JavaScript MPEGTS->MP4 converter.

Package Exports

  • mpegts_to_mp4

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mpegts_to_mp4) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

HTTP Live Streaming JavaScript player

What's this?

This is Apple HTTP Live Streaming JavaScript player created by performing realtime conversion of MPEG-TS video chunks to MPEG-4 in separate thread using Web Worker and playing them in order in main thread.

How does it work?

Conversion is done using jBinary binary manipulation library with programmatically described data structures according to ISO 13818-1, ISO-14496-2, ISO-14496-12 and ITU-T H.222.0 specifications.

Where does it work?

Works best in Chrome (stable branch), having more noticable lags when switching videos but still working in latest Firefox versions and IE10+.

Where I can see that?

Check out http://rreverser.github.io/mpegts/ for live demo.

Screenshot: Screenshot

Disclaimer

Please note that demo uses 3rd-party HLS demo source and service http://www.corsproxy.com/ for proxying it with needed Cross-Origin-Request headers for browsers to allow chunk downloading, so it may be unstable.

Can I use it in Node.js?

Yes, you can.

What license is it issued under?

It's regular MIT license.