Embed legacy FLV video files on a web page without requiring Flash.
Build a low-latency live-streaming player that reads FLV streams over HTTP or WebSocket.
Add playback support for FLV content on a platform that still stores video in that format.
| bilibili/flv.js | ovity/octotree | chalk/chalk | |
|---|---|---|---|
| Stars | 23,226 | 23,188 | 23,182 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a browser with Media Source Extensions support, not compatible with all mobile browsers.
flv.js is a JavaScript library from Bilibili (a Chinese video platform) that lets web browsers play FLV video files without requiring Adobe Flash. FLV (Flash Video) was a popular video format in the mid-2000s, but modern browsers dropped Flash support. This library bridges that gap. It works by reading an FLV video stream and converting it on the fly into a format (Fragmented MP4) that modern browsers can play natively using an HTML5 video element. This conversion happens entirely in the browser using a standard browser API called Media Source Extensions. Beyond playing recorded FLV files, it also supports low-latency live streaming over HTTP or WebSocket connections, which made it particularly useful for live streaming platforms. It handles video encoded with H.264 and audio encoded with AAC or MP3. You would use flv.js when you need to embed FLV videos or FLV live streams in a web page without Flash, or when working with a platform that still stores or serves content in FLV format. Note that the project is no longer actively maintained, the authors recommend its successor mpegts.js for new live-streaming use cases. The library is written in JavaScript and installable via npm.
A JavaScript library that lets browsers play FLV videos and live streams without Adobe Flash, by converting them on the fly using HTML5's built-in video support.
Mainly JavaScript. The stack also includes JavaScript, HTML5, Media Source Extensions.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.