CN103219009A - Audio data processing device and method thereof - Google Patents
Audio data processing device and method thereof Download PDFInfo
- Publication number
- CN103219009A CN103219009A CN2012100226776A CN201210022677A CN103219009A CN 103219009 A CN103219009 A CN 103219009A CN 2012100226776 A CN2012100226776 A CN 2012100226776A CN 201210022677 A CN201210022677 A CN 201210022677A CN 103219009 A CN103219009 A CN 103219009A
- Authority
- CN
- China
- Prior art keywords
- audio data
- audio
- file header
- format
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 45
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000004891 communication Methods 0.000 claims abstract description 12
- 230000006835 compression Effects 0.000 claims abstract description 10
- 238000007906 compression Methods 0.000 claims abstract description 10
- 238000003672 processing method Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000013497 data interchange Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Circuits Of Receivers In General (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
技术领域 technical field
本发明是有关于一种数据处理装置及其方法,且特别是有关于一种音频数据处理装置及其方法。The present invention relates to a data processing device and its method, and in particular to an audio data processing device and its method.
背景技术 Background technique
随着科技的发展,人们对多媒体的品质要求也逐渐提高。数字声音广播(Digital Audio Broadcasting,DAB)便是因此随之产生针对声音广播系统的数字版技术标准。相较于传统的模拟式广播传送方式例如模拟FM广播,数字声音广播有着声音保真度高,有较强的噪音及干扰抵抗能力等优点,并且在单一频带内可容纳较多的广播频道。近年来更有改良版的新标准例如DAB+(Digital Audio Broadcasting plus),解决了部分在先前标准中的问题,并渐渐的受到各国的采用。With the development of science and technology, people's requirements for the quality of multimedia are gradually increasing. Digital Audio Broadcasting (DAB) is therefore a digital version of the technical standard for sound broadcasting systems. Compared with traditional analog broadcast transmission methods such as analog FM broadcast, digital audio broadcast has the advantages of high sound fidelity, strong noise and interference resistance, and can accommodate more broadcast channels in a single frequency band. In recent years, there have been improved versions of new standards such as DAB+ (Digital Audio Broadcasting plus), which have solved some of the problems in previous standards and have been gradually adopted by various countries.
在DAB+的标准中,采用了高效能进阶音频编码(High EfficiencyAdvanced Audio Coding,HE-AAC)的编码方式编码压缩音频数据内容,而可以提升接收品质广播音频数据内容的音质。事实上,一般具备进阶音频编码(Advanced Audio Coding,AAC)解码能力的音频解码器在获得足够数据参数的情况下,皆具有对HE-AAC解码的能力,例如一般的数字电视晶片或数字音频播放器中所包括的音频解码器。然而,在DAB+的标准中将利用HE-AAC编码的音频数据以音频超帧(Audio Super Frame,ASF)的形式传送,并将解码所需的数据参数存放于音频超帧的标头中。如此一来,即使是具备AAC解码能力的音频解码器也无法直接解码音频数据并进行播放。In the DAB+ standard, the High Efficiency Advanced Audio Coding (HE-AAC) encoding method is used to encode and compress the audio data content, which can improve the sound quality of the receiving quality broadcast audio data content. In fact, audio decoders with advanced audio coding (Advanced Audio Coding, AAC) decoding capabilities generally have the ability to decode HE-AAC when sufficient data parameters are obtained, such as general digital TV chips or digital audio Audio codec included in the player. However, in the DAB+ standard, the audio data encoded by HE-AAC is transmitted in the form of Audio Super Frame (ASF), and the data parameters required for decoding are stored in the header of the audio super frame. As a result, even an audio decoder with AAC decoding capability cannot directly decode and play audio data.
发明内容 Contents of the invention
本发明提供一种音频数据处理装置及其方法,使得音频解码器可从无法辨识的档头中获取解码所需的文件信息以进行解码。The present invention provides an audio data processing device and its method, so that an audio decoder can obtain file information needed for decoding from an unidentifiable file header for decoding.
本发明提供一种音频数据处理装置,包括一处理单元及一音频解码器。处理单元接收音频数据流,其中音频数据流包括符合一通讯协议的第一文件标头,以及以一音频压缩格式编码的音频数据。处理单元解析音频数据流以分离第一文件标头及音频数据,根据第一文件标头产生至少一文件信息,并根据至少一文件信息得到第二文件标头,其中第二文件标头符合一国际影音编码标准。音频解码器耦接处理单元,从处理单元接收第二文件标头及音频数据,并根据第二文件标头解压缩音频数据流。The invention provides an audio data processing device, which includes a processing unit and an audio decoder. The processing unit receives the audio data stream, wherein the audio data stream includes a first file header conforming to a communication protocol, and audio data encoded in an audio compression format. The processing unit parses the audio data stream to separate the first file header and the audio data, generates at least one file information according to the first file header, and obtains a second file header according to the at least one file information, wherein the second file header conforms to a International audio and video coding standard. The audio decoder is coupled to the processing unit, receives the second file header and the audio data from the processing unit, and decompresses the audio data stream according to the second file header.
本发明提供一种音频数据处理方法,包括以下步骤。首先,接收音频数据流,其中音频数据流包括符合一通讯协议的第一文件标头,以及以一音频压缩格式编码的音频数据。然后,解析音频数据流以分离第一文件标头及音频数据,并根据第一文件标头得到至少一文件信息。接着,根据至少一文件信息产生第二文件标头,其中第二文件标头符合一国际影音编码标准。再者,根据第二文件标头解压缩音频数据流。The invention provides an audio data processing method, which includes the following steps. First, an audio data stream is received, wherein the audio data stream includes a first file header conforming to a communication protocol, and audio data encoded in an audio compression format. Then, the audio data stream is parsed to separate the first file header and the audio data, and at least one file information is obtained according to the first file header. Next, a second file header is generated according to at least one file information, wherein the second file header conforms to an international audio-video coding standard. Furthermore, the audio data stream is decompressed according to the second file header.
基于上述,本发明提供一种音频数据处理装置及其方法,能够从符合一通讯协议的文件档头中获取解码所需的数据信息,再将这些文件信息制作为音频解码器可辨识的格式,使得音频解码器可以根据这些文件信息进行解码并进行播放。Based on the above, the present invention provides an audio data processing device and method thereof, which can obtain data information required for decoding from a file header conforming to a communication protocol, and then make these file information into a format recognizable by an audio decoder. The audio decoder can decode and play according to these file information.
为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合所附图式作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.
附图说明 Description of drawings
图1为根据本发明一实施例所示的音频数据处理装置的装置方块图。FIG. 1 is a device block diagram of an audio data processing device according to an embodiment of the present invention.
图2为根据本发明一实施例所示的音频数据处理方法的步骤流程图。FIG. 2 is a flow chart of steps of an audio data processing method according to an embodiment of the present invention.
其中,附图标记说明如下:Wherein, the reference signs are explained as follows:
10:音频数据处理装置10: Audio data processing device
110:处理单元110: processing unit
120:音频解码器120: audio codec
AS:音频数据流AS: audio data stream
FH2:文件标头FH2: File header
AD:音频数据AD: audio data
DAS:已解压缩音频数据DAS: Decompressed Audio Data
S101~S104:步骤S101~S104: steps
具体实施方式 Detailed ways
图1为根据本发明一实施例所示的音频数据处理装置的装置方块图。请参照图1,音频数据处理装置10包括处理单元110及音频解码器120。处理单元110接收音频数据流AS。在本实施例中,音频数据流AS符合DAB+标准的格式,包括以ASF格式封装的标头及音频数据内容,其中音频数据内容则是以HE-AAC的格式编码压缩。值得一提的是,在此仅为详细说明本发明的内容,但本发明并不限定于上述的通讯协议及编码格式。FIG. 1 is a device block diagram of an audio data processing device according to an embodiment of the present invention. Referring to FIG. 1 , the audio data processing device 10 includes a processing unit 110 and an audio decoder 120 . The processing unit 110 receives an audio data stream AS. In this embodiment, the audio data stream AS conforms to the format of the DAB+ standard, including headers and audio data content encapsulated in the ASF format, wherein the audio data content is encoded and compressed in the HE-AAC format. It is worth mentioning that this is only a detailed description of the content of the present invention, but the present invention is not limited to the above-mentioned communication protocol and encoding format.
处理单元110解析音频数据流AS以分离第一文件标头及音频数据AD。处理单元110便根据第一文件标头产生至少一文件信息,其中至少一文件信息包括解码HE-AAC格式的音频数据所不能或缺的文件信息,例如关于储存音频数据以及传输音频数据的参数等。处理单元110并根据至少一文件信息得到第二文件标头FH2。The processing unit 110 parses the audio data stream AS to separate the first file header and the audio data AD. The processing unit 110 generates at least one piece of file information according to the first file header, wherein at least one piece of file information includes file information indispensable for decoding audio data in HE-AAC format, such as parameters for storing audio data and transmitting audio data, etc. . The processing unit 110 obtains the second file header FH2 according to at least one piece of file information.
第二文件标头FH2为符合国际影音编码标准的文件标头,例如对应于以HE-AAC的方式编码而成的音频数据AD,第二文件标头FH2符合动态影像专家组第二版标准(Moving Picture Experts Group-2,MPEG-2)或动态影像专家组第四版标准(Moving Picture Experts Group-4,MPEG-4)。解码所需的数据则以对应上述国际影音编码标准的方式存入第二文件档头FH2。例如,解码所需的传输数据及储存数据,则分别以音频数据传输流(Audio DataTransport Stream,ADTS)的格式以及音频数据交换格式(Audio DataInterchange Format,ADIF)储存于第二文件标头FH2之中。The second file header FH2 is a file header conforming to the international audio-visual coding standard, for example, corresponding to the audio data AD encoded in the HE-AAC mode, and the second file header FH2 conforms to the second edition of the standard of the Motion Picture Experts Group ( Moving Picture Experts Group-2, MPEG-2) or the fourth edition of the Moving Picture Experts Group standard (Moving Picture Experts Group-4, MPEG-4). The data required for decoding is stored in the second file header FH2 in a manner corresponding to the above-mentioned international audio-video coding standard. For example, the transmission data and storage data required for decoding are stored in the second file header FH2 in the format of Audio DataTransport Stream (ADTS) and Audio Data Interchange Format (ADIF) respectively. .
值得一提的是,由于HE-AAC格式被定义于MPEG-4标准中,虽然第二文件标头FH2被处理单元110制作成符合MPEG-2标准的格式也可利用后端的具有AAC解码能力的音频解码器(例如音频解码器120)成功进行解码,但在本实施例中,利用处理单元110将第二文件标头FH2制作成符合MPEG-4标准的格式为一较佳的实施方式。然而本发明并不限定于上述的实施方式,重点在于,提供后端(例如音频解码器120)可以辨识的文件标头格式。It is worth mentioning that since the HE-AAC format is defined in the MPEG-4 standard, although the second file header FH2 is made into a format conforming to the MPEG-2 standard by the processing unit 110, the back-end AAC decoding capability can also be used. The audio decoder (such as the audio decoder 120 ) successfully decodes, but in this embodiment, using the processing unit 110 to make the second file header FH2 into a format conforming to the MPEG-4 standard is a preferred implementation. However, the present invention is not limited to the above-mentioned embodiments, and the point is to provide a file header format that can be recognized by the backend (such as the audio decoder 120 ).
请继续参照图1,音频解码器120耦接处理单元110,从处理单元110接收第二文件标头FH2及音频数据AD,并接着根据第二文件标头FH2解压缩音频数据AS得到已解压缩音频数据DAS,并进一步的解压缩音频数据DAS进行播放。Please continue to refer to FIG. 1, the audio decoder 120 is coupled to the processing unit 110, receives the second file header FH2 and the audio data AD from the processing unit 110, and then decompresses the audio data AS according to the second file header FH2 to obtain decompressed audio data DAS, and further decompress the audio data DAS for playback.
在本实施例中,音频解码器120具有解码以AAC格式编码而成的音频数据的能力。其中,由于HE-AAC编码格式具有向下相容的能力,具备解码AAC格式音频数据的音频解码器120也可解码由HE-AAC格式所编码而成的音频数据(例如音频数据AD)。由于音频解码器120具有解码AAC格式音频数据的能力,也具备辨认符合MPEG-2标准或MPEG-4标准的格式的能力。因此,音频解码器120在解码音频数据AD时,可从第二文件标头FH2中获取解码所需的信息,例如以ADTS格式储存的传输数据以及以ADIF格式储存的储存数据,并根据这些信息解码音频数据AD得到已解压缩音频数据DAS,进而进行播放。In this embodiment, the audio decoder 120 is capable of decoding audio data encoded in the AAC format. Wherein, since the HE-AAC encoding format has downward compatibility, the audio decoder 120 capable of decoding audio data in the AAC format can also decode audio data (such as audio data AD) encoded in the HE-AAC format. Since the audio decoder 120 has the ability to decode the audio data in the AAC format, it also has the ability to recognize the format conforming to the MPEG-2 standard or the MPEG-4 standard. Therefore, when decoding the audio data AD, the audio decoder 120 can obtain information required for decoding from the second file header FH2, such as the transmission data stored in the ADTS format and the storage data stored in the ADIF format, and according to these information The audio data AD is decoded to obtain the decompressed audio data DAS, and then played.
图2为根据本发明一实施例所示的音频数据处理方法的步骤流程图。请参照图2,首先于步骤S101时,接收音频数据流,其中音频数据流包括符合一通讯协议的第一文件标头,以及以一音频压缩格式编码的音频数据。然后于步骤S102时,解析音频数据流以分离第一文件标头及音频数据,并根据第一文件标头得到至少一文件信息。接着于步骤S103时,根据至少一文件信息产生第二文件标头,其中第二文件标头符合一国际影音编码标准。再者于步骤S104时,根据第二文件标头解压缩音频数据流。方法中详细的实施方式可参照上述图1的实施例的说明,在此不赘述。FIG. 2 is a flow chart of steps of an audio data processing method according to an embodiment of the present invention. Please refer to FIG. 2 , first in step S101 , an audio data stream is received, wherein the audio data stream includes a first file header conforming to a communication protocol, and audio data encoded in an audio compression format. Then in step S102, the audio data stream is parsed to separate the first file header and the audio data, and at least one file information is obtained according to the first file header. Next, in step S103, a second file header is generated according to at least one file information, wherein the second file header complies with an international audio-video coding standard. Furthermore, in step S104, the audio data stream is decompressed according to the second file header. For detailed implementation of the method, reference may be made to the description of the embodiment in FIG. 1 above, and details are not repeated here.
综上所述,本发明提供一种音频数据处理装置及其方法,当音频解码器具备音频数据编码格式(例如AAC格式或HE-AAC格式)的解码能力时,可通过处理单元先行于无法辨认的格式,例如DAB+标准中的ASF格式的音频数据流的标头中获取编码所需的信息,转换为音频解码器可辨认的格式,例如符合MPEG-2或MPEG-4标准的标头格式,让音频解码器通过可辨认的标头格式获取编码所需的信息,进而顺利的进行解码。To sum up, the present invention provides an audio data processing device and method thereof. When the audio decoder has the ability to decode audio data encoding formats (such as AAC format or HE-AAC format), the processing unit can be ahead of the unrecognizable For example, the information required for encoding is obtained from the header of the audio data stream in the ASF format in the DAB+ standard, and converted into a format recognizable by the audio decoder, such as the header format conforming to the MPEG-2 or MPEG-4 standard, Let the audio decoder obtain the information required for encoding through the recognizable header format, and then decode smoothly.
虽然本发明已以实施例揭露如上,然其并非用以限定本发明,任何所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,故本发明的保护范围当视后附的申请专利范围所界定者为准。Although the present invention has been disclosed as above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the scope of the appended patent application.
Claims (12)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012100226776A CN103219009A (en) | 2012-01-20 | 2012-01-20 | Audio data processing device and method thereof |
| TW101106314A TW201331931A (en) | 2012-01-20 | 2012-02-24 | Apparatus for audio data processing and method therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012100226776A CN103219009A (en) | 2012-01-20 | 2012-01-20 | Audio data processing device and method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103219009A true CN103219009A (en) | 2013-07-24 |
Family
ID=48816735
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2012100226776A Pending CN103219009A (en) | 2012-01-20 | 2012-01-20 | Audio data processing device and method thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103219009A (en) |
| TW (1) | TW201331931A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104007977A (en) * | 2014-06-09 | 2014-08-27 | 威盛电子股份有限公司 | Electronic device and audio playing method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1684523A (en) * | 2003-11-26 | 2005-10-19 | 三星电子株式会社 | Method and device for encoding/decoding audio bitstream with auxiliary information |
| CN101322375A (en) * | 2005-10-31 | 2008-12-10 | Sk电信有限公社 | Audio data packet format and decoding method thereof, method for correcting installation error of codec in mobile communication terminal, and mobile communication terminal executing the method |
| CN101611630A (en) * | 2006-10-17 | 2009-12-23 | 韩国电子通信研究院 | The composition file form of digital multimedia broadcasting contents, handle the method and apparatus of the digital multimedia broadcasting contents of this form |
| CN102089811A (en) * | 2008-07-11 | 2011-06-08 | 弗朗霍夫应用科学研究促进协会 | Audio encoders and decoders for encoding and decoding audio samples |
-
2012
- 2012-01-20 CN CN2012100226776A patent/CN103219009A/en active Pending
- 2012-02-24 TW TW101106314A patent/TW201331931A/en unknown
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1684523A (en) * | 2003-11-26 | 2005-10-19 | 三星电子株式会社 | Method and device for encoding/decoding audio bitstream with auxiliary information |
| CN101322375A (en) * | 2005-10-31 | 2008-12-10 | Sk电信有限公社 | Audio data packet format and decoding method thereof, method for correcting installation error of codec in mobile communication terminal, and mobile communication terminal executing the method |
| CN101611630A (en) * | 2006-10-17 | 2009-12-23 | 韩国电子通信研究院 | The composition file form of digital multimedia broadcasting contents, handle the method and apparatus of the digital multimedia broadcasting contents of this form |
| CN102089811A (en) * | 2008-07-11 | 2011-06-08 | 弗朗霍夫应用科学研究促进协会 | Audio encoders and decoders for encoding and decoding audio samples |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104007977A (en) * | 2014-06-09 | 2014-08-27 | 威盛电子股份有限公司 | Electronic device and audio playing method |
| US9978384B2 (en) | 2014-06-09 | 2018-05-22 | Via Technologies, Inc. | Audio decoding using modulator-demodulator |
| CN110083221A (en) * | 2014-06-09 | 2019-08-02 | 威盛电子股份有限公司 | Electronic device and audio frequency playing method |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201331931A (en) | 2013-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20100324915A1 (en) | Encoding and decoding apparatuses for high quality multi-channel audio codec | |
| US9378743B2 (en) | Audio encoding method and system for generating a unified bitstream decodable by decoders implementing different decoding protocols | |
| CN1862970A (en) | Audio decoding device | |
| CN106796797B (en) | Sending device, sending method, receiving device and receiving method | |
| JP2005006336A (en) | Digital multimedia broadcasting (dmb) transmitter/ receiver, and its transmitting/receiving method | |
| JP7567953B2 (en) | Receiving device and receiving method | |
| CN102254560B (en) | Audio processing method in mobile digital television recording | |
| JP2025124902A (en) | Information processing device, information processing method, and program | |
| WO2023051367A1 (en) | Decoding method and apparatus, and device, storage medium and computer program product | |
| CN202907119U (en) | Digital television terminal with WIFI display function | |
| EP2276192A2 (en) | Method and apparatus for transmitting/receiving multi - channel audio signals using super frame | |
| JP2025026730A (en) | Information processing device, information processing method, and program | |
| CN102075817A (en) | Method and system for forwarding audio and video data | |
| CN103620678B (en) | Bit stream transmitting device and method, bit stream transmitting and receiving system, bit stream receiving device and method, and bit stream | |
| CN110392276B (en) | Live broadcast recording and broadcasting method based on Real Time Messaging Protocol (RTMP) synchronous transmission MIDI | |
| KR20040084508A (en) | Apparatus and Its Method of Multiplexing Multimedia Data to DAB Data | |
| CN103219009A (en) | Audio data processing device and method thereof | |
| EP2084704B1 (en) | Apparatus and method for transmitting or replaying multi-channel audio signal | |
| US20130191133A1 (en) | Apparatus for audio data processing and method therefor | |
| KR20110025367A (en) | Multimedia transcoding client device and method | |
| CN108259987A (en) | Mobile terminal low delay DST PLAYER and playback method | |
| KR101435815B1 (en) | Broadcasting system and audio data processing method | |
| JP7756120B2 (en) | Transmitting device, transmitting method, receiving device and receiving method | |
| CN107493505B (en) | Device and method for video and audio transcoding supporting dual audio output | |
| JP2020010292A (en) | Transmission method of broadcast signal transmission device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C53 | Correction of patent of invention or patent application | ||
| CB02 | Change of applicant information |
Address after: Taiwan, China Hsinchu Science Park 62 Industrial Park Road, No. two, building two Applicant after: CHENGYI ELECTRONICS CO. LTD. Address before: Taiwan, China Hsinchu Science Park 62 Industrial Park Road, No. two, building two Applicant before: Keystone Semiconductor Corp. |
|
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130724 |