Input buffer management for the playback control for media players

An input buffer, media player technology, applied in recording signal processing, instrumentation, data recording, etc., can solve the problem that the MP3 decoder cannot read smoothly, the MP3 decoder cannot decode completely and correctly, and the main_data_begin area cannot store data. and other problems to achieve the effect of perfect playback quality

Inactive Publication Date: 2004-01-14
MEDIATEK INC +1
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some playback modes (for example: loop playback mode, rewind playback mode), the syntax analyzer 101 will not be able to provide data to the MP3 decoder for decoding from the first audio frame, and in some cases , the MP3 file will be damaged so that the main_data_begin area cannot store correct data. The above situations will make the MP3 decoder unable to read the first audio frame smoothly
However, once the MP3 decoder ignores the data recorded in the main_data_begin area and directly decodes the audio frame, it will make the MP3 decoder unable to decode completely correctly and cause the sound effect played at the beginning to pop.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Input buffer management for the playback control for media players
  • Input buffer management for the playback control for media players
  • Input buffer management for the playback control for media players

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Through the present invention, the user can start playing music forward or backward from any audio frame of the MP3 file without popping sound. In addition, the method of the present invention is only applied when the MP3 file starts to be played or when the user switches to another audio frame for playback. The method of decoding MP3 files is well known to those skilled in the art, so this part will not be further described in the following description.

[0035] refer to image 3 , image 3 It is a flowchart according to an embodiment of the present invention. It should be noted that the relevant devices that need to be used when implementing the method of the present invention are as follows: figure 1 As shown in , and the data structure of the decoded MP3 file is as figure 2 shown in . Wherein, the input buffer 102 will timely clear some stored data that is no longer used as the MP3 file decoding operation proceeds. In this embodiment, two parameters will be u...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Input buffer management of the playback control for MP3 players includes (1) initializing a totalizer to zero, (2) finding a synchronization word of a frame, (3) decoding a header, (4) calculating the size of a main_data field, and (5) decoding the enclosed audio data. If it is determined the value contained in the totalizer is less than the main_data_begin of this frame, store the main_data of the frame in an input buffer, add the size of the main_data to the totalizer, and repeat the process starting with finding the synchronization word of a next frame until the totalizer is greater or equal to the main_data_begin of the then current frame. At this point, all of the audio data required by the frame is currently available and decoding and playing can continue as normal.

Description

technical field [0001] The present invention provides a method for managing the input buffer of a recording and playback controller of a dynamic image compression standard audio layer III (MP3) player, especially a method for storing enough data in the main_data area in advance for decoding, so that The MP3 player can start playing MP3 files from any audio frame or starting audio frame. Background technique [0002] The motion picture compression standard Audio Layer III (Motion Picture Experts Group Layer IIIAudio, MP3) is in line with the International Organization for Standardization and International Electrotechnical Commission (International Organization for Standardization and International Electrotechnical Commission, ISO / IEC) high sound quality and high decoding efficiency (group translation Performance) an audio standard. [0003] refer to figure 1 , figure 1 A schematic diagram of reading an MP3 file for the MP3 player 10. MP3 files are stored in an optical dis...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F7/22G06F12/00G06F13/00G11B20/04G11B20/10G11B20/22G11B27/10G11B27/30H03M7/30H04N5/781
CPCH04N21/4334G11B2020/10685G11B27/105G11B20/10527G11B20/22G11B2220/60G11B2020/10546G11B27/3027H04N21/8113H04N21/4392
Inventor 林宗瑶
Owner MEDIATEK INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products