Audio Video Synchronization via Network Delay Compensation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Network transmission delay causes audio and video to become out of sync when played across devices connected via a network, affecting user experience.

Innovation Solution

A method for audio and video synchronization that involves receiving audio data from a video source device, determining the network delay change between the audio and video devices, and adjusting the audio data by adding or deleting audio sampling points based on the network delay change and a preset adjustment strategy, ensuring synchronization between the audio and video playback devices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If audio data is transmitted via network from video player to audio player, then audio playback can be distributed across multiple devices, but network transmission delay causes audio and video to become out of sync

Engineering Contradiction:
Improvedistributed audio playbackVSAvoidnetwork transmission delay
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-calculating and compensating for network delay before audio playback. The audio player receives delay information from the video player and proactively adjusts its playback timing by adding or removing audio sampling points in advance, ensuring synchronization is maintained throughout playback rather than reacting to delays after they occur.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system changes the parameter of audio data by dynamically adding or removing audio sampling points based on the monitored network delay. When delay increases, audio sampling points are added to extend audio duration; when delay decreases, sampling points are removed to shorten duration, thereby matching audio playback duration with video playback duration in real-time.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If audio sampling points are added or deleted to compensate for network delay, then audio and video synchronization is improved, but audio data quality and continuity may be affected

Engineering Contradiction:
Improveaudio and video synchronizationVSAvoidaudio data continuity
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The system applies partial action by adjusting only the necessary portion of audio data to compensate for network delay. Instead of reprocessing entire audio streams, it selectively adds or removes specific audio sampling points based on the actual delay magnitude, minimizing disruption to the overall audio data structure and continuity while achieving synchronization.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If real-time monitoring of network delay is implemented, then audio and video synchronization accuracy is improved, but system complexity and computational overhead increase

Engineering Contradiction:
Improvenetwork delay measurementVSAvoidsynchronization system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system implements feedback by having the video player continuously monitor network delay and send delay information to the audio player in real-time. The audio player then uses this feedback to dynamically adjust its playback by adding or removing audio sampling points, creating a closed-loop control system that automatically maintains synchronization without complex manual intervention.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP4064717B1Method and device for audio and video synchronization
Publication Date: 2025.05.14 BEIJING XIAOMI MOBILE SOFTWARE CO LTD
  • EP4064717B1 patent drawingFigure 1~2
  • EP4064717B1 patent drawingFigure 3~4
  • EP4064717B1 patent drawingFigure 5~6

AI summary

A method for audio and video synchronization, includes: receiving audio data sent by the video player, wherein the audio data includes more than one audio sampling points; obtaining a network delay change between the audio player and the video player, wherein the network delay change refers to a time difference between the network delay monitored for the first time and the network delay monitored for the last time; determining a total amount of audio data to be adjusted according to the network delay change; and adding audio sampling points to the received audio data or deleting audio sampling points from the received audio data according to the total amount of audio data to be adjusted and a preset adjustment strategy, so that the audio player is synchronized with the video player, and playing the added or deleted audio data.