Audio Playback Position Matching Across Split Media Files
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing electronic devices face challenges in seamlessly playing back audio from separate media files, leading to audio interruptions and overlapping playback due to inaccuracies in determining the playback start position, especially when media files are divided and decoded without reference frames.
Innovation Solution
The electronic device includes a processor configured to obtain a first audio data block corresponding to the end time of first media data, identify the last playback position, search for and determine the playback start position of a second media data block based on detected audio data, and output audio data from this position after completing playback of the first media data, ensuring continuous and uninterrupted audio playback.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If media files are divided and decoded without reference frames, then processing efficiency is improved, but audio continuity deteriorates due to inaccuracies in determining playback start position
Solution Approach 1:
The system performs preliminary actions by obtaining audio data blocks corresponding to end times of previous media files before decoding subsequent files. This allows the system to identify accurate playback start positions in advance by searching for matching audio patterns, ensuring continuous playback without interruptions while maintaining efficient processing of divided media files
Solution Approach 2:
The system uses feedback mechanisms by detecting audio data patterns from previous media files and using this information to determine accurate start positions for subsequent files. The processor searches for matching audio patterns in the decoded audio data blocks, adjusting the playback start position based on the detected patterns to maintain audio continuity
2Device complexity
If playback start position is determined inaccurately, then device complexity is reduced, but audio quality deteriorates due to interruptions and overlapping playback
Solution Approach 1:
The system performs self-service by automatically detecting audio patterns and determining playback start positions without requiring complex external intervention. The processor searches for matching audio data blocks in the decoded audio streams, autonomously identifying accurate start positions and eliminating the need for complicated position determination mechanisms while preventing audio interruptions
Data Source
AI summary
An electronic device includes a memory storing instructions, and a processor. The instructions may cause the electronic device to: acquire, from first media data, a first audio data block corresponding to the end point of the first media data; identify a final playback position of the first audio data block based on the end point; acquire a second audio data block for use as a search target from second media data based on the start point, corresponding to the end point, of the second media data; search a second audio data block for audio data corresponding to the final playback position; determine the playback start position of the second audio data block based on the audio data searched for; and output audio data following the playback start position among the second media data after the audio playback up to the final playback position is completed.


