phoboslab/jsmpeg
MPEG1 Video Decoder in JavaScript observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4865
- days_rel: n/a
- days_push: 1443
- n_releases_24m: 0
Adoption not part of the score
6498 stars · 1414 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
JSMpeg is a JavaScript video player that decodes MPEG1 video and MP2 audio entirely in the browser, including an MPEG-TS demuxer, WebGL/Canvas2D renderers, and WebAudio output. It supports loading static .ts files via Ajax and low-latency (~50ms) streaming over WebSockets, all in about 20kb gzipped.
Use cases
- play mpeg1 video in the browser without plugins
- stream low-latency video from a server over websockets
- decode video in javascript with canvas or webgl rendering
- embed a lightweight video player on a webpage
- play .ts video files via ajax with progressive loading
- build a browser-based ip camera viewer with minimal latency
When to choose
- you need to play MPEG1/MP2 content in any modern browser without native codecs
- you need very low latency video streaming over WebSockets
- you want a tiny dependency (~20kb) instead of a full-featured player
- you need to render video frames to a canvas for further processing or screenshots
When to avoid
- you need modern codecs like H.264/H.265 or VP9 - use native HTML5 video instead
- you need high-resolution, high-fps playback beyond MPEG1's efficiency limits
- you need DRM or adaptive bitrate streaming like HLS/DASH
- you need hardware-accelerated decoding for battery efficiency
Facets
library · maturity maintenance
video-processing audio-processing http-client websocket web-development frontend media browser wasm mpeg1-decoder mp2-audio mpeg-ts-demuxer webgl-renderer webaudio low-latency-streaming video-player websockets-streaming video javascript
1 source
- readme: https://github.com/phoboslab/jsmpeg · fetched 2026-08-28 · 85b034525bd4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| phoboslab/jsmpeg | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="phoboslab/jsmpeg")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem