H.265 web player supported by wasm technology

We know that major browsers have begun to support wasm technology, and the liveweb streaming platform developed by Shenzhen Haoyou Technology has also fully supported wasm technology.

Simply put, WebAssembly or wasm is a new format that is portable, small, fast loading, and compatible with the Web. It is a compilation target. What is a compilation target? When we write TypeScript, the JavaScript file finally packaged and generated by Webpack is the compilation target.

With the current support of wasm technology by major browsers and the affirmation of wasm standard by w3c, wasm technology can perfectly solve the problem of supporting H.265 encoding format in security visualization scenarios. The characteristic of WebAssembly technology is that it adopts The js/c/c++ front-end decoding method decodes and plays real-time videos. This is very consistent with the current popular edge computing concept. Although it is only decoding calculations, wasm's support for video decoding calculations may be just the beginning of H5 video edge computing. !

Through the combination of wasm technology and mse technology, web pages playing H.265 encoded videos have the following advantages:

  • More economical: H.265 technology has deeply optimized the bit rate. Under the same image quality, it can save nearly 50% of the bit rate than H.264, which will greatly reduce storage costs. Let’s compare the storage cost of one hundred channels of 1080P video between H.264 and H.265. Taking the 4M bit rate as an example: for 100 channels of video, H265 uses about 62T less disk space than H.264. Taking 4T hard drives as an example, it can save an average of 15.5 hard drives, which is about 15,000 yuan. The cost advantage is obvious.
  • Clearer: High-definition in the security field has become an inevitable trend. 720P and 1080P videos have become widely popular, and 4K and 8K ultra-clear videos have also begun to appear. The amount of video information brought about by high resolution is growing much faster than network bandwidth. H.265 encoding can make up for the limitations of network bandwidth and allow ultra-clear videos to be easily transmitted. Under the same bandwidth conditions, H.265 can improve the original image quality by 50% and enhance the user's visual experience.
  • Smarter: Codec chips that support H.265 are more powerful than traditional monitoring chips, and more intelligent analysis applications can be expanded based on these chips. Take the 300W pixel H265 camera launched by Tiandi Weiye as an example. It integrates multiple intelligent analysis algorithms such as line crossing, perimeter, item legacy duty, face detection, crowd gathering, audio and video abnormality diagnosis, etc. H.265+ intelligent analysis , making your monitoring easier.

Guess you like

Origin blog.csdn.net/xiehuanbin/article/details/133580233