In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the limitations of the flv player". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the limitations of the flv player"?
Bilibili believes that everyone will be familiar, and Flv.js is an open source html5Flash video (FLV) player from the bilibili website, developed by pure native JavaScript (written by ECMAScript6), and does not use Flash. Its working principle is that Flv.js parses the flv file stream in JavaScript, transforms it into fmp4 in real time, feeds it to the browser through MediaSourceExtensions, and realizes the playback of FLV format video.
How about a flv player?
Flv.js is written in ECMAScript6, then compiled into ECMAScript5 through BabelCompiler, and packaged in Browserify.
Features:
FLV container with H.264+AAC codec playback function
Multi-part segmented video playback
HTTPFLV low-latency real-time streaming
FLV plays real-time streaming through WebSocket.
Compatible with Chrome,FireFox,Safari10,IE11 and Edge
Very low overhead and hardware acceleration through your browser
Flv.js advantage
Because the browser uses hardware acceleration for native Video tags, it has good performance and supports high definition.
Both recording and live broadcasting are supported.
Get rid of dependence on Flash
Restrictions on flv players
The video encoding contained in FLV must be H.264, and the audio encoding must be AAC or MP3,IE11 and Edge browsers do not support MP3 audio coding, so the encoding used in FLV should be H.264+AAC. It is not a problem to make audio / video services compatible.
For recording, rely on native html5Video tags and MediaSourceExtensionsAPI
For live broadcasting, it depends on the playback technology required for recording and playback, and relies on a protocol in HTTPFLV or WebSocket to transmit FLV. HTTPFLV needs to pull data through streaming IO, and fetch or stream support streaming IO.
The flv.min.js file size is 164KB after gzip and 35.5 KB after the flash player gzip is about the same size.
Thank you for your reading, the above is the content of "what are the restrictions on flv players". After the study of this article, I believe you have a deeper understanding of the limitations of flv players, and the specific usage needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.