Video Playback Module Using FFmpeg Intermediary for Unsupported Formats

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video processing systems face issues when playing video files not supported by the system play module, leading to poor user experience due to interrupted playback and inability to decode certain video formats, such as MP4, which requires switching to third-party applications and interrupts user operations.

Innovation Solution

Incorporating an FFmpeg module that parses and decodes video streams and audio streams using corresponding decoder identifiers, allowing for seamless playback of unsupported video files without switching to third-party applications, by configuring audio and video decoder identifiers and utilizing FFmpeg's decoding capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the system play module is used to play video files, then the playback is smooth and continuous, but it cannot play certain video formats (e.g., MP4) leading to poor user experience

Engineering Contradiction:
Improvevideo format compatibilityVSAvoidplayback continuity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent introduces an FFmpeg module as an intermediary component between the system play module and unsupported video files. When the system play module cannot natively play a video format, it calls the FFmpeg module which provides the necessary decoding capabilities. This mediator enables the system to handle diverse video formats (MP4, FLV, etc.) while maintaining stable and continuous playback through the coordinated workflow between the two modules.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If third-party applications are called to play unsupported video files, then the video can be played, but the client operation is interrupted

Engineering Contradiction:
Improvevideo format supportVSAvoiduser operation continuity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

Instead of switching to external third-party applications, the patent embeds the FFmpeg module as an internal intermediary within the client. This allows the client to maintain its operation and interface while the FFmpeg module handles the decoding of unsupported formats in the background, ensuring uninterrupted user experience and operational continuity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent merges the FFmpeg decoding capabilities with the existing client system, combining the strengths of both the system play module (for supported formats) and FFmpeg (for unsupported formats) into a unified playback solution. This integration eliminates the need for users to switch applications while maintaining comprehensive format support.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If the system play module parses and configures decoder identifiers, then the video stream can be decoded, but additional modules (FFmpeg) are required for unsupported formats

Engineering Contradiction:
Improvedecoder compatibilityVSAvoidmodule structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a universal decoding architecture where the system play module maintains its native parsing and configuration capabilities for supported formats, while the FFmpeg module provides universal decoding support for all formats including unsupported ones. This multi-functional design allows the system to handle both native and external formats through a unified interface, managing complexity through modular organization.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11336953B2Video processing method, electronic device, and computer-readable medium
Publication Date: 2022.05.17 GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
  • US11336953B2 patent drawing
  • US11336953B2 patent drawing
  • US11336953B2 patent drawing

AI summary

The present application discloses a video processing method, an electronic device, and a computer-readable medium. The method comprises: a system playing module acquiring a video file to be played and sent by a target client; determining whether playing of the video file is supported; if not, parsing the video file to acquire an audio stream and a video stream in the video file; configuring an audio decoder identifier for the audio stream, and configuring a video decoder identifier for the video stream; and sending to an FFmpeg module the video stream, the audio stream, the video decoder identifier, and the audio decoder identifier, such that the FFmpeg module decodes the video file to acquire audio playing data and video playing data, wherein the audio playing data and the video playing data can be played by an audio and video output module of an electronic device.