Audio Encoding Schedule for Video-Audio Sync
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When content is recorded on an electronic device, audio information may be lost, leading to unsynchronized audio and video data.
Innovation Solution
The electronic device includes a processor that identifies a schedule for receiving read tasks at specified time intervals to encode audio segments into an audio buffer, and controls the time points at which these tasks are called based on the schedule and audio buffer state, ensuring audio encoding according to an absolute time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If audio data is recorded using conventional methods, then audio information may be lost and audio-video synchronization fails, but implementing complex synchronization mechanisms increases device complexity
Solution Approach 1:
The processor performs preliminary actions by pre-establishing a task schedule that specifies predetermined time intervals for audio encoding operations. This schedule is set up in advance and used to control when read tasks are executed, ensuring audio segments are encoded at appropriate time points without requiring complex real-time decision-making during recording.
Solution Approach 2:
The system implements feedback mechanisms where the processor monitors the actual execution of read tasks against the predetermined schedule and adjusts task calling times accordingly. The processor identifies deviations from the schedule and controls time points based on both schedule compliance and audio buffer state, creating a closed-loop control system that maintains synchronization reliability.
2Loss of information
If audio encoding tasks are called continuously to prevent data loss, then audio information completeness improves, but processing time and computational resources increase
Solution Approach 1:
The system employs periodic action by establishing a task schedule that calls read tasks at predetermined time intervals rather than continuously. This periodic execution pattern ensures audio segments are captured at regular intervals, preventing information loss while reducing overall processing time compared to continuous operation. The processor adjusts the periodicity based on the specific recording requirements and audio buffer state.
Data Source
AI summary
An electronic device according to various embodiments of the disclosure includes: a display configured to output image data of content based on execution of an application, a sound output module comprising circuitry configured to output audio data of the content, and a processor adaptively connected to the display and the sound output module, wherein the processor is configured to: identify a schedule for sequentially receiving read tasks (RTs) at a specified time interval to encode audio segments sequentially input in a specified size into an audio buffer from the audio data, and control time points at which the RTs are called, based on at least one of a situation in which the RTs are received according to the schedule and an audio buffer state and encode the audio segments corresponding to the RTs received at the controlled time points.


