CN103905834B - The method and device of audio data coding form conversion - Google Patents

The method and device of audio data coding form conversion Download PDF

Info

Publication number
CN103905834B
CN103905834B CN201410092220.1A CN201410092220A CN103905834B CN 103905834 B CN103905834 B CN 103905834B CN 201410092220 A CN201410092220 A CN 201410092220A CN 103905834 B CN103905834 B CN 103905834B
Authority
CN
China
Prior art keywords
coded format
voice data
data
audio
format
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.)
Active
Application number
CN201410092220.1A
Other languages
Chinese (zh)
Other versions
CN103905834A (en
Inventor
伍以文
金峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201410092220.1A priority Critical patent/CN103905834B/en
Publication of CN103905834A publication Critical patent/CN103905834A/en
Application granted granted Critical
Publication of CN103905834B publication Critical patent/CN103905834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a kind of method of audio data coding form conversion, the method comprising the steps of:When detecting and receiving the conversion instruction that the first coded format voice data is converted into second coded format voice data, the voice data of the first coded format is subjected to decoding process, to obtain the original audio sampled data of corresponding PCM format;Obtained original audio sampled data is encoded by second of coded format, to obtain the voice data of second of coded format.The invention also discloses a kind of device of audio data coding form conversion, it is prevented effectively from the technical problem for re-starting PCM format audio data samples, reduce the workload of audio data coding form conversion, shorten the change-over period of audio data coding form, improve the efficiency of audio data coding form conversion.

Description

The method and device of audio data coding form conversion
Technical field
The present invention relates to digital broadcasting-television signal voice data processing technology field in multicasting technology, more particularly to audio The method and device of data encoding format conversion.
Background technology
In recent years, due to the fast development of computer technology and network technology so that the application of function of TV-like also day Benefit is perfect.Present TV user can not only watch DTV(Digital television, DTV)Signal program, ATV (Analog Television, simulated television)Signal program, moreover it is possible to receive FM(Frequency modulation, frequency modulation) Digital broadcasting-television signal.
At present, due to the development of digitizing technique so that up to tens of kinds of the species of audio data coding form, audio number Coding preservation is carried out according to by different coded formats.In the prior art, in the absence of can be by a kind of audio number of coded format According to being directly changed into another coded format(For example, S48(Stereo is stereo, 48kHz)Form)Voice data technology Scheme, therefore, the voice data to the voice data based on the first coded format to be fabricated to second of coded format, Currently existing scheme is:Need to carry out the voice data PCM again(Pulse-code modulation, source code modulation) Format audio data is sampled to obtain original audio sampled data, and obtained original audio sampled data then is converted into second Plant the voice data of coded format.This currently existing scheme is adopted because needing to re-start voice data PCM format voice data Sample, so as to cause audio data coding form conversion work amount larger, adds the change-over period of audio data coding form, drop Low conversion efficiency.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
The main object of the present invention is prevented effectively from and entered again to provide the method and device of audio data coding form conversion The technical problem of row PCM format audio data samples, reduces the workload of audio data coding form conversion, shortens voice data The change-over period of coded format, improve the efficiency of audio data coding form conversion..
To achieve the above object, the present invention provides a kind of method of audio data coding form conversion, and this method includes step Suddenly:
The first coded format voice data is converted into second coded format voice data when detecting and receiving During conversion instruction, the voice data of the first coded format is subjected to decoding process, to obtain the original of corresponding PCM format Audio sampling data;
Obtained original audio sampled data is encoded by second of coded format, to obtain this second coding lattice The voice data of formula.
Preferably, obtained original audio sampled data is encoded by second of coded format described, to obtain After the step of voice data of second of coded format, this method also includes:
Play the voice data of second of the coded format obtained.
Preferably, it is described to be encoded obtained original audio sampled data by second of coded format, to be somebody's turn to do The step of voice data of second coded format, includes:
The corresponding playback link of voice data of the first coded format is obtained, the acquiescence in the playback link obtained is deleted Sound card data presenter;
The encoder and audio data memory of second of coded format are added in the playback link of acquisition, passes through addition The encoder of second of coded format obtained original audio sampled data is encoded by second of coded format, to obtain Obtain the voice data of second of coded format and be stored in audio data memory.
Preferably, the audio number that second of coded format is converted into when the voice data for having the first coded format According to when, the voice data of the first coded format is subjected to decoding process, adopted with the original audio for obtaining corresponding PCM format Before the step of sample data, this method also includes:
When there is voice data to be played, analyze whether the corresponding coded format of voice data to be played is second of coding Form;
When the corresponding coded format of the voice data to be played is not second of coded format, determine described to be played Voice data is voice data to be converted;
When the corresponding coded format of the voice data to be played is second of coded format, the sound to be played is played Frequency evidence.
Preferably, it is described to be encoded obtained original audio sampled data by second of coded format, to be somebody's turn to do After the step of voice data of second coded format, this method also includes:
Analyze second of the coded format obtained voice data whether can normal play, encode lattice at second of acquisition During the voice data energy normal play of formula, the voice data of the first coded format is deleted.
The present invention further provides a kind of device of audio data coding form conversion, the device includes:
Processing module, second of coding lattice is converted into for working as to detect and receive by the first coded format voice data During the conversion instruction of formula voice data, the voice data of the first coded format is subjected to decoding process, it is corresponding to obtain The original audio sampled data of PCM format;
Modular converter, for obtained original audio sampled data to be encoded by second of coded format, to obtain The voice data of second of coded format.
Preferably, the device also includes playing module,
The playing module, the voice data for playing second of the coded format obtained.
Preferably, the processing module, is additionally operable to obtain the corresponding playback link of voice data of the first coded format, Delete the acquiescence sound card data presenter in the playback link obtained;And
The encoder and audio data memory of second of coded format are added in the playback link of acquisition, passes through addition The encoder of second of coded format obtained original audio sampled data is encoded by second of coded format, to obtain Obtain the voice data of second of coded format and be stored in audio data memory.
Preferably, the device also includes analysis module,
The analysis module, for when there is voice data to be played, analyzing the corresponding coding lattice of voice data to be played Whether formula is second of coded format;And
When the corresponding coded format of the voice data to be played is not second of coded format, determine described to be played Voice data is voice data to be converted;
The playing module, it is second of coded format to be additionally operable in the corresponding coded format of the voice data to be played When, play the voice data to be played.
Preferably, the analysis module, whether the voice data for being additionally operable to second of coded format that analysis is obtained can be just Often play, in the voice data energy normal play of second of coded format of acquisition, encoded the first by processing module The voice data of form is deleted.
Compared with the prior art, the present invention works as to detect and receive and is converted into the first coded format voice data second During the conversion instruction of coded format voice data, the voice data of the first coded format is subjected to decoding process, to obtain The original audio sampled data of corresponding PCM format;Obtained original audio sampled data is carried out by second of coded format Coding, to obtain the voice data of second of coded format.It is prevented effectively from the skill for re-starting PCM format audio data samples Art problem, reduces the workload of audio data coding form conversion, shortens the change-over period of audio data coding form, improves The efficiency of audio data coding form conversion.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the method first embodiment that audio data coding form of the present invention is changed;
The refinement schematic flow sheet that Fig. 2 is step S12 in Fig. 1;
Fig. 3 is the schematic flow sheet for the method second embodiment that audio data coding form of the present invention is changed;
Fig. 4 is the high-level schematic functional block diagram for the device preferred embodiment that audio data coding form of the present invention is changed.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in figure 1, the schematic flow sheet for the method first embodiment changed for audio data coding form of the present invention.
It is emphasized that:Flow chart shown in Fig. 1 is only a preferred embodiment, and those skilled in the art appoints when knowing What should not all depart from the scope covered in following technical scheme around the embodiment that inventive concept is built:
The first coded format voice data is converted into second coded format voice data when detecting and receiving During conversion instruction, the voice data of the first coded format is subjected to decoding process, to obtain the original of corresponding PCM format Audio sampling data;Obtained original audio sampled data is encoded by second of coded format, to obtain this second The voice data of coded format.
The specific steps of audio data coding form conversion are done step-by-step the following is the present embodiment:
Step S11, second of coded format sound is converted into when detecting and receiving by the first coded format voice data During the conversion instruction of frequency evidence, the voice data of the first coded format is subjected to decoding process, to obtain corresponding PCM lattice The original audio sampled data of formula.
In the present embodiment, when getting a voice data, judge current audio data coded format whether be Need or expected coded format(It is preferably second of coded format, such as S48 forms in the present embodiment), in present video When the coded format of data is needs or expected coded format, current audio data is preserved, for subsequently using(Broadcast Put, send digital broadcasting-television signal user etc. to);It is not required to or expected volume in the coded format of current audio data During code form, it is necessary to changed the coded format of current audio data, with the coded format be expected or needed Voice data.It is preferably main body of the audio data coding format conversion apparatus as execution step of the present invention in the present embodiment.
The coded format of current audio data be the first coded format, it is contemplated that coded format for second coding lattice Formula, voice data of the user based on the first coded format sends the first coded format voice data being converted into second The conversion instruction of coded format voice data is planted, the first coded format voice data is converted into second detecting and receiving When planting the conversion instruction of coded format voice data, the voice data of the first coded format is subjected to decoding process, with To the original audio sampled data of corresponding PCM format.
Step S12, obtained original audio sampled data is encoded by second of coded format, with obtain this second Plant the voice data of coded format.
In the present embodiment, obtained original audio sampled data is encoded by second of coded format, to obtain The voice data of second of coded format.With reference to Fig. 2, obtained original audio sampled data is entered by second of coded format Row coding, using obtain second of coded format voice data process as:
Step S1201, obtains the corresponding playback link of voice data of the first coded format, deletes the playback chain obtained Acquiescence sound card data presenter in road;
In the present embodiment, the first coded format voice data is converted into second of coding lattice when detecting and receive During the conversion instruction of formula voice data, the voice data of the first coded format is carried out to render processing, i.e., to this first The link of coded format voice data carries out initialization process, with corresponding time of the voice data for obtaining the first coded format Link is put, the acquiescence sound card data presenter in the playback link obtained is deleted, i.e. do not encode voice data according to the first Form is submitted.
Step S1202, the encoder and voice data that second of coded format is added in the playback link of acquisition is stored Device, is entered obtained original audio sampled data by second of coded format by the encoder of second of coded format of addition Row coding, to obtain the voice data of second of coded format and be stored in audio data memory.
In the present embodiment, deleted by the acquiescence sound card presenter in this of acquisition the first coded format playback link Afterwards, the encoder of second of coded format is added in the playback link of acquisition, and by the coder parameters of addition according to user The parameter setting instruction of transmission is configured, after parameter setting is finished, and the first coded format voice data is decoded The PCM format original sampling data obtained afterwards is encoded into second of coded format voice data, to obtain expected second of volume The voice data of code form, while audio data memory can also be added in the playback link of acquisition, by the of acquisition The voice data of two kinds of coded formats is preserved.In other embodiments of the present invention or in the first coding by this The voice data of form is converted into after the voice data of second of coded format, and audio-frequence player device encodes second of acquisition The voice data of form is played out, or can also be that the voice data of second of coded format of acquisition is passed through into frequency modulation The user that mode is sent to each digital broadcasting-television signal carries out decoding broadcasting.
In order to further preferably explain this programme, below with Dierct Show(Multicast)Technology sound intermediate frequency data encoding This programme is further described exemplified by form transfer process:
Multicasting technology is with COM(Component Object Model, The Component Object Model)For technical foundation.In group The audio data coding conversion broadcast in technology is main by audio data coding form conversion presentation layer, audio data coding form turn Intermediate layer and audio data coding form conversion bottom is changed to realize.Wherein, audio data coding form conversion presentation layer is main Be supplied to audio coding formats transfer function or dynamic base that user directly invokes, including but not limited to audio transfer function, Conversion stops function, conversion pause function, position mapping function, initialization function and anti-initialization function etc.;Voice data is compiled The management and operation support of bottom link are mainly responsible in code form conversion intermediate layer, and the main coding link that includes is built, adds/delete Except operations such as encoder, concatenated coding device, Link State management;Audio data coding form conversion bottom mainly includes Clog Write(Bottom log recording)Function and coding parameter set interface class function, and Clog Write classes are mainly responsible for bottom Regular job and the carry out log recording occurred, it is convenient to audio coding that coding parameter sets interface class mainly to provide interface function Carry out the related setting such as resampling, output data form.Specific audio data coding form transfer process includes:Carrying out When audio data coding form is changed, COM storehouses are initialized first, and create Filter Graph(Encoder link)It is right As example, and obtain the control interface m_pGraph of the example;Logger module object instance is created, and obtains log recording Object instance interface g_LogWrite, and complete the initialization of log recording;Initialize link m_pGraph to Render File (Render file)Obtain source file(The voice data of the first coded format)Acquiescence playback link;Obtain the acquiescence in link The pointer to object of sound card equipment presenter, and remove the sound card equipment presenter;Filter Graph are traveled through, obtains in link and solves Code device to pointer pUpstream;The encoder of needs is added into link, the encoder is obtained first before addition Clsid(Unique identifier), then create the object instance of encoder and obtain pointer to object, finally by m_pGraph extremely Add Filter By Clsid(Recognize exclusive identification code increase encoder)Mode the encoder of needs is added to acquisition Acquiescence playback link.After being adjusted to acquiescence playback link, Query is passed through to the relevant interface of encoder Interface(Interface polls)Method obtain modification parameter operating right, carry out coder parameters setting;Link each The encoder needed constitutes new coding link, runs the voice data of the first coded format being converted into second of coding The voice data of form, it is counter to be initialized after converting, the pointer of various instance objects is discharged, prevents internal memory from accounting for With excessive.
In the present embodiment when the voice data for having the first coded format is converted into the audio number of second of coded format According to when, the voice data of the first coded format is subjected to decoding process, adopted with the original audio for obtaining corresponding PCM format Sample data;Obtained original audio sampled data is encoded by second of coded format, to obtain this second coding lattice The voice data of formula.The technical problem for re-starting PCM format audio data samples is prevented effectively from, audio data coding lattice are reduced The workload of formula conversion, shortens the change-over period of audio data coding form, improves the effect of audio data coding form conversion Rate.
As shown in figure 3, the schematic flow sheet for the method second embodiment changed for audio data coding form of the present invention.Base In above-mentioned first embodiment, after step s 12, this method also includes:
Step S13, analyze obtain second of coded format voice data whether can normal play, the second of acquisition When planting the voice data energy normal play of coded format, the voice data of the first coded format is deleted.
In the present embodiment, successfully by the audio data coding of the first coded format into second of coded format sound Frequency after, analyze second of the coded format obtained voice data whether can normal play, in second of acquisition volume During the voice data energy normal play of code form, the voice data of the first coded format is deleted;In second of volume of acquisition The voice data of code form is when being unable to normal play, and repeat step S11 and step S12 obtain the sound of second of coded format again Frequency evidence, until the voice data energy normal play of second of the coded format obtained.Pass through second of coding lattice in acquisition During the voice data energy normal play of formula, the voice data of the first coded format is deleted, to save memory space, can be carried out The storage of more voice datas.In other embodiments of the present invention, in order to normal in second of coded format energy for ensureing to obtain While broadcasting, memory space reasonably can be managed in time, it is determined that the audio number of second of the coded format obtained After energy normal play, a time interval is preset, when prefixed time interval is reached, by the audio number of the first coded format According to deletion.I.e., within a preset time interval, when the voice data of the first coded format is not used by, or second of volume When the voice data of code form is not damaged, the voice data of the first coded format is deleted.The prefixed time interval can be with It is 1 day or a week etc..Similarly, the original of the PCM format obtained for the voice data decoding by the first coded format Beginning audio sampling data can also do same treatment., can be by the sound of the first coded format in order to preferably save memory space The original audio sampled data for the PCM format that frequency evidence and decoding are obtained, is deleted after one, according still further to above-mentioned side between the two Formula processing.
As shown in figure 4, the functional module signal for the device preferred embodiment changed for audio data coding form of the present invention Figure.The device includes:Processing module 10, analysis module 20, modular converter 30 and playing module 40.
The first coded format voice data, is converted into second by the processing module 10 for working as to detect and receive During the conversion instruction of coded format voice data, the voice data of the first coded format is subjected to decoding process, to obtain The original audio sampled data of corresponding PCM format.
The analysis module 20, for when getting a voice data, judging the coded format of current audio data Whether it is to need or expected coded format.It is to need or expected coded format in the coded format of current audio data (The present embodiment is preferably second of coded format, for example S48 forms)When, current audio data is preserved, for subsequently using (Play, send digital broadcasting-television signal user etc. to);It is not required to or expected in the coded format of current audio data Coded format when, it is necessary to the coded format of current audio data is changed, with the coding be expected or needed The voice data of form.
The coded format of current audio data be the first coded format, it is contemplated that coded format for second coding lattice Formula, voice data of the user based on the first coded format sends the first coded format voice data being converted into second The conversion instruction of coded format voice data is planted, the first coded format voice data is converted into second when detecting and receiving When planting the conversion instruction of coded format voice data, the voice data of the first coded format is subjected to decoding process, with To the original audio sampled data of corresponding PCM format.
The modular converter 30, for obtained original audio sampled data to be encoded by second of coded format, To obtain the voice data of second of coded format.
In the present embodiment, obtained original audio sampled data is encoded by second of coded format, to obtain The voice data of second of coded format.With reference to Fig. 2, obtained original audio sampled data is entered by second of coded format Row coding, to obtain the voice data of second of coded format.Obtain the process of the voice data of second of coded format For:
Processing module 20 obtains the corresponding playback link of voice data of the first coded format, deletes the playback chain obtained Acquiescence sound card data presenter in road;
In the present embodiment, the first coded format voice data is converted into second of coding lattice when detecting and receive During the conversion instruction of formula voice data, the voice data of the first coded format is carried out to render processing, i.e., to this first The link of coded format voice data carries out initialization process, with corresponding time of the voice data for obtaining the first coded format Link is put, the acquiescence sound card data presenter in the playback link obtained is deleted, i.e. do not encode voice data according to the first Form is submitted.
The encoder and audio data memory of second of coded format are added in the playback link of acquisition, passes through addition The encoder of second of coded format obtained original audio sampled data is encoded by second of coded format, to obtain Obtain the voice data of second of coded format and be stored in audio data memory.
In the present embodiment, deleted by the acquiescence sound card presenter in this of acquisition the first coded format playback link Afterwards, the encoder of second of coded format is added in the playback link of acquisition, and by the coder parameters of addition according to user The parameter setting instruction of transmission is configured, after parameter setting is finished, and the first coded format voice data is decoded The PCM format original sampling data obtained afterwards is encoded into second of coded format voice data, to obtain expected second of volume The voice data of code form, while audio data memory can also be added in the playback link of acquisition, by the of acquisition The voice data of two kinds of coded formats is preserved.In other embodiments of the present invention or in the first coding by this The voice data of form is converted into after the voice data of second of coded format, and playing module 40 encodes lattice by second of acquisition The voice data of formula is played out, or can also be the side that the voice data of second of coded format of acquisition is passed through into frequency modulation The user that formula is sent to each digital broadcasting-television signal carries out decoding broadcasting.
In order to further preferably explain this programme, below with Dierct Show(Multicast)Technology sound intermediate frequency data encoding This programme is further described exemplified by form transfer process.Multicasting technology is with COM(Component Object Model, group Part object model)For technical foundation.Audio data coding conversion in multicasting technology is main by audio data coding form Conversion presentation layer, audio data coding form conversion intermediate layer and audio data coding form change bottom to realize.Wherein, sound Frequency data encoding format conversion presentation layer is mainly supplied to the audio coding formats transfer function or dynamic that user directly invokes Storehouse, including but not limited to audio transfer function, conversion stop function, conversion pause function, position mapping function, initialization function With anti-initialization function etc.;The management and operation support of bottom link are mainly responsible in audio data coding form conversion intermediate layer, It is main include coding link build, addition/deletion encoder, concatenated coding device, the operation such as Link State management;Voice data is compiled Code form conversion bottom mainly includes bottom log recording function Clog Write and coding parameter sets interface class function, Clog Write classes are mainly responsible for the regular job to bottom and the carry out log recording occurred, and coding parameter sets interface class master There is provided interface function the convenient setting for carrying out the correlation such as resampling, output data form to audio coding.Specific audio number Include according to coded format transfer process:When carrying out the conversion of audio data coding form, COM storehouses are initialized first, and Filter Graph object instances are created, and obtain the control interface m_pGraph of the example;Create logger module object Example, and log recording object instance interface g_LogWrite is obtained, and complete the initialization of log recording;Initialize link m_ PGraph to RenderFile obtains source file(The voice data of the first coded format)Acquiescence playback link;Obtain link In acquiescence sound card equipment presenter pointer to object, and remove the sound card equipment presenter;Filter Graph are traveled through, are obtained Decoder to pointer pUpstream in link;The encoder of needs is added into link, the coding is obtained first before addition The unique identifier Clsid of device, then creates the object instance of encoder and obtains pointer to object, finally by m_pGraph extremely The acquiescence that the encoder of needs is added to acquisition is played back link by Add Filter By Clsid mode.To acquiescence After playback link is adjusted, the method acquisition modification parameter that Query Interface are passed through to the relevant interface of encoder Operating right, carry out coder parameters setting;The encoder for linking each needs constitutes new coding link, runs to incite somebody to action The voice data of the first coded format is converted into the voice data of second of coded format, after converting, and carries out anti- Initialization, discharges the pointer of various instance objects, prevents EMS memory occupation excessive.
In the present embodiment when the voice data for having the first coded format is converted into the audio number of second of coded format According to when, the voice data of the first coded format is subjected to decoding process, adopted with the original audio for obtaining corresponding PCM format Sample data;Obtained original audio sampled data is encoded by second of coded format, to obtain this second coding lattice The voice data of formula.The technical problem for re-starting PCM format audio data samples is prevented effectively from, audio data coding lattice are reduced The workload of formula conversion, shortens the change-over period of audio data coding form, improves the effect of audio data coding form conversion Rate.
Further, the analysis module 20, be additionally operable to analysis obtain second of coded format voice data whether Can normal play, in the voice data energy normal play of second of coded format of acquisition, by processing module by the first The voice data of coded format is deleted.
In the present embodiment, successfully by the audio data coding of the first coded format into second of coded format sound Frequency after, analyze second of the coded format obtained voice data whether can normal play, in second of acquisition volume During the voice data energy normal play of code form, the voice data of the first coded format is deleted;In second of volume of acquisition When the voice data of code form is unable to normal play, second of coded format of acquisition is continued by processing module and modular converter Voice data, until the voice data energy normal play of second of the coded format obtained.Pass through second of coding in acquisition During the voice data energy normal play of form, the voice data of the first coded format is deleted, to save memory space, can be entered The storage of the more voice datas of row.In other embodiments of the present invention, in order to which second of the coded format obtained in guarantee can be just While often broadcasting, memory space reasonably can be managed in time, it is determined that the audio of second of the coded format obtained After data energy normal play, a time interval is preset, when prefixed time interval is reached, by the audio of the first coded format Data are deleted.I.e., within a preset time interval, when the voice data of the first coded format is not used by, or second When the voice data of coded format is not damaged, the voice data of the first coded format is deleted.The prefixed time interval can To be 1 day or a week etc..Similarly, the PCM format obtained for the voice data decoding by the first coded format Original audio sampled data can also do same treatment., can be by the first coded format in order to preferably save memory space The original audio sampled data for the PCM format that voice data and decoding are obtained, is deleted after one, according still further to above-mentioned between the two Mode is handled.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.Embodiment party more than The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to by hardware, but the former is more preferably embodiment in many cases.It is based on Such to understand, the part that technical scheme substantially contributes to prior art in other words can be with software product Form embody, the computer software product is stored in a storage medium(Such as ROM/RAM, magnetic disc, CD)In, including Some instructions are to cause a station terminal equipment(Can be mobile phone, computer, server, or network equipment etc.)Perform this hair Method described in each bright embodiment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.

Claims (8)

1. a kind of method of audio data coding form conversion, it is characterised in that the method comprising the steps of:
The first coded format voice data is converted into turning for second coded format voice data when detecting and receiving When changing instruction, the voice data of the first coded format is subjected to decoding process, to obtain the original sound of corresponding PCM format Frequency sampling data;
Obtained original audio sampled data is encoded by second of coded format, to obtain second of coded format Voice data;
It is described to be encoded obtained original audio sampled data by second of coded format, to obtain this second coding lattice The step of voice data of formula, includes:
The corresponding playback link of voice data of the first coded format is obtained, the acquiescence sound card in the playback link obtained is deleted Data presenter;
The encoder and audio data memory of second of coded format are added in the playback link of acquisition, passes through the of addition The encoder of two kinds of coded formats is encoded obtained original audio sampled data by second of coded format, to be somebody's turn to do The voice data of second of coded format is simultaneously stored in audio data memory.
2. the method for audio data coding form according to claim 1 conversion, it is characterised in that will be obtained described Original audio sampled data is encoded by second of coded format, with the step for the voice data for obtaining second of coded format After rapid, this method also includes:
Play the voice data of second of the coded format obtained.
3. the method for audio data coding form according to claim 1 or 2 conversion, it is characterised in that described when having the When a kind of voice data of coded format is converted into the voice data of second coded format, by the first coded format Before the step of voice data carries out decoding process, original audio sampled data to obtain corresponding PCM format, this method is also Including:
When there is voice data to be played, analyze whether the corresponding coded format of voice data to be played is second of coding lattice Formula;
When the corresponding coded format of the voice data to be played is not second of coded format, the audio to be played is determined Data are voice data to be converted;
When the corresponding coded format of the voice data to be played is second of coded format, the audio number to be played is played According to.
4. the method for audio data coding form conversion according to claim 1 or 2, it is characterised in that described to obtain Original audio sampled data encoded by second of coded format, to obtain the voice data of second of coded format After step, this method also includes:
Analyze second of the coded format obtained voice data whether can normal play, in second coded format of acquisition During voice data energy normal play, the voice data of the first coded format is deleted.
5. a kind of device of audio data coding form conversion, it is characterised in that the device includes:
Processing module, second of coded format sound is converted into for working as to detect and receive by the first coded format voice data During the conversion instruction of frequency evidence, the voice data of the first coded format is subjected to decoding process, to obtain corresponding PCM lattice The original audio sampled data of formula;
Modular converter, for obtained original audio sampled data to be encoded by second of coded format, with obtain this The voice data of two kinds of coded formats;
The processing module, is additionally operable to obtain the corresponding playback link of voice data of the first coded format, deletes what is obtained Play back the acquiescence sound card data presenter in link;And
The encoder and audio data memory of second of coded format are added in the playback link of acquisition, passes through the of addition The encoder of two kinds of coded formats is encoded obtained original audio sampled data by second of coded format, to be somebody's turn to do The voice data of second of coded format is simultaneously stored in audio data memory.
6. the device of audio data coding form conversion according to claim 5, it is characterised in that the device also includes broadcasting Amplification module,
The playing module, the voice data for playing second of the coded format obtained.
7. the device of the audio data coding form conversion according to claim 5 or 6, it is characterised in that the device is also wrapped Include analysis module,
The analysis module, be for when there is voice data to be played, analyzing the corresponding coded format of voice data to be played No is second of coded format;And
When the corresponding coded format of the voice data to be played is not second of coded format, the audio to be played is determined Data are voice data to be converted;
The playing module, is additionally operable to when the corresponding coded format of the voice data to be played is second of coded format, Play the voice data to be played.
8. the device of audio data coding form conversion according to claim 7, it is characterised in that
The analysis module, be additionally operable to analysis obtain second of coded format voice data whether can normal play, obtaining Second of coded format voice data energy normal play when, by processing module by the audio number of the first coded format According to deletion.
CN201410092220.1A 2014-03-13 2014-03-13 The method and device of audio data coding form conversion Active CN103905834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410092220.1A CN103905834B (en) 2014-03-13 2014-03-13 The method and device of audio data coding form conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410092220.1A CN103905834B (en) 2014-03-13 2014-03-13 The method and device of audio data coding form conversion

Publications (2)

Publication Number Publication Date
CN103905834A CN103905834A (en) 2014-07-02
CN103905834B true CN103905834B (en) 2017-08-15

Family

ID=50996955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410092220.1A Active CN103905834B (en) 2014-03-13 2014-03-13 The method and device of audio data coding form conversion

Country Status (1)

Country Link
CN (1) CN103905834B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2980795A1 (en) * 2014-07-28 2016-02-03 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Audio encoding and decoding using a frequency domain processor, a time domain processor and a cross processor for initialization of the time domain processor
EP2980794A1 (en) 2014-07-28 2016-02-03 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Audio encoder and decoder using a frequency domain processor and a time domain processor
CN114005454A (en) 2015-06-17 2022-02-01 三星电子株式会社 Internal sound channel processing method and device for realizing low-complexity format conversion
CN105139859B (en) * 2015-08-18 2019-03-01 杭州士兰微电子股份有限公司 The coding/decoding method and device of audio data and the system on chip for applying it
CN105551512A (en) * 2015-12-17 2016-05-04 天翼爱音乐文化科技有限公司 Audio format conversion method and apparatus
CN106937001A (en) * 2017-04-20 2017-07-07 维沃移动通信有限公司 A kind of audio store method and mobile terminal
CN108809921B (en) * 2017-07-31 2021-08-06 视联动力信息技术股份有限公司 Audio processing method, video networking server and video networking terminal
CN109410967B (en) * 2017-08-15 2022-03-25 武汉斗鱼网络科技有限公司 Method and system for transmitting audio data from iOS system to android system
CN110611639A (en) * 2018-06-14 2019-12-24 视联动力信息技术股份有限公司 Audio data processing method and device for streaming media conference
CN111755017B (en) * 2020-07-06 2021-01-26 全时云商务服务股份有限公司 Audio recording method and device for cloud conference, server and storage medium
CN111863041B (en) * 2020-07-17 2021-08-31 东软集团股份有限公司 Sound signal processing method, device and equipment
CN115662448B (en) * 2022-10-17 2023-10-20 深圳市超时代软件有限公司 Method and device for converting audio data coding format

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1221132C (en) * 2002-07-30 2005-09-28 华为技术有限公司 Device and method for realizing conversion between various VF flow formats
EP1853005A1 (en) * 2006-05-01 2007-11-07 Anagram Technologies SA Method and network-based system for transferring information over a network to destination devices
CN102063908A (en) * 2010-10-15 2011-05-18 上海华勤通讯技术有限公司 Audio data transmission method between PC and mobile phone
CN102355309A (en) * 2011-08-09 2012-02-15 中兴通讯股份有限公司 Method and apparatus for realization of Bluetooth stereophonic sound with support of a plurality of sampling rates

Also Published As

Publication number Publication date
CN103905834A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103905834B (en) The method and device of audio data coding form conversion
CN104917671B (en) Audio-frequency processing method and device based on mobile terminal
CN108989885B (en) Video file transcoding system, segmentation method, transcoding method and device
CN104092654B (en) media playing method, client and system
CN101501775A (en) Media timeline processing infrastructure
CN102055717A (en) Quick playing method, terminal and server
CN106653036A (en) Audio mixing and transcoding method based on OTT box
CN103517135A (en) Method, system and television capable of playing MP4-format video files continuously
CN111182315A (en) Multimedia file splicing method, device, equipment and medium
CN102819851B (en) Method for implementing sound pictures by using computer
CN113297731A (en) Telemetering data channel multiplexing framing method and device
CN114138861A (en) Multi-source heterogeneous data processing method, device and system
CN109769142A (en) A kind of the video cutting method and system of the light show of urban medium pinup
CN104200824A (en) Audio recording method and device
CN106776663A (en) The compression method and device of audio file
CN111428077A (en) Information processing method and terminal thereof
CN101043645B (en) Stream media program interactive realization method and system thereof
CN103152605B (en) A kind of method of voice data transcoding, device and transcoding server
CN103269450A (en) Multimedia system for Android smart television set
CN102752400A (en) Multiplicity speed security transmission method of inter-network audio file and system thereof
CN105791964B (en) cross-platform media file playing method and system
CN109218849B (en) Live data processing method, device, equipment and storage medium
CN105225683B (en) Audio frequency playing method and device
CN102867514B (en) A kind of sound mixing method and device sound mixing
CN106375778A (en) Method for transmitting three-dimensional audio program code stream satisfying digital cinema standard

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant