Predictive Video Frame Buffering for Smooth Seeking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video decoding methods on mobile devices struggle with quick seeking operations, leading to video lag and reduced user experience due to the inability to decode and buffer video frames in time.

Innovation Solution

A method and apparatus for video seeking and playing that involves obtaining user input, predicting a second playing node, and buffering a target video frame in advance, allowing direct playback from a buffering pool without real-time decoding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If real-time decoding is performed during seeking operations, then video data can be decoded on demand, but video lag occurs and playback smoothness deteriorates

Engineering Contradiction:
Improveseeking speedVSAvoidplayback smoothness
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system performs preliminary decoding and buffering of video frames before they are actually needed for playback. When a seeking operation occurs, the target video frames have already been decoded and stored in the buffering pool, eliminating the lag that would occur with real-time decoding and ensuring smooth playback transition.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If video frames are buffered in advance, then playback smoothness is improved, but device memory consumption increases

Engineering Contradiction:
Improveplayback smoothnessVSAvoidbuffering memory
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

Instead of buffering all video frames or using excessive memory, the system buffers only the necessary target video frames that are predicted to be needed based on user seeking behavior. This partial buffering approach maintains playback smoothness while avoiding unnecessary memory consumption.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system dynamically adjusts buffering parameters such as buffer size and frame selection based on device performance capabilities and user behavior patterns. This allows the system to optimize the balance between playback smoothness and memory consumption by changing buffering parameters rather than using a fixed approach.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If decoder processes video data continuously, then decoding completeness is maintained, but device power consumption increases

Engineering Contradiction:
Improvedecoding completenessVSAvoiddecoder power
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

Instead of continuous decoding, the system uses periodic action by only decoding video frames when needed for playback or when user seeking behavior indicates those frames will be needed. The decoder is activated selectively based on buffer status and predicted user actions, reducing unnecessary power consumption while maintaining decoding completeness for required frames.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS12456490B2Method and apparatus for video seeking and playing, terminal device and storage medium
Publication Date: 2025.10.28 DOUYIN VISION CO LTD
  • US12456490B2 patent drawing
  • US12456490B2 patent drawing
  • US12456490B2 patent drawing

AI summary

A method and apparatus for video seeking and playing, a terminal device, a storage medium, and a computer program product, and the method includes: obtaining first seeking information input by a user; determining a first playing node indicated by the first seeking information; predicting, according to the first seeking information, a second playing node, and buffering a target video frame corresponding to the second playing node in a buffering pool, where the second playing node is after the first playing node; and obtaining second seeking information input by the user, and if a playing node indicated by the second seeking information is the second playing node, playing the target video frame in the buffering pool.