MP4 to Segmented Media Conversion for Real-Time Playback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies lack an effective method to convert MP4 files into segmented media files suitable for network transmission, limiting real-time playback and requiring complete file download before playback can begin.
Innovation Solution
A conversion method that analyzes metadata in the moov box of MP4 files to extract media data within a given time frame, encapsulating it into segmented files that can be independently decoded, eliminating the need for complete file download and reducing storage requirements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If MP4 files are converted into segmented stream media format for network transmission, then real-time playback capability is improved, but conversion complexity and processing time increase
Solution Approach 1:
The patent divides the MP4 file into multiple segments based on time frames, where each segment contains media data and corresponding metadata that can be independently decoded. This segmentation enables progressive downloading and real-time playback while maintaining the original file structure through systematic division into manageable chunks with clear boundaries and independent decodability.
Solution Approach 2:
The patent performs preliminary analysis of the MP4 file structure during the conversion process, pre-identifying segment boundaries, media data locations, and metadata associations. This preliminary action allows the conversion system to prepare segmented files in advance, reducing real-time processing complexity during actual playback while maintaining the ability to handle large files efficiently.
2Reliability
If complete MP4 file is downloaded before playback, then decoding reliability is improved, but network transmission time and storage occupancy increase
Solution Approach 1:
The patent segments the MP4 file into multiple smaller units, each containing complete media data and metadata necessary for independent decoding. This segmentation allows the playback system to download and decode segments progressively rather than requiring the complete file, reducing download time and storage occupancy while maintaining decoding reliability through self-contained segment structures.
Solution Approach 2:
The patent extracts only the necessary media data and metadata for specific time frames from the complete MP4 file, creating minimal viable segments for playback. This extraction approach reduces the amount of data that needs to be downloaded and stored while ensuring that each extracted segment contains all necessary information for successful decoding, thereby reducing storage occupancy and download time without compromising reliability.
3Duration of action of moving object
If MP4 file is converted into stream media format in advance, then playback smoothness is improved, but storage space consumption increases
Solution Approach 1:
The patent converts the MP4 file into segmented stream media format where each segment is a complete, independently decodable unit. This segmentation allows the system to store only the necessary portions of the file for upcoming playback rather than maintaining the complete converted file, reducing storage space consumption while ensuring playback smoothness through pre-prepared, ready-to-play segments.
Solution Approach 2:
The patent enables the system to discard segments that have already been played and recover or download new segments as needed for future playback. This approach reduces storage space consumption by eliminating the need to permanently retain the complete converted file, while maintaining playback smoothness through on-demand segment availability and the ability to quickly download replacement segments.
Data Source
AI summary
The disclosure provides a conversion method, device and storage medium for media file. The method includes: analyzing metadata encapsulated in a moov box of a media file to obtain media information for describing media data encapsulated in a mdat box of the media file; searching media data within a given time frame according to the time of the media data represented by the media information; searching the position of the media data within the given time frame in the media file according to the position of the media data represented by the media information in the media file; extracting the media data corresponding to the position from the mdat box of the media file; and encapsulating the extracted media data and the metadata for describing the media data according to the encapsulating structure of segmented media file to obtain a segmented media file capable of being independently decoded.


