WebAssembly Module Multi-Decoder Video Playback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Web browsers often cannot natively display videos encoded in formats like H265, Motion JPEG, and MPEG4 Part 2 without pre-installing specific plug-ins or vendor extensions, which is time-consuming and tedious, especially in applications like security Video Management Systems where various video formats are used.
Innovation Solution
Delivering a WebAssembly Module with multiple video decoders along with the web page to decode and display videos, eliminating the need for pre-installed plug-ins or vendor-specific extensions by including decoders for various video formats within the WebAssembly Module.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If pre-installation of video decoder plug-ins is required, then video decoding capability is expanded, but user operation complexity and time consumption increase
Solution Approach 1:
The patent introduces WebAssembly as an intermediary technology that bridges the gap between video encoder formats and web browser display capabilities. Instead of requiring users to install traditional plug-ins, the system delivers pre-compiled WebAssembly modules containing video decoders that run within the browser's sandboxed environment, providing both format support and ease of use simultaneously
Solution Approach 2:
The patent creates virtual copies of video decoder functionality within WebAssembly modules rather than relying on native browser decoders or external plug-ins. These copied decoder implementations are self-contained, can be delivered alongside web pages, and execute independently within the browser's security model, eliminating the need for user installation while maintaining full decoding capability
2Adaptability or versatility
If pre-installation of video decoder plug-ins is required, then video decoding capability is expanded, but time consumption increases
Solution Approach 1:
The patent performs preliminary compilation of video decoders into WebAssembly format before delivery to the user's browser. The decoders are pre-compiled and packaged within the web page resources, so when a user accesses a video page, the decoding capability is already ready to execute immediately without requiring any installation time or setup procedures
Solution Approach 2:
WebAssembly serves as an intermediary delivery mechanism that bundles the video decoder functionality directly with the web page content. This intermediary approach allows the decoder to be transmitted and executed as part of the normal web browsing process, eliminating the separate time-consuming step of installing external plug-ins
3Adaptability or versatility
If traditional plug-ins are used, then video format support is achieved, but security features may be compromised
Solution Approach 1:
WebAssembly acts as a secure intermediary layer between the video decoder code and the browser's native execution environment. The sandboxed execution model of WebAssembly allows untrusted decoder code to run with limited system access, preventing security vulnerabilities while maintaining full video decoding functionality
Solution Approach 2:
Instead of modifying the browser's native execution environment through plug-ins, the patent copies decoder functionality into isolated WebAssembly modules that execute in a sandboxed environment. This copying approach preserves the browser's security architecture while adding new decoding capabilities without compromising existing security features
4Adaptability or versatility
If multiple video decoders are included, then video format compatibility improves, but data transfer size increases
Solution Approach 1:
The patent implements a universal WebAssembly module architecture where a single module can contain multiple video decoders for different formats (H.264, H.265, MPEG-4, etc.). This multi-functional design allows one data transfer to provide support for numerous video formats simultaneously, rather than requiring separate decoder downloads for each format
Solution Approach 2:
The patent merges multiple video decoder implementations into a single integrated WebAssembly module that can be delivered together with the web page. By combining what would traditionally be separate plug-in installations into one unified module, the system reduces the total data transfer required while maintaining support for multiple video formats
Data Source
AI summary
A method for delivering a web page that displays a video includes delivering a requested web page with a WebAssembly Module to a web browser of a requesting device. The WebAssembly Module includes a plurality of video decoders each for decoding a corresponding one of a plurality of video encoding formats. An encoded video is delivered for display by the requested web page, the encoded video being encoded in a particular one of the plurality of video encoding formats. The encoded video is decoded using a respective one of the plurality of video decoders of the WebAssembly Module that corresponds to the particular one of the plurality of video encoding formats of the delivered encoded video.


