Method and apparatus for extracting MP3 file sampling rate

A sampling rate and file technology, applied in static memory, speech analysis, instruments, etc., can solve the problem of unable to extract the sampling rate of MP3 files

Inactive Publication Date: 2010-12-08
VIMICRO CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a method and device for extracting the sampling rate of MP3 files to solve the problem that the sampling rate of MP3 files cannot be effectively extracted in the prior art

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 and apparatus for extracting MP3 file sampling rate
  • Method and apparatus for extracting MP3 file sampling rate
  • Method and apparatus for extracting MP3 file sampling rate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention first determines the starting position of the first frame of the MP3 file, and moves the pointer to the starting position of the first frame; reads the frame header data of the current frame from the pointer and parses it to obtain the frame identifier of the current frame and the next The starting position of the frame; then read and parse the frame header data of the next frame according to the starting position of the next frame to obtain the frame identifier of the next frame; compare the frame identifiers of the two frames, if the frame identifiers of the two frames character is consistent, then analyze the sampling rate of the MP3 file according to the frame identifier, otherwise, the pointer moves down to set the number of bytes, and reads the frame header data of the current frame from the pointer again and analyzes it, according to the analysis The obtained start position of the next frame reads and analyzes the frame header data of the nex...

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

A method for picking up sampling rate of MP3 file includes moving pointer to frame data position of MP3 file to obtain frame identifier of current frame an start-up position of next frame as well as frame identifier of next frame, comparing frame identifier of two frames and analyzing out sampling rate of said MP3 file if identifiers of two frames are the same or otherwise repeating above said steps fill identifiers of two frames are the same. The device used fro realizing said method is also disclosed.

Description

technical field [0001] The invention relates to the field of audio technology, in particular to a method and device for extracting the sampling rate of an MP3 file. Background technique [0002] With the development of audio compression technology, audio files in MP3 (MPEG Audio Layer 3) format are more and more widely used because of their high compression rate, low distortion rate and good openness. The general structure of an MP3 file is as follows figure 1 As shown, a complete MP3 file is composed of identification 3 (ID3 tag, Identification tag) and frame data. Among them, the ID3 tag includes ID3V2 tag and ID3V1 tag. ID3V1 tag is usually stored in the last 128 bytes of the MP3 file, and ID3V2 tag is generally stored in the initial position of the MP3 file. ID3 tag is optional in MP3 file, that is to say, besides frame data, an MP3 file may contain both ID3V2 tag and ID3V1 tag, or may only contain ID3V2 tag or ID3V1 tag, and may also contain ID3V2 tag Neither does th...

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 Patents(China)
IPC IPC(8): G10L19/14G10L19/00G11C7/16
Inventor 梁玉玲
Owner VIMICRO CORP
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