Unlock instant, AI-driven research and patent intelligence for your innovation.

Audio file format unification method and device based on ffmpeg and sox

An audio file, unified method technology, applied in the file system, file system management, special data processing applications, etc., can solve problems such as inability to meet, high customer requirements, and achieve the effect of simple operation and conducive to popularization and use

Pending Publication Date: 2021-06-11
浙江百应科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in business processing, customers are required to provide standard wav audio files independently, so as to parse out PCM audio streams. The requirements for customers are too high. For customers who can only provide non-standard wav audio files, they cannot meet business processing such as quality inspection. demand, so the present invention proposes a method for unifying the format of audio files based on ffmpeg and sox, which is convenient for customers to perform format conversion operations for later stage audio detection

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
  • Audio file format unification method and device based on ffmpeg and sox

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with examples, and the following examples are used to illustrate the present invention, but are not used to limit the scope of the present invention.

[0025] Such as figure 1 As shown, the present embodiment relates to a method for unifying audio file formats based on ffmpeg and sox, comprising the following steps:

[0026] (1) Input the initial audio file; the input initial audio format is one of mp3 format, aac format, flag format, amr format, adpcm encoding or non-pcm encoding wav format, ogg format, and vox format;

[0027] (2) Obtain and identify the original audio file format; if the audio is in wav format, read it through the audio reading tool; if it can be read normally, it is standard wav format audio; if it cannot be read, it is non-standard wav Format audio, you need to use the ffmpeg tool to convert to get a standard wav audio f...

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 relates to an audio file format unification method and device based on ffmpeg and sox, and the method comprises the following steps: (1) inputting an initial audio file; (2) acquiring and identifying an initial audio file format; and (3) performing conversion through a sox tool or an ffmpeg tool to obtain a standard wav audio file. For audio files in different formats, such as initial audios of mp3, aac, flag, amr and adpcm coded wav files, ogg format audios and vox format audios, a sox tool or an ffmpeg tool is used for format conversion to obtain a standard wav file, the standard wav file is read by adopting a javax.sound.sampled.AudioSystem class of java, and finally the standard wav format audio file is obtained, so that follow-up business processing such as quality inspection and the like can be performed on the audios subsequently. The accuracy of audio recognition and quality inspection is improved, and the burden of customers is relieved.

Description

technical field [0001] The invention relates to the technical field of audio detection, in particular to a method and device for unifying audio file formats based on ffmpeg and sox. Background technique [0002] Audio format refers to the process of playing or processing audio files in the computer. It is the process of digital and analog conversion of sound files. At present, most of them are PCM (pulse code modulation) voice data, and common audio formats are divided into MP3 and Ogg. , AMR, FLAC, AIFF and other formats, and the WAV format, one of the most common audio formats developed by Microsoft, is a standard digital audio file that supports multiple compression algorithms such as MSADPCM and CCITTALAW, and can record various mono channels Or stereo sound information, and can ensure that the sound is not distorted, and the natural sound waveform is truly recorded, basically without data compression. [0003] Since WAV supports a variety of audio numbers, sampled audi...

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): G06F16/11
CPCG06F16/116
Inventor 董金杰
Owner 浙江百应科技有限公司