Web Media Playback via Fragmented ISO BMFF Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current media players embedded in webpages can only play streaming media files and not non-streaming media files like MPEG-4 files without format conversion, limiting their functionality.
Innovation Solution
A method and device that analyze the moov box of a media file to extract media information, break down the media data into sections, encapsulate them into fragmented media files, and send these files to the webpage for decoding and playback through a media source extension interface, enabling playback of non-streaming media formats without complete download and additional storage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a player embedded in a webpage plays streaming media files (HLS), then playing support is provided, but non-streaming media files (MPEG-4) cannot be played without format conversion
Solution Approach 1:
The patent segments the non-streaming media file into multiple fragments and wraps them in a streaming-compatible structure (ISO BMFF with moov and mdat boxes). This allows the player to process the media as streaming content while maintaining compatibility with non-streaming formats, eliminating the need for format conversion.
Solution Approach 2:
The patent introduces an intermediary processing layer that converts non-streaming media files into a streaming-compatible format on-the-fly. This intermediary structure (with moov box containing media information and mdat box containing media data) acts as a bridge between the player's streaming capabilities and the non-streaming media file format.
2Productivity
If the complete media file is processed and converted for webpage playback, then full functionality is achieved, but storage space and conversion time are increased
Solution Approach 1:
The patent performs preliminary parsing of the moov box to extract essential media information (duration, size, time scales, sample descriptions) before full conversion. This preliminary action allows the player to prepare for playback without waiting for complete file conversion, reducing perceived delay.
Solution Approach 2:
The patent processes only the necessary portions of the media file for immediate playback rather than converting the entire file. By extracting and processing media information and data in manageable sections (moov and mdat boxes), the system achieves playback readiness with minimal conversion time.
3Reliability
If the complete media file is downloaded and stored, then full playback capability is ensured, but storage consumption increases
Solution Approach 1:
The patent segments the media file into structured components (moov box with media information, mdat box with media data) that can be processed and stored efficiently. This segmentation allows the system to store only the essential portions needed for playback rather than the complete original file, reducing storage consumption while maintaining playback reliability.
Data Source
AI summary
A playing method of a webpage-based media file is provided, including analyzing moov encapsulated in an moov box of a media file to obtain media information configured for describing media data encapsulated in an mdat box of the media file by a player built-in a webpage, according to time and a position of the media data represented by the media information, obtaining a section of media data in the mdat box of the media file; encapsulating the obtained section of media data and moov describing the section of media data according to a box structure of a fragmented media file to obtain a corresponding fragmented media file; and sending the fragmented media file to a media element of the webpage by a media source extension interface of the webpage for decoding and playing; the media file adopts a non-streaming media format.


