MP4 Online Playback via MOOV Data Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for playing MP4 files online face challenges in quickly starting playback without downloading the entire file, especially when MOOV data is located behind MDAT data, as they require complete data acquisition.

Innovation Solution

A method that determines a preset proportion of MOOV data to the complete MP4 file, extracts header and trailer data of corresponding lengths, and plays the file based on actual MOOV data from these sections, allowing for rapid online playback without complete data acquisition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If complete MP4 file data is acquired before playback, then playback reliability is ensured, but playback startup time increases and network bandwidth is wasted

Engineering Contradiction:
Improveplayback reliabilityVSAvoidplayback startup time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the essential MOOV data from the MP4 file header or trailer, rather than requiring complete file data acquisition. By identifying and extracting the minimum necessary metadata (MOOV box) that contains playback initialization information, the system enables playback startup without downloading the entire file, thus reducing startup time while maintaining sufficient reliability for playback initiation

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary extraction of MOOV data from the file header or trailer during the file acquisition phase. By preparing and caching this essential metadata in advance (before full file download), the system enables rapid playback startup when needed, resolving the contradiction between having data ready (reliability) and waiting for complete download (time loss)

Inventive Principle:
Principle #10Preliminary action

2Loss of information

If complete MP4 file data is downloaded, then data completeness is ensured, but network bandwidth consumption increases

Engineering Contradiction:
Improvedata completenessVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
Loss of informationVSLoss of energy

Solution Approach 1:

The patent extracts only the essential MOOV data portion from the MP4 file structure, which contains all necessary metadata for playback initialization. By transmitting and processing only this extracted subset rather than the complete file, the system maintains sufficient data completeness for playback while dramatically reducing network bandwidth consumption

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by acquiring and processing only the necessary MOOV data portion (header or trailer) rather than the complete MP4 file. This partial data acquisition provides sufficient information for playback initialization without the excessive bandwidth consumption of downloading the entire file, achieving an optimal balance between data completeness and resource efficiency

Inventive Principle:
Principle #16Partial or excessive action

3Adaptability or versatility

If MOOV data is located behind MDAT data, then file structure flexibility is maintained, but data acquisition complexity increases

Engineering Contradiction:
Improvefile structure flexibilityVSAvoiddata acquisition complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the MP4 file access process into two distinct phases: first acquiring only the header or trailer portion containing MOOV data, then separately acquiring the body portion containing MDAT data. This segmentation allows the system to handle flexible file structures (where MOOV may be in header or trailer) without increasing overall complexity, as each phase independently handles its specific data portion according to the file's actual structure

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11683557B2Method for playing MP4 online, device, and storage medium
Publication Date: 2023.06.20 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11683557B2 patent drawing
  • US11683557B2 patent drawing
  • US11683557B2 patent drawing

AI summary

The present disclosure provides a method for playing an MP4 online, an electronic device, and a computer readable storage medium. The present disclosure relates to the technical fields of artificial intelligence, and further relates to the technical fields of media cloud. A specific embodiment of the method includes: acquiring a total size of a target MP4 file, and determining a target data length based on the total size and a preset proportion, where the preset proportion is determined based on a proportion of MOOV data to a complete MP4 file; acquiring header data having the target data length from a header of the MP4 file, and acquiring trailer data having the target data length from a trailer of the MP4 file; and playing the target MP4 file online based on actual MOOV data extracted from the header data or the trailer data.