Home > Web Front-end > JS Tutorial > body text

Summary of usage and instructions of flv.js

零下一度
Release: 2017-06-12 13:38:32
Original
4652 people have browsed it

What is Flv.js? It is an HTML5 Flash video (FLV) player, developed purely with native JavaScript and does not use Flash. Open sourced by bilibili website. Overview: A JavaScript library that implements playing FLV format videos in HTML5 videos. It works by transcoding and multiplexing FLV file streams into ISO BMFF (MP4 fragment) fragments and then Source Extensions feed MP4 clips into the browser. flv.js is written in ECMAScript 6, then compiled into ECMAScript 5 through Babel Compiler, and packaged using Browserify. Features: FLV container with H.264+AAC codecs Playback capabilities Multi-part segmented video playback HTTP FLV Low latency live streaming playback of FLV via WebSo

1. flv.js is What? How to use flv.js?

Summary of usage and instructions of flv.js

Introduction: Flv.js is an HTML5 Flash video (FLV) player, developed purely with native JavaScript. Flash is not used. Open sourced by bilibili website. A JavaScript library that implements playing FLV format videos in HTML5 videos. It works by transcoding and muxing an FLV file stream into ISO BMFF (MP4 fragment) fragments, then feeding the MP4 fragments into the browser via Media Source Extensions. flv.js is written using ECMAScript 6, and then passed through Babel Compiler

2. How to use flv.js? Comprehensive interpretation of the flv.js code

Summary of usage and instructions of flv.js

# Introduction: The code of the flv.js project has a certain scale. If you want For research, I suggest starting with demux. Once you understand demux, you will master the key steps of media data processing. The previous media data download and subsequent media data playback will become easier to understand.

3. Instructions for using open source code flv.js

Summary of usage and instructions of flv.js

##Introduction: Flv.js is HTML5 Flash video (FLV) player, developed purely with native JavaScript, without using Flash. Open sourced by bilibili website. A JavaScript library that implements playing FLV format videos in HTML5 videos. It works by transcoding and muxing an FLV file stream into ISO BMFF (MP4 fragment) fragments, then feeding the MP4 fragments into the browser via Media Source Extensions. flv.js is written using ECMAScript 6, and then passed through Babel Compiler

4.

How to treat Bilibili (bilibili) open source HTML5 player core flv.js?

Summary of usage and instructions of flv.js

Introduction: flv.js does three things: 1. HTML5 natively only supports playing mp4/webm format. flv.js implements the playback of FLV format videos on HTML5 2. Makes the Bilibili web page smoothly transition to the HTML5 player, and historical legacy is no longer an obstacle 3. For video live broadcast, it supports extremely low-latency HTTP FLV playback on HTML5, solution The dependence of web-based live broadcast on Flash

[Related Q&A recommendations]:

javascript - How to use MSE (MediaSource Extensions) to parse different Video format, or protocol?

javascript - How to use flv.js I don’t know how to use node

The above is the detailed content of Summary of usage and instructions of flv.js. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template