Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for decoding audio frequency frames

An audio frame and audio technology, which is applied in the field of audio frame decoding, can solve the problems that audio cannot be decoded correctly and data cannot be decoded, and achieve the effect of improving production efficiency and production quality.

Inactive Publication Date: 2012-11-07
CHINA DIGITAL VIDEO BEIJING
View PDF14 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, for flv or mp4 files whose audio is in the mp3 encoding format, the audio frame Audio Frame is directly obtained according to the time tag, but the data at the current time point cannot be decoded correctly. For some files that are directly truncated from the mp3 synchronization header audio file, the audio at the beginning of the file cannot be decoded correctly

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
  • Method for decoding audio frequency frames
  • Method for decoding audio frequency frames

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0017] figure 1 It is a flowchart of a method for implementing audio transcoding provided by an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:

[0018] Step 101. Obtain the mp3 audio file of the third layer of audio compressed by the moving image expert, and the mp3 includes: an flv or mp4 file in mp3 encoding format, or an audio file truncated from the mp3 sync header.

[0019] Step 102, generating the audio index of the mp3 audio file, and parsing the mp3 audio file to obtain the numerical range of the accumulated starting position of each frame audio main data and the numerical value of each frame audio main data offset position, corresponding In the two adjacent frames, the end value of the numerical range of the cumulative starting position value of the previous frame is equal to the starting value of the numerical range of the cumulative starting position value of the next frame.

[0020] Step 103. Calculate th...

Embodiment 2

[0024] figure 2 It is a flowchart of a method for implementing audio transcoding provided by an embodiment of the present invention. Such as figure 2 As shown, the method includes the following steps:

[0025] Step 201. Acquire the mp3 audio file of the third layer of audio compression standard of the moving image expert, and the mp3 includes: flv or mp4 file in mp3 encoding format, or an audio file truncated from the mp3 sync header.

[0026] Step 202, generating the audio index of the mp3 audio file, and parsing the mp3 audio file to obtain the numerical range of the accumulated starting position of each frame audio main data and the numerical value of each frame audio main data offset position, corresponding In the two adjacent frames, the end value of the numerical range of the cumulative starting position value of the previous frame is equal to the starting value of the numerical range of the cumulative starting position value of the next frame.

[0027] Step 203. Ca...

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

The invention discloses a method for decoding audio frequency frames, which comprises the following steps: obtaining an mp3 (Moving Picture Experts Group-1 Layer 3) audio file; generating an audio index of the mp3 audio file, analyzing the mp3 audio file, and obtaining the value range of accumulative initial positions of each frame of audio master data as well as values of offset positions of each frame of audio master data; calculating the difference value between a initial value of the value range of the accumulative initial positions of each frame of audio master data and a value of the offset position of corresponding master data, taking the difference value as a dependence reference value, judging that the dependence relation exists or not based on that whether the dependence reference value of each frame is within the value range of the accumulative initial positions of other frames of audio master data; sequentially decoding all frames having the dependence relation with each frame, and obtaining audio sample data of each frame. Through the audio frame decoding method provided by the invention, the producing efficiency and quality are significantly improved.

Description

technical field [0001] The invention relates to the field of audio decoding, in particular to a method for realizing audio frame decoding. Background technique [0002] An MP3 file is composed of frames, and a frame is the smallest unit of an MP3 file. The full name of MP3 should be MPEG1Layer-3 audio file. MPEG (Moving Picture Experts Group) is translated into Chinese as Moving Picture Experts Group, specifically referring to the moving picture expert compression standard. MPEG audio file is the sound part of the MPEG1 standard, also called MPEG Audio layer, which is divided into three layers according to compression quality and encoding complexity, namely Layer-1, Layer2, and Layer3, and corresponds to the three sound files of MP1, MP2, and MP3 respectively, and uses different levels of encoding according to different purposes . The higher the level of MPEG audio coding, the more complex the encoder and the higher the compression ratio. The compression ratios of MP1 and ...

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
IPC IPC(8): G10L19/00
Inventor 谷洁平夏永宏
Owner CHINA DIGITAL VIDEO BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products