KR100752874B1 - Decoding control method for audio frame - Google Patents

Decoding control method for audio frame Download PDF

Info

Publication number
KR100752874B1
KR100752874B1 KR1020050027762A KR20050027762A KR100752874B1 KR 100752874 B1 KR100752874 B1 KR 100752874B1 KR 1020050027762 A KR1020050027762 A KR 1020050027762A KR 20050027762 A KR20050027762 A KR 20050027762A KR 100752874 B1 KR100752874 B1 KR 100752874B1
Authority
KR
South Korea
Prior art keywords
stream
decoding
sampling frequency
header
audio
Prior art date
Application number
KR1020050027762A
Other languages
Korean (ko)
Other versions
KR20060105931A (en
Inventor
김연정
Original Assignee
엘지전자 주식회사
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020050027762A priority Critical patent/KR100752874B1/en
Publication of KR20060105931A publication Critical patent/KR20060105931A/en
Application granted granted Critical
Publication of KR100752874B1 publication Critical patent/KR100752874B1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16BDEVICES FOR FASTENING OR SECURING CONSTRUCTIONAL ELEMENTS OR MACHINE PARTS TOGETHER, e.g. NAILS, BOLTS, CIRCLIPS, CLAMPS, CLIPS OR WEDGES; JOINTS OR JOINTING
    • F16B2/00Friction-grip releasable fastenings
    • F16B2/02Clamps, i.e. with gripping action effected by positive means other than the inherent resistance to deformation of the material of the fastening
    • F16B2/14Clamps, i.e. with gripping action effected by positive means other than the inherent resistance to deformation of the material of the fastening using wedges
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16BDEVICES FOR FASTENING OR SECURING CONSTRUCTIONAL ELEMENTS OR MACHINE PARTS TOGETHER, e.g. NAILS, BOLTS, CIRCLIPS, CLAMPS, CLIPS OR WEDGES; JOINTS OR JOINTING
    • F16B2/00Friction-grip releasable fastenings
    • F16B2/02Clamps, i.e. with gripping action effected by positive means other than the inherent resistance to deformation of the material of the fastening
    • F16B2/06Clamps, i.e. with gripping action effected by positive means other than the inherent resistance to deformation of the material of the fastening external, i.e. with contracting action
    • F16B2/08Clamps, i.e. with gripping action effected by positive means other than the inherent resistance to deformation of the material of the fastening external, i.e. with contracting action using bands
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16BDEVICES FOR FASTENING OR SECURING CONSTRUCTIONAL ELEMENTS OR MACHINE PARTS TOGETHER, e.g. NAILS, BOLTS, CIRCLIPS, CLAMPS, CLIPS OR WEDGES; JOINTS OR JOINTING
    • F16B2/00Friction-grip releasable fastenings
    • F16B2/20Clips, i.e. with gripping action effected solely by the inherent resistance to deformation of the material of the fastening
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16LPIPES; JOINTS OR FITTINGS FOR PIPES; SUPPORTS FOR PIPES, CABLES OR PROTECTIVE TUBING; MEANS FOR THERMAL INSULATION IN GENERAL
    • F16L3/00Supports for pipes, cables or protective tubing, e.g. hangers, holders, clamps, cleats, clips, brackets
    • F16L3/08Supports for pipes, cables or protective tubing, e.g. hangers, holders, clamps, cleats, clips, brackets substantially surrounding the pipe, cable or protective tubing
    • F16L3/12Supports for pipes, cables or protective tubing, e.g. hangers, holders, clamps, cleats, clips, brackets substantially surrounding the pipe, cable or protective tubing comprising a member substantially surrounding the pipe, cable or protective tubing
    • F16L3/137Supports for pipes, cables or protective tubing, e.g. hangers, holders, clamps, cleats, clips, brackets substantially surrounding the pipe, cable or protective tubing comprising a member substantially surrounding the pipe, cable or protective tubing and consisting of a flexible band
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02GINSTALLATION OF ELECTRIC CABLES OR LINES, OR OF COMBINED OPTICAL AND ELECTRIC CABLES OR LINES
    • H02G3/00Installations of electric cables or lines or protective tubing therefor in or on buildings, equivalent structures or vehicles
    • H02G3/30Installations of cables or lines on walls, floors or ceilings
    • H02G3/32Installations of cables or lines on walls, floors or ceilings using mounting clamps

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

본 발명은 오디오 프레임(audio frame)에 있어서, 특히 로 스트림 포맷을 인식하고 그 인식된 로 스트림 포맷을 샘플링 주파수를 이용하여 복호화할 수 있도록 한 오디오 프레임의 복호 제어 방법을 제공함에 있다. The present invention provides a method for controlling decoding of an audio frame in which an audio frame, in particular, recognizes a low stream format and can decode the recognized low stream format using a sampling frequency.

본 발명은 AAC 기반의 오디오 데이터 복호화 방법에 있어서, 오디오 스트림을 서치하는 단계; 상기 스트림 헤더 유무를 확인하는 단계; 상기 스트림 헤더가 검색되면 해당 포맷으로 복호화를 수행하는 단계; 상기 복호화 수행시, 복호화가 정상적으로 수행되지 않을 경우 다음 프레임의 시작 위치에서 복호화를 수행하는 수순을 일정 횟수 반복하며, 복호화가 정상적으로 이루어지지 않을 경우 로 스트림으로 인식하는 단계; 상기 로 스트림으로 인식되면 샘플링 주파수 정보를 이용하여 복호화를 수행하는 단계를 포함하는 것을 특징으로 한다. The present invention provides an AAC-based audio data decoding method comprising: searching an audio stream; Checking the presence or absence of the stream header; Performing decoding in a corresponding format when the stream header is found; During the decoding, if the decoding is not normally performed, repeating the decoding process at a start position of the next frame a predetermined number of times, and recognizing it as a stream if the decoding is not normally performed; If it is recognized as the raw stream, characterized in that it comprises the step of performing decoding using the sampling frequency information.

AAC, ADIF, ADTS, 복호화, 로 스트림 AAC, ADIF, ADTS, Decryption, Row Stream

Description

오디오 프레임의 복호 제어 방법{Decoding control method for audio frame}Decoding control method for audio frame

도1은 ADIF 헤더 구조를 나타낸 도면.1 illustrates an ADIF header structure.

도 2는 ADTS 헤더 구조를 나타낸 도면.2 illustrates an ADTS header structure.

도 3은 본 발명 실시 예에 따른 오디오 프레임의 복호 제어 방법을 나타낸 플로우 챠트.3 is a flowchart illustrating a decoding control method of an audio frame according to an exemplary embodiment of the present invention.

도 4는 ADIF 헤더를 가진 비트 스트림 구조를 나타낸 도면.4 illustrates a bit stream structure with an ADIF header.

도 5는 ADTS 헤더를 가진 비트 스트림 구조를 나타낸 도면.5 illustrates a bit stream structure with an ADTS header.

도 6은 1채널 AAC 비트 스트림 세그먼트 구조를 나타낸 도면6 is a diagram illustrating a one-channel AAC bit stream segment structure.

도 7은 2채널 AAC 비트 스트림 세그먼트 구조를 나타낸 도면.7 illustrates a two-channel AAC bit stream segment structure.

도 8은 본 발명에 따른 오디오 스트림의 복호 제어 방법의 프로그램 예를 나타낸 도면.8 is a diagram showing a program example of a method for controlling decoding of an audio stream according to the present invention;

본 발명은 오디오 프레임(audio frame)에 있어서, 특히 로 스트림 포맷을 인식하고 그 인식된 로 스트림 포맷을 샘플링 주파수를 이용하여 복호화할 수 있도록 한 오디오 프레임의 복호 제어 방법을 제공함에 있다. The present invention provides a method for controlling decoding of an audio frame in which an audio frame, in particular, recognizes a low stream format and can decode the recognized low stream format using a sampling frequency.

CD(Compact Disk)를 시초로하여 발전된 디지털 오디오는 대용량의 데이터를 효과적으로 전송 또는 저장하기 위해 오디오를 압축하여 저장 용량을 줄이는 기술이 개발되기 시작하였다. 1992년부터 MPEG(Moving Picture Experts Group) 주도하에 오디오 부호화 방법이 국제 표준화되기 시작하였으며, 이외에도 Dolby, Sony, AT&T 등에서도 자체적인 오디오 부호화 방법을 개발하였다.Digital audio, developed from the beginning of compact disks (CDs), has been developed to reduce storage capacity by compressing audio in order to efficiently transmit or store large amounts of data. Since 1992, the audio coding method has been internationally standardized by the Moving Picture Experts Group (MPEG). In addition, Dolby, Sony and AT & T have developed their own audio coding methods.

현재 널리 사용되고 있는 MP3는 MPEG-1,2 오디오 계층(Audio layer) 3을 지칭한다. 일반적으로 MP3는 CD와 유사한 음질을 유지하면서 더 적은 데이터만을 가지도록 부호화하는 방법들이 개발되어 지고 있다. 이러한 방법들은 전송대역을 효율적으로 사용하여야 하는 무선 환경에서 우선적으로 채택되어 사용되고 있으며, 그 활용범위는 점점 넓어져 가고 있는 추세이다.MP3, which is widely used at present, refers to MPEG-1, 2 audio layer 3. In general, MP3 has been developed to encode less data while maintaining sound quality similar to that of CD. These methods are preferentially adopted and used in a wireless environment that requires efficient use of the transmission band, and the range of their application is increasing.

96kbps의 데이터로 MP3 128kbps와 유사한 음질을 제공하여, 무선 환경의 VOD(Video On Demand), AOD(Audio On Demand) 등에서 많이 사용되는 MPEG-2/4 AAC(Advanced Audio Coding)의 경우가 그 대표적인 예로서, 최근 발매되는 MP3 플레이어에 다중 오디오 복호화기로 AAC 또한 지원하는 제품들이 등장하고 있다.A typical example is MPEG-2 / 4 AAC (Advanced Audio Coding), which is widely used in VOD (Video On Demand), AOD (Audio On Demand), etc., providing sound quality similar to MP3 128kbps with 96kbps of data. Recently, MP3 players have been introduced to support AAC as a multiple audio decoder.

AAC 파일은 인터페이스 포맷으로 ADIF(Audio Data Interchange Format)와 ADTS(Audio Data Transport Stream) 헤더를 가지고 있는데, 부호화기에 따라 이들 헤더를 가지지 않는 로 스트림(raw stream)의 형태의 AAC 파일의 생성도 가능하다. 일반적으로 파일의 맨 앞에 오는 헤더의 정보를 이용하여 복호화에 필요한 테이블이나 프레임 경계 등의 설정을 할 수 있기 때문에, 이들 정보를 찾지 못하면 복호 화가 불가능하게 되며, 특히 로 스트림의 경우는 헤더 정보가 없기 때문에 일반적인 복호화기에서는 재생이 불가능하게 된다.The AAC file has the Audio Data Interchange Format (ADIF) and the Audio Data Transport Stream (ADTS) headers as interface formats. Depending on the encoder, the AAC file can also generate an AAC file in the form of a raw stream without these headers. . In general, since the table or frame boundary required for decoding can be set by using the header information at the beginning of the file, decoding is impossible if the information is not found. Especially, in the case of a low stream, there is no header information. As a result, playback in a general decoder is impossible.

MPEG의 오디오 부호화 방법 중의 하나인 AAC(Advanced Audio Coding)는 인터페이스 포맷(interface format)으로 도 1에 나타낸 바와 같이 ADIF(Audio Data Interchange Format) 구조이며, 도 2는 ADTS(Audio Data Transport Stream) 구조를 나타내고 있다.AAC (Advanced Audio Coding), which is one of audio coding methods of MPEG, is an interface format, as shown in FIG. 1, and has an audio data interchange format (ADIF) structure, and FIG. 2 shows an audio data transport stream (ADTS) structure. It is shown.

AAC 오디오 콘텐츠 포맷의 경우, 하나의 오디오 콘텐츠는 미리 정해진 시간 단위에 의해 샘플링된 데이터와 오디오 정보를 나타내는 헤더로 구성되어 있으며, 이러한 하나의 블록을 프레임이라고 부르며, 복수개의 블록들 각각에 있는 데이터 블록(raw_data_block)에는 오디오 데이터가 존재하며, 각 데이터 블록(raw_data_block)에 대응하여 붙여진 헤더부 필드에 오디오 콘텐츠의 제반 정보들을 포함하고 있다.In the case of the AAC audio content format, one audio content is composed of data sampled by a predetermined time unit and a header indicating audio information. This one block is called a frame, and a data block in each of the plurality of blocks is provided. Audio data exists in the raw_data_block, and includes all the information of the audio content in a header field corresponding to each data block raw_data_block.

도 1에 나타낸 바와 같이, ADIF 헤더는 헤더 아이디(adif_id), 저작권 관련 정보(copyright_id_present, copyright_id), 원본/복사본 여부에 관한 정보(original/copy), 홈 관련 정보(home), 비트 스트림 타입 정보(bit stream type), 비트 율 정보(bit rate), 구성정보(num_program_config_element), 버퍼 정보(adif_buffer_fullness), 프로그램 구성 정보(program_config_element) 등을 포함하고 있다. 도면에서 각 필드내에 병기된 수치는 해당 정보에 할당된 비트 수를 표현하고 있다.As shown in FIG. 1, the ADIF header includes a header ID (adif_id), copyright-related information (copyright_id_present, copyright_id), information on whether or not the original is copied (original / copy), home-related information (home), and bit stream type information ( bit stream type, bit rate information, configuration information (num_program_config_element), buffer information (adif_buffer_fullness), program configuration information (program_config_element), and the like. Numerical values written in each field in the figure represent the number of bits allocated to the corresponding information.

한편, 도 2와 같이 ADTS 헤더는 각 프레임마다 그 값이 변하지 않는 불변헤 더(ADTS_fixed_header)와 각 프레임 고유의 수치를 저장하고 있는 가변헤더(ADTS_varialbe_header)로 나뉘어 진다. 불변헤더에는 싱크워드 정보(sync word), 아이디 정보(ID), 레이어 정보(layer), 프로텍션 정보(protection_absent), 프로파일 정보(profile), 샘플링 주파수 정보(sampling_freq._index), 프라이비트 정보(private_bit), 채널 구성정보(channel_config.), 원본/복사본 여부에 대한 정보(original/copy), 홈 정보(home) 등을 포함하고 있다. 가변헤더에는 저작권 관련 정보(copyright_id_bit, copyright_id_start), 프레임 길이 정보(frame_length), 버퍼 정보(adts_buffer_fullness), 프레임 내의 로 데이터 블록(raw data block)에 관련된 정보(num._of_raw_data_blocks_in_frame) 등을 포함하고 있다. ADTS 헤더의 종단에는 에러 체크 필드(ADTS_error_check)가 있고 에러 체크를 위한 정보(crc_chek)가 포함되고 있다.On the other hand, as shown in FIG. 2, the ADTS header is divided into an invariant header (ADTS_fixed_header) whose value does not change for each frame and a variable header (ADTS_varialbe_header) that stores numerical values specific to each frame. The immutable header includes sync word information (sync word), ID information (ID), layer information (layer), protection information (protection_absent), profile information (profile), sampling frequency information (sampling_freq._index), and private information (private_bit). , Channel configuration information (channel_config.), Original / copy information (original / copy), home information (home) and the like. The variable header includes copyright related information (copyright_id_bit, copyright_id_start), frame length information (frame_length), buffer information (adts_buffer_fullness), information related to a raw data block in a frame (num._of_raw_data_blocks_in_frame), and the like. There is an error check field (ADTS_error_check) at the end of the ADTS header, and information for error check (crc_chek) is included.

AAC 인터페이스 포맷 중에서 ADTS는 매 프레임 마다 헤더(header)를 가지고 있기 때문에 오버헤드(overhead)가 큰 반면에 스트림 중간에 에러가 발생하더라도 다음 프레임을 해당 프레임 헤더를 이용해서 찾을 수 있기 때문에 계속해서 디코딩(decoding)을 수행할 수 있는 장점을 가지고 있다. 그렇지만 ADIF는 파일의 선두에만 헤더를 가지고 있기 때문에 오버헤드(overhead)는 적은 반면에 스트림 중간에 에러가 발생하면 다음 프레임의 시작 위치를 찾아가는 것이 어려운 단점을 가지고 있다.Among the AAC interface formats, ADTS has a large overhead because each frame has a header.However, if an error occurs in the middle of the stream, the next frame can be found using the frame header. has the advantage of performing decoding. However, because ADIF has a header only at the head of the file, the overhead is small, but when an error occurs in the middle of the stream, it is difficult to find the start of the next frame.

AOD(Audio On Demand)나 방송과 같이 스트리밍 형식으로 전달되는 데이터는 전파의 수신 상태나 인터넷 망의 상태에 따른 여러가지 통신 환경에 의해서 중간에 스트림이 손실되어 전달될 가능성을 다분히 가지고 있다.Data delivered in streaming format, such as AOD (Audio On Demand) or broadcasting, has a great possibility of being lost and transmitted in the middle by various communication environments depending on the reception state of the radio wave or the state of the Internet network.

이로 인하여 디코딩하기 위해 필요한 오디오 프레임 데이터가 부분적으로 손상되거나 아예 몇 프레임 이상 손실되는 경우도 발생할 수 있다. 따라서 이러한 오디오 데이터 스트림의 손실에 대응하는 것은 매우 중요하게 고려하고 처리해야 할 사항이 된다.As a result, the audio frame data necessary for decoding may be partially damaged or lost by more than a few frames. Therefore, dealing with such loss of the audio data stream is a very important matter to consider and deal with.

앞서 설명한 바와 같이 ADTS 포맷은 에러가 발생하면 다음 프레임의 시작 부분을 다시 찾아서 디코딩을 할 수 있지만, ADIF 포맷이나 ADTS와 ADIF 포맷을 가지지 않는 로 스트림(raw stream)의 경우는 에러가 발생하더라도 다음 프레임의 시작 부분을 찾지 못하기 때문에 이로 인하여 더 이상 디코딩을 수행하지 못하는 상태에 빠지게 되고 디코딩 과정을 종료하게 된다.As mentioned earlier, the ADTS format can find and decode the beginning of the next frame when an error occurs, but in the case of a raw stream that does not have the ADIF format or the ADTS and ADIF formats, the next frame can be used even if an error occurs. Since the start of is not found, this results in a state in which decoding can no longer be performed and the decoding process is terminated.

즉, 종래의 AAC 기반 오디오 디코딩 시스템에서는 오디오 데이터 스트림이 중간에 손실될 때 디코딩이 중단되고, 이로 인하여 오디오 재생 품질이 현저하게 떨어지는 것은 물론, 해당 디코딩 시스템에 대한 신뢰성이 떨어지게 되는 문제점이 있다.That is, in the conventional AAC-based audio decoding system, decoding is interrupted when the audio data stream is lost in the middle, which causes a significant drop in audio reproduction quality and a decrease in reliability of the decoding system.

본 발명은 파일 시작 위치에 스트림 헤더가 오지 않는 경우에 대해 ACC 플레이어가 어떤 포맷의 스트림이 수신되었는지를 파악하고, 만약 로 스트림이 들어왔을 경우 이것이 어떤 채널 정보와 샘플링 주파수 정보를 가지고 들어왔는지를 파악하여 재생을 할 수 있도록 한 오디오 프레임의 복호 제어 방법을 제공함에 있다.According to the present invention, when the stream header does not come to the beginning of the file, the ACC player determines what format the stream has been received, and if the stream is received, what channel information and sampling frequency information has been received. The present invention provides a decoding control method of an audio frame to enable playback.

본 발명은 오디오 스트림을 서치하고, 그 스트림 선두에 ADIF/ADTS 헤더를 가지고 있는지 유무를 파악한 후, 상기 ADIF/ADTS 헤더가 없거나 복호화되지 않는 스트림에 대해 복호화할 수 있도록 한 오디오 프레임의 복호 제어 방법을 제공함에 있다.The present invention provides a method of controlling decoding of an audio frame by searching for an audio stream, determining whether or not an ADIF / ADTS header is included at the head of the stream, and then decoding the stream without or without decoding the ADIF / ADTS header. In providing.

본 발명은 로 스트림 형태의 AAC 파일에 ADIF의 아이디나 ADTS의 동기워드(syncword)와 동일한 스트림 배열 형태를 가지고 있어, ADIF 또는 ADTS 헤더로 판명되었을 경우, 이것이 잘못 판단되었음을 확인하고 다시 로 데이터 포맷으로 판명할 수 있도록 하며, 로 스트림으로 판명되었을 때 샘플링 주파수 값을 변화시켜 가면서 정상적으로 복호화가 수행되는 주파수를 찾아서 재생을 할 수 있도록 함에 있다.The present invention has a stream arrangement form identical to the ID of ADIF or the sync word of ADTS in a raw stream type AAC file. It is possible to find out, and to change the sampling frequency value when it turns out to be a low stream, to find and play back a frequency where decoding is normally performed.

상기 목적을 달성하기 위한 본 발명의 오디오 프레임의 복호 제어 방법은, Decoding control method of an audio frame of the present invention for achieving the above object,

AAC 기반의 오디오 데이터 복호화 방법에 있어서,In the AAC-based audio data decoding method,

오디오 스트림을 서치하는 단계;Searching for the audio stream;

상기 스트림 헤더 유무를 확인하는 단계;Checking the presence or absence of the stream header;

상기 스트림 헤더가 검색되면 해당 포맷으로 복호화를 수행하는 단계;Performing decoding in a corresponding format when the stream header is found;

상기 복호화 수행시, 복호화가 정상적으로 수행되지 않을 경우 다음 프레임의 시작 위치에서 복호화를 수행하는 수순을 일정 횟수 반복하며, 복호화가 정상적으로 이루어지지 않을 경우 로 스트림으로 인식하는 단계;During the decoding, if the decoding is not normally performed, repeating the decoding process at a start position of the next frame a predetermined number of times, and recognizing it as a stream if the decoding is not normally performed;

상기 로 스트림으로 인식되면 샘플링 주파수 정보를 이용하여 복호화를 수행 하는 단계를 포함하는 것을 특징으로 한다. If it is recognized as the raw stream, characterized in that it comprises the step of performing decoding using the sampling frequency information.

바람직하게, 상기 스트림 헤더는 ADIF 또는 ADTS 헤더인 것을 특징으로 한다. Preferably, the stream header is characterized in that the ADIF or ADTS header.

바람직하게, 상기 스트림 헤더가 검색되지 않으면 로 스트림으로 인식하는 것을 특징으로 한다. Preferably, if the stream header is not found, the stream is recognized as a low stream.

구체적으로, 상기 로 스트림에 대한 복호화 단계는, 이전 프레임에 대해 정상적으로 복호화되는 샘플링 주파수 후보군을 찾는 단계; 상기 후보군 중에서 높은 샘플링 주파수로 재생하는 단계를 포함하는 것을 특징으로 한다. Specifically, the decoding of the raw stream may include finding a sampling frequency candidate group that is normally decoded with respect to a previous frame; And reproducing at a high sampling frequency among the candidate groups.

구체적으로, 상기 샘플링 주파수로 재생시, 정상 속도로 재생이 이루어지는 가를 확인한 후, 정상 속도로 재생이 이루어지지 않으면 정상속도로 재생이 될 때까지 상기 후보군 중에서 낮은 샘플링 주파수로 찾아 재생시키는 단계를 더 포함하는 것을 특징으로 한다. Specifically, when reproducing at the normal sampling rate, when reproducing at the normal speed, and if the reproducing is not performed at the normal speed, further comprising the step of finding and reproducing at a low sampling frequency from the candidate group until reproducing at the normal speed; Characterized in that.

구체적으로, 상기 정상 속도로의 재생 여부를 사용자로부터 확인받은 후, 낮은 샘플링 주파수로 전환할 지를 결정하는 단계를 더 포함하는 것을 특징으로 한다. Specifically, the method may further include determining whether to switch to a low sampling frequency after receiving confirmation from the user about whether to play at the normal speed.

본 발명의 다른 실시 예에 따른 오디오 프레임의 복호 제어 방법은, 파일 시작 위치에 ADIF 또는 ADTS 헤더가 나오지 않는 파일의 포맷을 분석하는 단계; 상기 분석결과, 로 스트림일 경우 샘플링 주파수 군에 따라 차례로 샘플링 주파수를 가변시키면서 재생 속도에 맞는 샘플링 주파수를 찾아 재생시키는 단계를 포함하는 것을 특징으로 한다. According to another aspect of the present invention, there is provided a method for controlling decoding of an audio frame, the method comprising: analyzing a format of a file in which an ADIF or ADTS header does not appear at a file start position; As a result of the analysis, it is characterized in that it comprises the step of finding and reproducing the sampling frequency suitable for the reproduction speed while varying the sampling frequency in accordance with the sampling frequency group in the case of a low stream.

구체적으로, 상기 샘플링 주파수 군내의 가장 높은 샘플링 주파수부터 단계적으로 더 낮은 샘플링 주파수로 가변시켜 주면서, 복호화를 수행하는 것을 특징으로 한다. Specifically, decoding is performed while varying from the highest sampling frequency in the sampling frequency group to a lower sampling frequency in stages.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예를 설명한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.

본 발명에서는 파일 맨 앞에 오디오 스트림 헤더 예를 들면, ADTS/ADIF 헤더 유무를 확인하게 된다. 이때, ADTS/ADIF 헤더가 없는 경우 AAC 플레이어가 어떤 포맷의 스트림이 수신되는지를 확인한 후, 로 스트림에 대해 채널 정보 및 샘플링 주파수를 이용하여 복호화하여 재생될 수 있도록 함에 그 특징이 있다.In the present invention, the presence of an audio stream header, for example, an ADTS / ADIF header, is checked at the beginning of the file. In this case, when there is no ADTS / ADIF header, the AAC player checks which format the stream is received, and then decodes and reproduces the raw stream using channel information and sampling frequency.

또한 본 발명에서는 로 스트림으로 판정되었을 때, 샘플링 주파수 값을 변화시켜 가면서 정상적으로 복호화가 수행되는 주파수를 찾아서 재생할 수 있도록 함에 그 특징이 있다.In addition, the present invention is characterized in that it is possible to find and reproduce a frequency for which decoding is normally performed while changing the sampling frequency value when it is determined as a low stream.

이하 첨부된 도면을 참조하여 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings as follows.

도 3은 본 발명 실시 예에 따른 오디오 스트림 복호화 방법을 나타낸 플로우 챠트이다.3 is a flowchart illustrating an audio stream decoding method according to an exemplary embodiment of the present invention.

도 3을 참조하면, 수신되는 AAC 기반의 오디오 스트림을 서치(Search)하게 된다(S101). 이때, 상기 수신되는 스트림의 시작 위치에 도 1 및 도 2와 같은 ADIF 또는 ADTS 헤더를 찾았는가를 확인하게 된다(S102). 다시 말하면, AAC 파일이 입력되면 ADIF/ADTS 헤더 유무를 파악하게 되는데, 32비트로 구성된 ADIF ID 또는 12비트로 구성된 ADTS의 동기 워드와 동일한 배열을 가지는 스트림이 있는지를 검색하게 된다. 이때, 일치하는 배열이 있으면 ADIF 또는 ADTS 포맷으로 간주되며, 해당 포맷의 구문(syntax)를 적용하여 복호화를 시도하게 된다.Referring to FIG. 3, the received AAC-based audio stream is searched (S101). At this time, it is checked whether the ADIF or ADTS header shown in FIGS. 1 and 2 is found at the start position of the received stream (S102). In other words, if the AAC file is input, the presence or absence of the ADIF / ADTS header is checked. The search is performed to determine whether there is a stream having the same array as the 32-bit ADIF ID or the 12-bit ADTS sync word. At this time, if there is a matching array, it is regarded as an ADIF or ADTS format, and the decryption is attempted by applying the syntax of the format.

상기 S102의 확인결과, 헤더를 찾았으면 ADIF 또는 ADTS 포맷으로 간주하여 복호화를 시도하게 되며(S103), 정상적으로 복호화가 이루어지면 종료하게된다(S104). As a result of checking in S102, if a header is found, decoding is regarded as an ADIF or ADTS format and attempted to decrypt (S103).

그러나, S102의 확인결과, 스트림 시작 위치에서 ADIF 또는 ADTS 헤더를 찾지 못하거나, 또는 S104에서 정상적인 복호화가 되지 않는 경우, 로 스트림으로 간주하여 경계 조건에 따른 첫 프레임 시작 위치를 찾게 된다.However, as a result of checking in S102, when the ADIF or ADTS header is not found at the stream start position or when normal decoding is not performed in S104, the first frame start position according to the boundary condition is found as a low stream.

도 4는 ADIF 헤더를 가진 비트 스트림 구조이며, 도 5는 ADTS 헤더를 가진 비트 스트림 구조를 보여준다. 4 shows a bit stream structure with an ADIF header, and FIG. 5 shows a bit stream structure with an ADTS header.

도 4에 나타낸 바와 같이 ADIF나 로(raw) 포맷의 매 프레임의 시작은 엘리먼트 아이디(ele_id) 라는 3비트(3bit)의 데이터로 시작한다. 이 엘리먼트 아이디(ele_id)는 매 프레임에서 사용될 수 있는 엘리먼트(element) 들의 아이디(id)를 나타내는 것으로써, 모바일(mobile) AOD 환경에서는 ID_SCE[000], ID_CPE[001], ID_FIL[110], ID_END[111]의 4가지가 주로 사용된다.As shown in FIG. 4, the start of every frame in the ADIF or raw format starts with three bits of data called an element ID ele_id. This element ID (ele_id) represents IDs of elements that can be used in every frame. In a mobile AOD environment, ID_SCE [000], ID_CPE [001], ID_FIL [110], ID_END Four of [111] are mainly used.

이 중에서 ID_SCE[000]는 1채널(mono)의 데이터를 가지고 있으며, ID_CPE[001]는 2채널(stereo)의 데이터를 가지고 있다. ID_FIL[110]의 경우는 비트율(bitrate)을 맞추어 주기 위한 데이터(null data) 혹은 AAC+와 같은 확장된 기능을 위한 데이터들을 포함한다. ID_END[111]는 프레임의 끝을 알려주는 엘리먼트이다. Among them, ID_SCE [000] has data of one channel (mono), and ID_CPE [001] has data of two channels (stereo). The case of ID_FIL [110] includes data for adjusting bitrate or data for extended function such as AAC +. ID_END [111] is an element indicating the end of a frame.

이러한 ADIF 헤더를 가진 비트 스트림 구조는 ADIF 헤더를 갖고, 각 프레임 내에 엘리먼트 아이디, 로 데이터 블록으로 구성된다.The bit stream structure with this ADIF header has an ADIF header and consists of a block of data, element ID, within each frame.

도 5에 도시된 ADTS 헤더를 가진 비트 스트림 구조를 보면, 각 프레임에 ADTS 동기, ADTS 헤더, 엘리먼트 아이디, 로 데이터 블록으로 구성된다.Referring to the bit stream structure having the ADTS header shown in FIG. 5, each frame includes an ADTS synchronization, an ADTS header, an element ID, and a low data block.

도 6 및 도 7은 상기 엘리먼트들이 프레임을 구성하는 여러가지 형태를 보여준다. 일반적으로 모노(mono) 채널의 프레임은 도 6과 같이 ID_SCE[000]로 시작해서 ID_FIL[110]로 끝나며, 도 7과 같이 스테레오(stereo) 채널의 프레임은 ID_CPE[001]로 시작해서 ID_FIL[110]로 끝난다.6 and 7 illustrate various forms in which the elements constitute a frame. In general, the frame of a mono channel starts with ID_SCE [000] and ends with ID_FIL [110] as shown in FIG. 6, and the frame of a stereo channel starts with ID_CPE [001] and ID_FIL [110 as shown in FIG. 7. Ends with].

그리고, 상기 S102의 확인결과에서 ADIF/ADTS 헤더를 찾지 못할 경우이거나 S104의 복호화 수행시 정상적으로 복호화가 수행되지 않으면, 상기 스트림을 로 스트림으로 간주하여 경계 조건에 따른 첫 프레임 시작 위치를 찾게 된다.If the ADIF / ADTS header is not found in the confirmation result of S102 or if decoding is not normally performed when decoding of S104, the stream is regarded as a low stream and the first frame start position is found according to a boundary condition.

여기서, S104의 복호화시 정상적으로 복호화가 되지 않는 프레임은, 로 스트림 형태의 AAC 파일인데, ADIF의 아이디나 ADTS의 동기 워드와 동일한 스트림 배열 형태를 가지고 있는 경우이다. 이런 경우 ADIF 또는 ADTS 헤더로 판명되더라도 잘못 판정되어 다시 로 데이터 포맷으로 판정할 수 있게 된다.Here, the frame that is not normally decoded at the time of decoding in S104 is a low-stream AAC file, which has the same stream arrangement type as the ID of ADIF or the sync word of ADTS. In this case, even if it is found as an ADIF or ADTS header, it is wrongly determined and can be determined as a low data format.

그러므로, 만약 디코딩 과정에서 에러가 있는 프레임이 발생하여 이후의 다음 프레임 시작 위치를 찾을 때, 이전의 정상 디코딩된 프레임의 채널 정보 즉, 상기 열거한 엘리먼트 아이디(ele_id)를 참조하면 다음 프레임의 시작 위치에 올 엘리먼트 아이디(ele_id)를 예상할 수 있게 된다. 예를 들어, 정상 디코딩된 이전 프레임으로부터 얻은 채널정보가 ID_SCE[000]이라면 다음에 올 프레임은 모노채널 프레임으로 간주할 수 있고, ID_CPE[001]이라면 다음에 올 프레임은 스테레오 채널 프레임으로 간주할 수 있으므로, 전자의 경우는 ID_SCE[000]이 출현하는 위치를 찾으면 되고, 후자의 경우는 ID_CPE[001]이 출현하는 위치를 찾으면 일단 이 위치가 다음 프레임의 시작 위치인 것으로 간주할 수 있는 것이다. 그렇지만 우연하게 비슷한 비트 배열이 있을 수 있기 때문에 더욱 신뢰성 높은 프레임 검색과 인식을 위하여 여러 가지 다양한 검증과 확인 과정이 필요하다. 이와 같은 검증 및 확인을 위하여 엘리먼트 인스턴스 태그(element_instance_tag)와 ID_END[111]를 이용한다.Therefore, if an error occurs in the decoding process and the next frame start position is found, referring to the channel information of the previous normal decoded frame, that is, the element ID ele_id listed above, the start position of the next frame You can expect the element ID (ele_id) to come in. For example, if the channel information obtained from a normal decoded previous frame is ID_SCE [000], the next frame may be regarded as a monochannel frame, and if ID_CPE [001], the next frame may be regarded as a stereo channel frame. In the former case, the position where ID_SCE [000] appears is found. In the latter case, once the position where ID_CPE [001] appears, this position can be regarded as the start position of the next frame. However, because there may be similar bit arrays by chance, many different verification and verification processes are required for more reliable frame retrieval and recognition. Element instance tag (element_instance_tag) and ID_END [111] are used for such verification and confirmation.

앞서 설명한 ID_SCE[000]와 ID_CPE[001]의 경우 모두 4비트의 엘리먼트 인스턴스 태그(element_instance_tag) 데이터를 가지고 있다. 이는 같은 프레임 내에 여러 개의 엘리먼트가 동시에 사용될 때 이를 구분하기 위해서 사용되는 것으로, 일반적으로 프레임 맨 앞에 나오는 엘리먼트는 이 엘리먼트 인스턴스 태그(element_instance_tag) 값이 [0000]을 가지게 된다.Both ID_SCE [000] and ID_CPE [001] described above have 4-bit element instance tag (element_instance_tag) data. This is used to distinguish when several elements are used in the same frame at the same time. In general, an element at the beginning of the frame has an element instance tag (element_instance_tag) value of [0000].

또한, 매 프레임을 끝내는 ID_END 엘리먼트[111] 다음에는 바이트 얼라인(byte align)이 있은 후에 프레임의 시작부분(ID_SCE나 ID_CPE를 나타내는 ele_id)이 오게 된다. ADTS 헤더와 같이 명확한 구분은 아니지만 이런 부분적인 프레임의 시작, 끝 데이터를 하나의 지표로 이용하여 상기한 바와 같이 에러 발생시에 프레임 경계를 찾을 수 있는 것이다.The ID_END element [111] that ends each frame is followed by the beginning of the frame (ele_id indicating ID_SCE or ID_CPE) after byte alignment. Although it is not a clear distinction like the ADTS header, it is possible to find the frame boundary when an error occurs as described above by using the start and end data of this partial frame as an index.

여기서, 다음 프레임의 시작 위치는 이전에 정상 디코딩된 프레임으로부터 얻은 채널 정보를 토대로 해서 에러 발생 이후의 다음 프레임 시작 위치에 올 엘리먼트 아이디(ele_id) 값과 엘리먼트 인스턴스 태그(element_instance_tag) 값을 예상하고 이 값이 출현하는 위치의 비트 스트림을 찾아내면 그 위치가 다음 프레임의 시작 위치인 것으로 간주할 수 있는 것이다.Here, the start position of the next frame is based on the channel information obtained from a previously decoded frame, and the element ID (ele_id) value and the element instance tag (element_instance_tag) value to be expected at the start position of the next frame after the error is estimated If we find the bit stream of this emerging position, we can assume that the position is the start of the next frame.

이와 같이, S105에서 상기 로 스트림의 경계 조건에 따른 첫 프레임의 시작 위치를 찾으면, 이전 프레임 중에서 정상 복호화되는 샘플링 주파수의 후보 군을 찾게 된다. 상기 후보 군 중에서 높은 샘플링 주파수로 복호화하면서 재생하게 된다(S107). As such, when the starting position of the first frame according to the boundary condition of the raw stream is found in S105, a candidate group of sampling frequencies normally decoded from the previous frame is found. In the candidate group, playback is performed while decoding at a high sampling frequency (S107).

이때, 정상속도로 재생이 되는지를 확인한 후(S108), 정상속도로 재생이 되지 않을 경우 상기 후보 군 중에서 낮은 샘플링 주파수로 복호화하면서 재생하게 된다(S109). 즉, 샘플링 주파수를 낮추어 가면서 정상적인 재생속도가 나올 때까지 복호화를 수행하게 된다. 이때, 정상적인 재생 속도 여부는 사용자가 현재 재생되는 스트림이 정상적으로 출력되는지를 확인하게 되며, 실제 속도보다 빠른 경우 사전에 정의된 키 입력을 함으로써, 같은 샘플링 주파수 군에서 낮은 샘플링 주파수 값으로 전환하여 재생할 수 있게 된다. 다른 예로서, 샘플링 주파수를 적용할 때 가장 낮은 주파수부터 차례데로 주파수를 높여 가면서 적용할 수도 있거, 임의의 적용 순서에 의해 적용할 수도 있다.At this time, after confirming that playback is performed at the normal speed (S108), if playback is not performed at the normal speed, the playback is performed while decoding at a low sampling frequency among the candidate groups (S109). In other words, while lowering the sampling frequency, decoding is performed until a normal reproduction speed is obtained. In this case, whether the normal playback speed is normal or not, the user checks whether the stream being played is normally output. If the playback speed is faster than the actual speed, the user inputs a pre-defined key input to switch to a lower sampling frequency value in the same sampling frequency group. Will be. As another example, when applying the sampling frequency may be applied while increasing the frequency in order from the lowest frequency, it may be applied by any order of application.

구체적으로, ADIF/ADTS 헤더에서 가장 중요한 정보는 샘플링 주파수 정보로써, 이 정보에 따라 AAC 내부에서 사용되는 스케일 팩터 밴드(Scalefactor band) 테이블이 달라지게 된다. 이 경우 스케일팩터 개수 및 오프셋(offset) 값도 달라지게 되며, 그 결과 복호화 과정에서 쓰이는 데이터 양이 달라지게 된다. 따라서, 잘못된 샘플링 주파수로 설정되는 경우 전혀 복호화가 되지 않게 된다.Specifically, the most important information in the ADIF / ADTS header is sampling frequency information, and the scale factor band table used in the AAC is changed according to this information. In this case, the number of scale factors and the offset value are also different, and as a result, the amount of data used in the decoding process is different. Therefore, when the wrong sampling frequency is set, decoding is not performed at all.

이와 반대로, 로 스트림은 샘플의 주파수 정보만 정확하게 파악이 가능하면, 정상적인 복호화가 가능하게 된다. 예를 들면, 채널 정보는 로 스트림의 맨 처음 3비트에 해당되는 엘리먼트 아이디 값을 이용하여 파악이 가능하게 된다.On the contrary, if a raw stream can accurately grasp only frequency information of a sample, normal decoding can be performed. For example, the channel information can be identified using an element ID value corresponding to the first 3 bits of the raw stream.

그리고, AAC 파일에서 사용되는 샘플링 주파수는 예컨대, 8~96khz의 범위에서 미리 정의된 12가지 주파수가 사용된다. 그리고, 스케일 팩터 밴드 테이블은 비슷한 샘플링 주파수 상호간은 같은 테이블을 공유하게 된다. 예를 들면, 롱 윈도우의 스케일 팩터 테이블의 경우 96/88.1khz, 22.05/24khz, 12/11.025/8khz는 같은 테이블을 사용하고 있다. 따라서, 로 스트림 AAC 파일의 경우 같은 테이블을 사용하는 샘플링 주파수 군에서는 같은 복호화 결과를 얻을 수 있다.As the sampling frequency used in the AAC file, for example, 12 predefined frequencies in the range of 8 to 96 khz are used. The scale factor band tables share the same table among similar sampling frequencies. For example, in the case of a long window scale factor table, 96 / 88.1khz, 22.05 / 24khz, and 12 / 11.025 / 8khz use the same table. Therefore, in the case of the low stream AAC file, the same decoding result can be obtained in the sampling frequency group using the same table.

이러한 특징을 이용하여, S107과 같이 각 샘플링 주파수 군에서 가장 높은 샘플링 주파수 값을 사용하여 복호화를 수행하게 된다. 이때, 정상적으로 복호화가 되지 않는 경우 다음 샘플링 주파수 값을 이용하여 다시 복호화를 시도하게 된다. 이를 반복하여, 정상적으로 복호화가 된 경우 재생을 하면서 사용자에게 현재 플레이되는 것이 정상적인 재생 속도인지, 확인하는 과정을 거친다(S108). 만약, 실제 재생속도 보다 빠를 경우 S109와 같이 샘플링 주파수 군에서 낮은 샘플링 주파수 값으로 전환해서 재생을 하게 된다.Using this feature, decoding is performed using the highest sampling frequency value in each sampling frequency group as shown in S107. At this time, if decoding is not normally performed, decoding is attempted again using the next sampling frequency value. By repeating this, if the decoding is normally performed, the process of checking whether the current playing speed is normal to the user while playing is checked (S108). If it is faster than the actual playback speed, playback is performed by switching to a lower sampling frequency value in the sampling frequency group as shown in S109.

한편, 도 8은 상기에서 설명한 오디오 스트림 복호화 방법이 적용된 프로그램의 예를 나타낸 도면이다.8 is a diagram illustrating an example of a program to which the audio stream decoding method described above is applied.

도 8에 도시된 바와 같이, 입력되는 AAC 파일은 16khz의 샘플링 주파수를 가지는 로 스트림일 경우, 최초 48khz부터 제대로 복호화가 되는 부분을 찾을 때까지 샘플링 주파수 군을 하나씩 적용(48khz, 32khz, 24khz, 22.050khz, 16khz)해 가면 서 시도하다가, 16khz에 대해 제대로 복호화가 되어 샘플링 주파수로 선택되어 재생되고 있다.As shown in FIG. 8, when the input AAC file is a low stream having a sampling frequency of 16khz, one sampling frequency group is applied one by one until the portion to be properly decoded from the first 48khz (48khz, 32khz, 24khz, 22.050). Khz, 16khz) is attempted, and 16khz is correctly decoded and selected and reproduced as a sampling frequency.

본 발명에서는 파일 서두에 헤더가 나오지 않는 파일에 대해 그 파일 포맷을 분석하고, 분석된 파일 포맷이 로 스트림일 경우 샘플링 주파수 군에 따라 차례로 샘플링 주파수를 변경해 가면서 적합한 샘플링 주파수를 찾아 복호화하고 재생할 수 있도록 함으로써, 유선 및 무선으로 수신받는 AAC 플레이어에서 에러 컨텐츠에 유연하게 대응할 수 있는 효과가 있다.In the present invention, the file format is analyzed for a file whose header does not appear at the beginning of the file, and when the analyzed file format is a low stream, the sampling frequency is sequentially changed according to the sampling frequency group so that a suitable sampling frequency can be found, decoded, and played back. As a result, the AAC player, which is wired and wirelessly received, can flexibly respond to the error content.

Claims (8)

부호화된 오디오 데이터 스트림에 포함되는 부가정보에 근거하여 해당 오디오 데이터 스트림을 복호화하는 방법에 있어서,A method of decoding an audio data stream based on additional information included in an encoded audio data stream, 오디오 스트림을 서치하는 단계;Searching for the audio stream; 상기 스트림 헤더 유무를 확인하는 단계;Checking the presence or absence of the stream header; 상기 스트림 헤더가 검색되면 해당 포맷으로 복호화를 수행하는 단계;Performing decoding in a corresponding format when the stream header is found; 상기 복호화 수행시, 복호화가 정상적으로 수행되지 않을 경우 다음 프레임의 시작 위치에서 복호화를 수행하는 수순을 일정 횟수 반복하며, 복호화가 정상적으로 이루어지지 않을 경우 로 스트림으로 인식하는 단계;During the decoding, if the decoding is not normally performed, repeating the decoding process at a start position of the next frame a predetermined number of times, and recognizing it as a stream if the decoding is not normally performed; 상기 로 스트림으로 인식되면 이전 오디오 프레임 중에서 정상 복호화되는 샘플링 주파수 정보를 이용하여 복호화를 수행하는 단계를 포함하는 것을 특징으로 하는 오디오 프레임의 복호 제어 방법. And decoding using the sampling frequency information which is normally decoded among previous audio frames when the raw stream is recognized as the raw stream. 제 1항에 있어서,The method of claim 1, 상기 스트림 헤더는 ADIF 또는 ADTS 헤더인 것을 특징으로 하는 오디오 프레임의 복호 제어 방법.The stream header is a decoding control method of an audio frame, characterized in that the ADIF or ADTS header. 제 1항에 있어서,The method of claim 1, 상기 스트림 헤더가 검색되지 않으면 로 스트림으로 인식하는 것을 특징으로 하는 오디오 프레임의 복호 제어 방법.And if the stream header is not found, recognize the stream as a raw stream. 제 1항에 있어서, The method of claim 1, 상기 로 스트림에 대한 복호화 단계는, The decoding step for the raw stream, 이전 프레임에 대해 정상적으로 복호화되는 샘플링 주파수 후보군을 찾는 단계;Finding a sampling frequency candidate group normally decoded for the previous frame; 상기 후보군 중에서 높은 샘플링 주파수로 재생하는 단계를 포함하는 것을 특징으로 하는 오디오 프레임의 복호 제어 방법.And reproducing at a high sampling frequency among the candidate groups. 제 4항에 있어서, The method of claim 4, wherein 상기 샘플링 주파수로 재생시, 정상 속도로 재생이 이루어지는 가를 확인한 후, 정상 속도로 재생이 이루어지지 않으면 정상속도로 재생이 될 때까지 상기 후보군 중에서 샘플링 주파수를 낮추어 가면서 복호화를 수행하는 단계를 더 포함하는 것을 특징으로 하는 오디오 프레임의 복호 제어 방법.When reproducing at the normal speed when reproducing at the sampling frequency, if the reproducing is not performed at the normal speed, further performing decoding while lowering the sampling frequency among the candidate groups until reproducing at the normal speed; Decoding control method of an audio frame, characterized in that. 제 5항에 있어서The method of claim 5 상기 정상 속도로의 재생 여부를 사용자로부터 확인받은 후, 낮은 샘플링 주파수로 전환할 지를 결정하는 단계를 더 포함하는 것을 특징으로 하는 오디오 프레임의 복호 제어 방법.And determining whether to switch to a low sampling frequency after receiving confirmation from the user of whether to play at the normal speed. 부호화된 오디오 파일에 포함되는 부가정보에 근거하여 해당 오디오 데이터를 복호화하는 방법에 있어서,In the method for decoding the audio data based on the additional information included in the encoded audio file, 파일 시작 위치에 ADIF 또는 ADTS 헤더가 나오지 않는 파일의 포맷을 분석하는 단계;Analyzing a format of a file that does not have an ADIF or ADTS header at a file start position; 상기 분석결과, 로 스트림일 경우 이전 오디오 프레임 중에서 정상 복호화되는 샘플링 주파수 군에 따라 차례로 샘플링 주파수를 가변시키면서 재생 속도에 맞는 샘플링 주파수를 찾아 재생시키는 단계를 포함하는 것을 특징으로 하는 오디오 프레임의 복호 제어 방법.And, in the case of a low stream, searching and reproducing a sampling frequency suitable for a reproduction speed while sequentially changing sampling frequencies according to a sampling frequency group normally decoded among previous audio frames. . 제 7항에 있어서,The method of claim 7, wherein 상기 샘플링 주파수 군내의 가장 높은 샘플링 주파수부터 단계적으로 더 낮은 샘플링 주파수로 변경하면서 복호화를 수행하는 것을 특징으로 하는 오디오 프레임의 복호 제어 방법.And performing decoding while changing from the highest sampling frequency in the sampling frequency group to a lower sampling frequency step by step.
KR1020050027762A 2005-04-01 2005-04-01 Decoding control method for audio frame KR100752874B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050027762A KR100752874B1 (en) 2005-04-01 2005-04-01 Decoding control method for audio frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050027762A KR100752874B1 (en) 2005-04-01 2005-04-01 Decoding control method for audio frame

Publications (2)

Publication Number Publication Date
KR20060105931A KR20060105931A (en) 2006-10-12
KR100752874B1 true KR100752874B1 (en) 2007-08-29

Family

ID=37626711

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050027762A KR100752874B1 (en) 2005-04-01 2005-04-01 Decoding control method for audio frame

Country Status (1)

Country Link
KR (1) KR100752874B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112509591B (en) * 2020-12-04 2024-05-14 北京百瑞互联技术股份有限公司 Audio encoding and decoding method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002335230A (en) 2001-05-11 2002-11-22 Victor Co Of Japan Ltd Method and device for decoding audio encoded signal
KR20030080984A (en) * 2002-04-08 2003-10-17 마츠시타 덴끼 산교 가부시키가이샤 Multimedia data decoder
KR20050050468A (en) * 2003-11-25 2005-05-31 삼성전자주식회사 Method for searching sync word in the encoded audio bitstream and computer readable medium thereof
KR20050076386A (en) * 2004-01-20 2005-07-26 엘지전자 주식회사 Aac descrambling method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002335230A (en) 2001-05-11 2002-11-22 Victor Co Of Japan Ltd Method and device for decoding audio encoded signal
KR20030080984A (en) * 2002-04-08 2003-10-17 마츠시타 덴끼 산교 가부시키가이샤 Multimedia data decoder
KR20050050468A (en) * 2003-11-25 2005-05-31 삼성전자주식회사 Method for searching sync word in the encoded audio bitstream and computer readable medium thereof
KR20050076386A (en) * 2004-01-20 2005-07-26 엘지전자 주식회사 Aac descrambling method

Also Published As

Publication number Publication date
KR20060105931A (en) 2006-10-12

Similar Documents

Publication Publication Date Title
CN1977565B (en) Acoustic device and reproduction mode setting method
CN101777369B (en) The universal container of voice data
JP4354455B2 (en) Playback apparatus and playback method
US20090216543A1 (en) Method and apparatus for encoding and decoding an audio signal
US8190441B2 (en) Playback of compressed media files without quantization gaps
US7507894B2 (en) Sound data encoding apparatus and sound data decoding apparatus
KR20030011095A (en) Trick play for MP3
US7479594B2 (en) Sound data encoding apparatus and sound decoding apparatus
JP2001505348A (en) Apparatus and method for reproducing a digital audio signal from a record carrier
KR20030011910A (en) Data record medium, data recording method and apparatus, and data transmitting method and apparatus
KR100752874B1 (en) Decoding control method for audio frame
US7149159B2 (en) Method and apparatus for editing data streams
JP4248026B2 (en) Transmission apparatus for alternately transmitting digital information signals in encoded and unencoded formats
US6813281B1 (en) Method of assigning audio channel identification, method for selecting audio channel using the same, and optical recording and reproducing apparatus suitable therefor
US7231268B1 (en) Method of assigning audio channel identification, method for selecting audio channel using the same, and optical recording and reproducing apparatus suitable therefor
JP2008026662A (en) Data recording device, method, and program
KR100632532B1 (en) Audio frame recognition method
US6694091B1 (en) Method of assigning audio channel identification, method for selecting audio channel using the same, and optical recording and reproducing apparatus suitable therefor
EP1289278A1 (en) Method for assigning audio channel identification, method for selecting audio channel, and optical recording and reproducing apparatus suitable therefor
JP3647387B2 (en) Optical recording / reproducing device
JPH1166754A (en) Multiple channel data recording medium and transmission record and recording device
KR100609173B1 (en) AAC descrambling method
KR100844194B1 (en) Method and device for decodig digital audio data, and recoded medium for performing method of decoding digital audio data
JP4179021B2 (en) Encoding device and encoding method
KR100346724B1 (en) Method for selecting of audio channel

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20100630

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee