In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is the function of HTML5 Flash video flv player". In daily operation, I believe many people have doubts about the function of HTML5 Flash video flv player. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the questions of "what function does HTML5 Flash video flv player have?" Next, please follow the editor to study!
Flv.js is an open source html5Flash video (FLV) player from the bilibili website, developed by pure native JavaScript (written by ECMAScript6), without the use of 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.
Flv player functions:
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.
Due to the dependence on MediaSourceExtensions, all browsers in iOS and below Android4.4.4 are not supported, which means that flv.js is basically not available on mobile devices.
At this point, the study on "what is the function of HTML5 Flash video flv player" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.