# mpegts.js

HTML5 MPEG2-TS / FLV Stream Player

Canonical page: https://www.reposhelf.co.uk/projects/github/xqq/mpegts.js.html

- Project ID: xqq/mpegts.js
- Source: GitHub
- Original project: https://github.com/xqq/mpegts.js
- Description attribution: project author metadata
- Categories: Other, Streaming
- Technologies: Not recorded
- Licence: Apache-2.0
- Repository availability checked: 2026-11-20T16:32:45.260Z
- Demo page loaded: 2026-11-12T12:16:28.530Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> HTML5 MPEG2-TS stream player written in TypeScript &amp; JavaScript.

> mpegts.js is optimized for low-latency live stream playback, such as DVB/ISDB television or surveillance cameras.

> mpegts.js works by transmuxing MPEG2-TS stream into ISO BMFF \(Fragmented MP4\) segments, followed by feeding mp4 segments into an HTML5 element through \[Media Source Extensions\] API.

- Playback for MPEG2-TS stream with H.264/H.265 + AAC codec transported in http\(s\) or WebSocket
- Playback for FLV stream with H.264/H.265 + AAC codec transported in http\(s\) or WebSocket
- Extremely low latency of less than 1 second in the best case
- Playback for .m2ts file like BDAV/BDMV with 192 bytes TS packet, or 204 bytes TS packet
- Support handling dynamic codec parameters change \(e.g. video resolution change\)

## Author-documented requirements and audience

> HTML5 MPEG2-TS stream player written in TypeScript &amp; JavaScript.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/xqq/mpegts.js/blob/master/README.md

Extraction checked: 2026-10-25T14:06:25.990Z

Last recorded source update: 2026-11-18T03:11:21.000Z

Saved release: v1.8.2 — 2026-08-14T06:18:20.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=xqq%2Fmpegts.js). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
