Dummy Video Frame Padding for A/V Timing Synchronization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Timing mismatches between audio and video streams occur due to encoder abortions, frame rate changes, and signal instability, leading to discrepancies that affect the synchronization of audio and video playback.

Innovation Solution

Generating and inserting dummy video frames, based on a reference frame from a previous Group of Pictures (GOP), to pad or adjust the current GOP, ensuring synchronization with audio frames by altering frame headers or inserting zero-reference frames.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the video encoder is restarted after an abort, then the encoding process can resume, but timing mismatch accumulates because audio frames continue to be received without corresponding video frames

Engineering Contradiction:
Improveencoder operation continuityVSAvoidtiming synchronization
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system generates dummy video frames in advance during encoder restart periods to preemptively fill the timing gap before actual video frames are ready. This preliminary action ensures that when the encoder resumes, the timing synchronization is already restored, preventing accumulation of timing mismatch.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Dummy video frames act as an intermediary element between the audio stream and the video encoder during restart periods. These intermediate frames allow the multiplexer to continue processing audio frames without interruption while maintaining timing synchronization, serving as a bridge until real video frames are available.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If the video encoder encodes at a lower frame rate than expected, then encoding can complete successfully, but timing error accumulates over time making the discrepancy obvious to viewers

Engineering Contradiction:
Improveencoding completionVSAvoidframe arrival timing
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system calculates and inserts the required number of dummy frames in advance based on the detected frame rate deviation. By determining the timing error early and preemptively adding the necessary dummy frames, the system corrects the timing mismatch before it becomes visually apparent to viewers.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system continuously monitors the actual frame arrival time and compares it with the expected timing. Based on this feedback, it dynamically calculates the number of dummy frames needed and adjusts the padding accordingly, ensuring continuous timing synchronization even when encoding at lower frame rates.

Inventive Principle:
Principle #23Feedback

3Loss of time

If dummy video frames are generated and inserted to correct timing mismatch, then synchronization is maintained, but additional processing overhead is introduced

Engineering Contradiction:
Improvetiming synchronizationVSAvoidprocessing overhead
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

Instead of generating entirely new video frames, the system creates dummy frames by copying and reusing existing reference frames from the previous GOP. This copying approach maintains timing synchronization while minimizing processing overhead, as it avoids the computationally intensive task of encoding new frames from scratch.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system changes the parameter of frame reuse by setting the dummy frames to reference the same previous frame multiple times. This parameter change allows the system to maintain timing synchronization through simple frame repetition rather than complex frame generation, reducing processing requirements.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8279945B2Method for compensating timing mismatch in A/V data stream
Publication Date: 2012.10.02 XUESHAN TECH INC
  • US8279945B2 patent drawing
  • US8279945B2 patent drawing
  • US8279945B2 patent drawing

AI summary

Methods for compensating timing errors in an A/V stream are provided. An embodiment of the methods includes: receiving a plurality of encoded video frames of a current Group of pictures (GOP) from the video encoder and a plurality of encoded audio frames; when an error occurs in the video encoder, utilizing a most recent encoded video frame of a previous GOP received from the video encoder as a reference to generate a plurality of dummy video frames; and utilizing the dummy video frames to pad the current GOP.