CN108259986A - Audio frequency playing method and device, electronic equipment, the storage medium of multichannel - Google Patents
Audio frequency playing method and device, electronic equipment, the storage medium of multichannel Download PDFInfo
- Publication number
- CN108259986A CN108259986A CN201810044616.7A CN201810044616A CN108259986A CN 108259986 A CN108259986 A CN 108259986A CN 201810044616 A CN201810044616 A CN 201810044616A CN 108259986 A CN108259986 A CN 108259986A
- Authority
- CN
- China
- Prior art keywords
- audio
- language
- stream data
- data
- configuration information
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4852—End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4856—End-user interface for client configuration for language selection, e.g. for the menu or subtitles
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Stereophonic System (AREA)
Abstract
Present invention is disclosed audio frequency playing method and device, electronic equipment, the computer readable storage medium of a kind of multichannel, the program includes:According to audio playing request, the audio stream data of the audio playing request instruction is obtained;The audio stream data is parsed, determines the corresponding audio language of multiple sound channels in the audio stream data;Judge whether that the corresponding audio language of at least one sound channel is identical with the audio language that language configuration information indicates;If so, control exports the audio data of the sound channel identical with the audio language of language configuration information instruction, the output of other sound channels is closed.Technical solution provided by the invention can select a sound channel to play out from multiple sound channels automatically without human intervention, not only solve the problems, such as stress, but also do not increase the operation of user, solve the defects of current audio play operation is cumbersome.
Description
Technical field
The present invention relates to audio signal processing technique field, the audio frequency playing method of more particularly to a kind of multichannel and device, electricity
Sub- equipment, computer readable storage medium.
Background technology
Digital television business is a large amount of universal in the world, and multilingual exist simultaneously of TV is very important work(
Can, therefore a kind of language is corresponded to per road audio, and per road audio usually with MCVF multichannel voice frequency in a common audio/video flow
There is independent PID (Packet Identifier, packet indications) to distinguish.
Television services gradually switch to full digital tv at present, DTV three big standards (DVB, ISDB,
ATSC) inner audio language all allows the situation for having Dual Mono (two-channel).Dual Mono refer to that left and right acoustic channels transmission is different
Audio data, and the audio data of left and right acoustic channels shares a PID.When left and right acoustic channels transmit different audio datas, and electricity
Depending on sound channel output be set as stereo (Stereo) when will hear two sound simultaneously, there are stress phenomenons for sound.It is existing
Technology is switched by one language menu of setting, plays which sound channel for selection by the user, but before selection, if acquiescence
Sound channel output is set as stereo will play two sound at once.Or in common audio/video program and Dual Mono programs
Mutually during switching, sound channel output can not automatically switch correctly, will play two kinds of sound.
A kind of sound channel is manually selected above by user to be exported to avoid stress phenomenon, the user that needs to rely on behaviour
The step of making, increasing audio and video playing operation, causes play operation relatively cumbersome.
Invention content
In order to solve to manually select a sound channel by user present in the relevant technologies exported that stress is avoided to show
As, need to rely on user's operation, increases the step of audio and video playing operates, leads to the relatively cumbersome sex chromosome mosaicism of play operation,
The present invention provides a kind of audio frequency playing methods of multichannel.
On the one hand, the present invention provides a kind of audio frequency playing method of multichannel, the method includes:
According to audio playing request, the audio stream data of the audio playing request instruction is obtained;
The audio stream data is parsed, determines the corresponding audio language of multiple sound channels in the audio stream data;
Judge whether the audio language phase that the corresponding audio language of at least one sound channel is indicated with language configuration information
Together;
If so, the audio data of the control output sound channel identical with the audio language of language configuration information instruction,
Close the output of other sound channels.
On the other hand, the present invention provides a kind of audio playing apparatus of multichannel, described device includes:
File acquisition module, for according to audio playing request, obtaining the audio fluxion of the audio playing request instruction
According to;
Language acquirement module for parsing the audio stream data, determines multiple sound channel difference in the audio stream data
Corresponding audio language;
Language matching module, for judging whether the corresponding audio language of at least one sound channel and language configuration information
The audio language of instruction is identical;
Audio output module, for when there are the corresponding audio languages of at least one sound channel and the instruction of language configuration information
When audio language is identical, the audio data of the control output sound channel identical with the audio language of language configuration information instruction,
Close the output of other sound channels.
Further, the present invention provides a kind of electronic equipment, the electronic equipment includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as performing the audio frequency playing method of above-mentioned multichannel.
In addition, the present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage
There is computer program, the computer program can be performed the audio frequency playing method for completing above-mentioned multichannel by processor.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Technical solution provided by the invention, according to the corresponding audio language of sound channels multiple in audio stream data, control
The audio data of the output sound channel identical with the audio language that language configuration information indicates closes the output of other sound channels, so as to
A sound channel can be selected to play out from multiple sound channels automatically without human intervention, not only solve the problems, such as stress, but also not
Increase the operation of user, solve the defects of current audio play operation is cumbersome.
It should be understood that above general description and following detailed description is only exemplary, this can not be limited
Invention.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the present invention
Example, and in specification together principle for explaining the present invention.
Fig. 1 is the schematic diagram according to implementation environment according to the present invention;
Fig. 2 is the block diagram according to a kind of device shown in an exemplary embodiment;
Fig. 3 is the flow chart according to a kind of audio frequency playing method of multichannel shown in an exemplary embodiment;
Fig. 4 is the details flow chart of the step 310 of Fig. 3 corresponding embodiments;
Fig. 5 is the details flow chart of the step 330 of Fig. 3 corresponding embodiments;
Fig. 6 is the detail flowchart of the audio frequency playing method of a kind of multichannel shown according to another exemplary embodiment
Fig. 7 is the block diagram according to a kind of playing device of multichannel audio shown in an exemplary embodiment;
Fig. 8 is the details block diagram of the file acquisition module of Fig. 7 corresponding embodiments;
Fig. 9 is the details block diagram of the language acquirement module of Fig. 7 corresponding embodiments.
Specific embodiment
Here explanation will be performed to exemplary embodiment in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is according to the implementation environment schematic diagram according to the present invention shown in an exemplary embodiment.Involved by the present invention
And implementation environment include intelligent playback equipment 110.Multichannel provided by the present invention may be used in intelligent playback equipment 110
Audio frequency playing method plays out audio stream data.The audio stream data can be stored in the local of intelligent playback equipment 110
In database.
As needed, which will also include providing the data source of data, i.e. audio stream data.Specifically,
In this implementation environment, data source can be server 130.Intelligent playback equipment 110 can obtain audio from server 130
Flow data, and then using the audio frequency playing method of multichannel provided by the invention, the audio stream data of acquisition is played out.
It should be noted that the audio frequency playing method of multichannel of the present invention, is not limited to dispose in intelligent playback equipment 110
Corresponding processing logic, can also be the processing logic being deployed in other machines.For example, having data-handling capacity
Processing logic of audio frequency playing method of multichannel etc. is disposed in terminal device.
Fig. 2 is the block diagram according to a kind of intelligent playback equipment 110 shown in an exemplary embodiment.The intelligence playback equipment
110 such as can be smart television, smart television set top box, intelligent sound etc..
Referring to Fig. 2, which can generate bigger difference due to configuration or different performance, can wrap
Include one or more central processing units (central processing units, CPU) 222 (for example, one or one with
Upper processor) and memory 232, one or more storage application programs 242 or data 244 storage medium 230 (such as
One or more mass memory units).Wherein, memory 232 and storage medium 230 can be of short duration storage or persistently deposit
Storage.One or more modules (diagram is not shown) can be included by being stored in the program of storage medium 230, and each module can be with
Including being operated to the series of instructions in intelligent playback equipment 110.Further, central processing unit 222 could be provided as with
Storage medium 230 communicates, and the series of instructions operation in storage medium 230 is performed on intelligent playback equipment 110.Intelligence plays
Equipment 110 can also include one or more power supplys 226, one or more wired or wireless network interfaces 250, one
A or more than one input/output interface 258 and/or, one or more operating systems 241, such as Android,
LinuxTM, Windows ServerTM, Mac OS XTM, UnixTM, FreeBSDTM etc..Shown in following Fig. 3, Fig. 4, Fig. 5
The intelligent playback equipment 110 shown in Fig. 2 can be based on as the step performed by intelligent playback equipment 110 described in embodiment
Structure.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of following embodiments
It completes, can also be completed by program instruction, the program can be stored in a kind of computer readable storage medium,
Storage medium mentioned above can be read-only memory, disk or CD etc..
Fig. 3 is the flow chart according to a kind of audio frequency playing method of multichannel shown in an exemplary embodiment.More sound
The scope of application and executive agent of the audio frequency playing method in road, for example, this method plays for the intelligence of implementation environment shown in Fig. 1
Equipment 110.As shown in figure 3, the audio frequency playing method of the multichannel can be performed by intelligent playback equipment 110, can include with
Lower step.
In the step 310, according to audio playing request, the audio stream data of the audio playing request instruction is obtained;
Wherein, audio stream data may include multi-path audio-frequency data (at least two-way), and multi-path audio-frequency data is independent of one another, but
Multi-path audio-frequency data shares a PID (PID Packet Identifier).Therefore, when calling the corresponding files of the PID, while multichannel is had invoked
Audio data.Audio stream data can be common Dual Mono (two-channel) audio file, can also include more multichannel.
For example, a certain TV programme include Chinese conversation audio, and English conversation audio, then Chinese conversation audio and English are to speech
Frequency is as the two-way audio data in audio stream data.For ease of understanding, the present invention is Dual Mono audios with audio stream data
It is illustrated for file, more multichannel is realized with reference to two-channel.
It is to be understood that when carrying MCVF multichannel voice frequency in ordinary audio flow data, there is independent PID per road audio.But
It is for special Dual Mono audio files, left and right sound channels transmit different audio datas, and two-way audio data are total to
With a PID.Therefore, when the corresponding audio file of the request call PID, since left and right sound channels transmit different audio numbers
According to user can hear two sound simultaneously, there are problems that audio stress.
For ISDB (Nippon Television standard) and the TV programme of HATSC (European television standard) standard, audio language is all
Have the audio data of the situation of two-channel, i.e. left and right acoustic channels transmission different language.For example, left channel transfer English is talked with
Content, right channel transmission Chinese conversation content.English conversation content and Chinese conversation content share a PID.Work as calling as a result,
During the corresponding audio files of the PID, English conversation content and Chinese conversation content can be exported simultaneously, stress problem occurs.It is existing
The audio data that technology manually selects a sound channel by user is exported.Based on drawbacks described above, the present invention provides one kind
The audio frequency playing method of multichannel solves the problems, such as stress occur during audio stream plays data.
For playing TV programme, user triggers the selection for carrying out TV programme, and intelligent playback equipment 110 receives video
Audio playing request is received while playing request.The video playing is asked and audio playing request carrying user is selected
TV program information.Later, intelligent playback equipment 110 downloads the corresponding TS stream files of the TV programme from server 130, therefrom
Parse video stream data and audio stream data.Wherein, which may be multi-channel sound frequency file, in a kind of implementation
In mode, which is DualMono audio files, and left and right acoustic channels transmit the audio data of different language, and left and right sound
The audio data in road shares a PID.
In a kind of exemplary embodiment, as shown in figure 4, above-mentioned steps 310 specifically include:
In step 311, audio playing request is received;
Assuming that audio-frequence player device 110 is DTV (DTV), user triggers the selection for carrying out TV programme, number electricity
Depending on being received as playing a certain TV programme, play instruction is sent by user side remote controler.As needed, audio-frequence player device 110
While audio playing request is received, the video playing request that user side remote controler is sent is received.
In step 312, the file identification information according to entrained by the audio playing request, obtains the file identification
The corresponding audio stream data of information.
Wherein, file identification information can be PID, which can carry PID, and DTV passes through setting
Corresponding PID filters parse the corresponding audio stream datas of the PID, Huo Zhecong from the TS stream files of the download of server 130
The corresponding audio stream datas of the PID are obtained in the audio/video flow of itself storage.
In a step 330, the audio stream data is parsed, determines that multiple sound channels are corresponding in the audio stream data
Audio language;
Wherein, parsing is carried out to audio stream data to refer to be decoded the audio stream data of acquisition reduction, obtain audio
The information such as entrained attribute of audio stream data in flow data, such as the number of channels of the audio stream data.Audio language is
Language used by the audio data of finger channel transfer, such as Chinese, English, Japanese, Korean etc..
Specifically, audio stream data may be two-channel, left and right acoustic channels transmit the audio data of different language respectively, such as
Left and right acoustic channels distinguish Chinese audio and English audio, parse from there through to audio stream data, are analytically obtained in result
L channel and the corresponding audio language of right channel in audio stream data, such as L channel are Chinese audio, and right channel is English
Voice frequency.
In a kind of exemplary embodiment, as shown in figure 5, above-mentioned steps 330 specifically include:
In step 331, the audio stream data is parsed, obtains audio component type and audio coding mode;
Specifically, intelligent playback equipment 110 can be DTV, the code stream SI of intelligent playback equipment 110 itself deployment
(Service Information, information on services)/PSI (Program Specific Information, Program Specific Information)
Inducing diaphoresis module can parse the various table data informations of code stream, such as video, audio, picture table data.It, can in ISDB standards
With by parsing the Audio ComponentDescriptor in SI/PSI tables (audio component descriptor) data, Audio
Component Descriptor data include component_type (audio component type).
The digital television decoding module of intelligent playback equipment 110 itself deployment can be solved with decoded digital TV code flow data
Analyse relevant PES (Packetized Elementary Streams, the primary flow of packing) data head.Wherein, PES data heads
Including Audio coding mode (audio coding mode).
In step 332, if the audio component type and/or audio coding mode indicate that the audio stream data is more
A sound channel transmits the audio data of different audio languages respectively, then multiple sound are obtained from the analysis result of the audio stream data
The corresponding audio language in road.
Specifically, if the audio component type instruction audio stream data in audio component descriptor is distinguished for multiple sound channels
The audio data of different language is transmitted, the audio data of multiple sound channels shares a PID, then it represents that plays the audio stream data meeting
There is stress, the corresponding audio language of multiple sound channels is obtained from audio component descriptor.
The accuracy of multichannel is judged to improve, if the audio coding mode instruction audio stream data in PES data heads
Transmit the audio data of different language respectively for multiple sound channels, the audio data of multiple sound channels shares a PID, then it represents that play
The audio stream data will appear stress, and the corresponding audio language of multiple sound channels is obtained from audio component descriptor.
That is, as long as any one instruction audio stream data is multiple in audio component type and audio coding mode
Sound channel transmits the audio data of different language respectively, then it represents that is that multichannel shares a PID, needs according to language configuration information
The audio data for choosing a sound channel is exported.Opposite, if audio component type and audio coding mode indicate not
It is that multichannel shares a PID, then it is stereo that can set acquiescence output channels.
Wherein, above-mentioned steps 332 specifically include:
If it is multiple sound that the audio component type and/or audio coding mode, which are carried for marking the audio stream data,
Road transmits the identification code of different language audio data respectively, then multiple sound channels are obtained from the analysis result of the audio stream data
Corresponding audio language.
It is illustrated by dual-channel audio file of audio stream data, for two-channel to be marked to transmit different languages respectively
The identification code for saying audio data can be 0x02.If component_type is equal to 0x02, it may be considered that the audio obtained
Flow data is two-channel, and left and right acoustic channels transmit the audio data of different language, and one PID of two-way audio data sharing respectively,
The double corresponding audio languages of sound channel are obtained from the analysis result (such as audio component descriptor) of dual-channel audio file
Speech.
If component_type is not equal to 0x02, further can be by whether judging Audio codingmode
Equal to 0.Wherein, " 0 " is that a double sound channels transmit different languages respectively for marking dual-channel audio file in audio coding mode
Say the identification code of audio data.As long as component_type=0x02 and Audio coding mode=0 any one expires
Foot, it is possible to which the audio stream data for thinking to obtain is that two-channel shares a PID.
In step 350, judge whether that the corresponding audio language of at least one sound channel is indicated with language configuration information
Audio language it is identical;
Wherein, language configuration information is that intelligent playback equipment 110 shifts to an earlier date according to the hobby generation of the language of user, and language is matched
Confidence ceases the language for being used to indicate user preferences.For example, intelligent playback equipment 110 can be watched according to user's history
The audio language of TV programme, to determine that the language of user is liked, and then generate language configuration information.The language configuration information can
To be stored in the local data base of intelligent playback equipment 110, can also be obtained from server 130 by intelligent playback equipment 110
It obtains.
Specifically, language configuration information indicates the language of user preferences, intelligent playback equipment 110 is according to multiple sound channels point
Not corresponding audio language, judges whether the audio language identical with user preferences language.In special circumstances, there is no with
During the identical audio language of user preferences language, then it can randomly choose a kind of audio data of audio language and be exported.
It is further comprising the steps of before above-mentioned steps 350 in a kind of exemplary embodiment:It reads language and matches confidence
Breath, the language configuration information are to trigger the speech selection carried out previously according to user to be generated.
It should be noted that user can set in advance oneself like language, intelligent playback equipment 110 in advance according to
The selection of hobby language that family triggering carries out, generates language configuration information and stores in the local database.So as to need to be
When user chooses suitable audio language, language configuration information is read from database, according to the corresponding sound of multiple sound channels
Frequency language judges whether the audio language phase that the corresponding audio language of at least one sound channel is indicated with language configuration information
Together.
In a kind of exemplary embodiment, above-mentioned steps 350 specifically include:By the language entrained by the language configuration information
Say identification code, the language identification code of audio language corresponding with multiple sound channels is compared, and judges whether at least one
The language identification code of the corresponding audio language of a sound channel is matched with the language identification code entrained by the language configuration information.
Specifically, by parsing the Audio Component Descriptor data in SI/PSI tables, can obtain more
The language identification code of the corresponding audio language of a sound channel.When being two-channel, from AudioComponent Descriptor
The language identification code that left channel audio language can be obtained in data is ISO_639_language_code, right audio channel language
The language identification code of speech is ISO_639_language_code_2.Assuming that the language identification code entrained by language configuration information is
The language identification code of the language identification code and left and right sound channels is compared, can obtain by ISO_639_language_code_2
Go out it is consistent with the language identification code of right channel, so as to filter out with where the matched audio language of the language of user preferences
Sound channel.Later, it is right channel that can set corresponding output, closes the output of L channel.
In step 370, if so, the control output sound channel identical with the audio language of language configuration information instruction
Audio data, close the output of other sound channels.
By taking audio stream data is dual-channel audio file as an example, L channel and right channel transmit the audio of different language respectively
Data, it is assumed that the sound channel identical with the audio language of language configuration information instruction is L channel, the audio of control output L channel
Data close the output of the audio data of right channel.Likewise, for multichannel, control output and language configuration information
The audio data of the identical sound channel of the audio language of instruction closes the output of the audio data of other sound channels.
When starting to play, there are multiple sound channel stresses for there are the audio files of multiple sound channels in the prior art,
It is cumbersome it is thus necessary to manually select the audio data of a sound channel by user to be exported.Above-mentioned example of the present invention is real
The technical solution of example offer is provided, according to the corresponding audio language of sound channels multiple in audio stream data, control output and language
The audio data of the identical sound channel of audio language of configuration information instruction closes the output of other sound channels, without manually grasping
Make a sound channel to be selected to play out from multiple sound channels automatically, not only solve the problems, such as stress, but also do not increase user's
Operation, solves the defects of current audio play operation is cumbersome.
Fig. 6 is the detailed process schematic diagram of the audio frequency playing method of multichannel that an exemplary embodiment of the invention provides.
For the exemplary embodiment for playing dual-channel audio, intelligent playback equipment 110 can be smart television.As shown in fig. 6, intelligence
Energy playback equipment 110, which receives, plays TV programme request (S601), according to the PID of institute's request program, opens PID filters, obtains
The audio file (S602) of PID must be specified.Code stream SI/PSI inducing diaphoresis module interfaces data parse (S603), digital TV decoding mould
Block parsing PES data (S604), and preserve PES decoding datas (S605).The analytically dependent Audio of code stream SI/PSI inducing diaphoresis modules
ComponentDescriptor data (S606), if it is determined that obtaining in Audio Component Descriptor data
Component_type=0x02 (S607) confirms that current audio file is two-channel (S610).Opposite, component_
Type is not equal to 0x02, further obtains the bit stream information (S608) in the PES decoding datas preserved after parsing.If it is determined that
It obtains the Audio coding mode=0 (S609) in bit stream information, confirms that current audio file is two-channel (S610).
If Audio coding mode are not equal to 0, setting sound channel is exported as stereo (S616).
After it is two-channel (S610) to confirm current audio file, the hobby language (S611) of user setting is read, is sentenced
It is disconnected to like language language ISO_639_ whether corresponding with L channel in Audio Component Descriptor data
Language_code identical (S612), if identical, sound channel setting output is L channel (S614).Opposite, if with left sound
Road language is different, judges to like language language whether corresponding with right channel in AudioComponent Descriptor data
ISO_639_language_code_2 identical (S613), if identical, sound channel setting output is right channel (S615).If with
Right channel language is also different, and sound channel setting output is L channel (S614).After the setting for completing output channels, sound of television is exported
(S617).Said program provided by the invention, user, which need not manually select sound channel, can automatically select a kind of sound channel output, avoid
The appearance of stress phenomenon.
Following is apparatus of the present invention embodiment, can be used for performing the more of the above-mentioned intelligent execution of playback equipment 110 of the present invention
The audio frequency playing method embodiment of sound channel.For the details not disclosed in apparatus of the present invention embodiment, the more sound of the present invention are please referred to
The audio frequency playing method embodiment in road.
Fig. 7 is according to a kind of block diagram of the playing device of multichannel audio shown in an exemplary embodiment, the multichannel
The playing device of audio can be used in the intelligent playback equipment 110 of implementation environment shown in Fig. 1, and it is any shown to perform Fig. 3-Fig. 6
Multichannel audio frequency playing method all or part of step.As shown in fig. 7, party's subtraction unit includes but not limited to:Text
Part acquisition module 710, language acquirement module 730, language matching module 750 and audio output module 770.
File acquisition module 710, for according to audio playing request, obtaining the audio stream of the audio playing request instruction
Data;
Language acquirement module 730 for parsing the audio stream data, determines multiple sound channels point in the audio stream data
Not corresponding audio language;
Language matching module 750, for judging whether that the corresponding audio language of at least one sound channel is configured with language
The audio language of information instruction is identical;
Audio output module 770, for refer to when there are the corresponding audio languages of at least one sound channel with language configuration information
When the audio language shown is identical, the audio number of the control output sound channel identical with the audio language of language configuration information instruction
According to closing the output of other sound channels.
The function of modules and the realization process of effect specifically refer to the audio broadcasting of above-mentioned multichannel in above device
The realization process of step is corresponded in method, details are not described herein.
File acquisition module 710 such as can be some physical arrangement wired or wireless network interface 250 in Fig. 2.
Language acquirement module 730, language matching module 750 and audio output module 770 can also be function modules, use
Correspondence step in the audio frequency playing method for performing above-mentioned multichannel.It is appreciated that these modules can be by hardware, soft
Part, or a combination of both realize.When realizing in hardware, these modules may be embodied as one or more hardware modules,
Such as one or more application-specific integrated circuits.When being realized with software mode, these modules may be embodied as in one or more
The one or more computer programs performed on processor, such as it is stored in memory performed by the central processing unit 222 of Fig. 2
Program in 232.
In a kind of exemplary embodiment, as shown in figure 8, the file acquisition module 710 includes:
Request reception unit 711, for receiving audio playing request;
File obtaining unit 712, for the file identification information according to entrained by the audio playing request, described in acquisition
The corresponding audio stream data of file identification information.
Further, as shown in figure 9, language acquirement module 730 includes:
Document analysis unit 731 for being parsed to the audio stream data, obtains audio component type and audio is compiled
Code mode;
Language acquirement unit 732, for indicating the audio stream in the audio component type and/or audio coding mode
When data transmit the audio data of different language respectively for multiple sound channels, obtained from the analysis result of the audio stream data more
The corresponding audio language of a sound channel.
Wherein, above-mentioned language acquirement unit 732 includes:
Language acquirement subelement, for being carried in the audio component type and/or audio coding mode for marking
State audio stream data for multiple sound channels transmit the identification code of different language audio data respectively when, from the solution of the audio stream data
The corresponding audio language of multiple sound channels is obtained in analysis result.
Further, the audio playing apparatus of multichannel provided by the invention further includes:
Information reading module, for reading language configuration information, the language configuration information is triggered previously according to user
What the speech selection of progress was generated.
Further, above-mentioned language matching module 750 specifically includes:
Language comparing unit, it is corresponding respectively for comparing language identification code entrained by language configuration information and multiple sound channels
Audio language language identification code;Judge whether language identification code and the institute of the corresponding audio language of at least one sound channel
Language identification code matching entrained by predicate speech configuration information.
Optionally, the present invention also provides a kind of electronic equipment, which can be used for the intelligence of implementation environment shown in Fig. 1
In energy playback equipment 110, all or part of step of the audio frequency playing method of any shown multichannels of Fig. 3-Fig. 6 is performed.
The electronic equipment includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as performing the audio broadcasting side of the multichannel described in the above exemplary embodiments
Method.
The processor of electronic equipment performs the concrete mode of operation in the audio in relation to the multichannel in the embodiment
Detailed description is performed in the embodiment of playback method, explanation will be not set forth in detail herein.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium,
Such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.The storage medium is stored with computer
Program, the computer program can be performed the audio to complete above-mentioned multichannel by the central processing unit 222 of intelligent playback equipment 110
Playback method.
It should be understood that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and change can be being performed without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
1. a kind of audio frequency playing method of multichannel, which is characterized in that the method includes:
According to audio playing request, the audio stream data of the audio playing request instruction is obtained;
The audio stream data is parsed, determines the corresponding audio language of multiple sound channels in the audio stream data;
Judge whether that the corresponding audio language of at least one sound channel is identical with the audio language that language configuration information indicates;
If so, the audio data of the control output sound channel identical with the audio language of language configuration information instruction, is closed
The output of other sound channels.
2. according to the method described in claim 1, it is characterized in that, described according to audio playing request, obtain the audio and broadcast
The audio stream data of request instruction is put, including:
Receive audio playing request;
According to the file identification information entrained by the audio playing request, the corresponding audio stream of the file identification information is obtained
Data.
3. according to the method described in claim 1, it is characterized in that, parse the audio stream data, the audio fluxion is determined
The corresponding audio language of multiple sound channels in, including:
The audio stream data is parsed, obtains audio component type and audio coding mode;
If the audio component type and/or audio coding mode indicate that the audio stream data is transmitted not respectively for multiple sound channels
With the audio data of audio language, then the corresponding audio of multiple sound channels is obtained from the analysis result of the audio stream data
Language.
4. if according to the method described in claim 3, it is characterized in that, the audio component type and/or audio coding mode
Indicate that the audio stream data transmits the audio data of different audio languages for multiple sound channels respectively, then from the audio stream data
Analysis result in obtain the corresponding audio language of multiple sound channels, including:
If the audio component type and/or audio coding mode carry to mark the audio stream data as multiple sound channels point
The identification code of the audio data of the defeated different language of supplementary biography then obtains multiple sound channels point from the analysis result of the audio stream data
Not corresponding audio language.
5. according to the method described in claim 1, it is characterized in that, described judge whether the corresponding sound of at least one sound channel
Before whether frequency language is identical with the audio language of language configuration information instruction, the method further includes:
Language configuration information is read, the language configuration information is to trigger the speech selection carried out previously according to user to be generated
's.
6. according to the method described in claim 1, it is characterized in that, described judge whether the corresponding sound of at least one sound channel
Frequency language is identical with the audio language that language configuration information indicates, including:
Compare the language identification of the language identification code audio language corresponding with multiple sound channels entrained by language configuration information
Code;
The language identification code and the language configuration information for judging whether the corresponding audio language of at least one sound channel are taken
The language identification code matching of band.
7. a kind of audio playing apparatus of multichannel, which is characterized in that described device includes:
File acquisition module, for according to audio playing request, obtaining the audio stream data of the audio playing request instruction;
Language acquirement module for parsing the audio stream data, determines that multiple sound channels correspond to respectively in the audio stream data
Audio language;
Language matching module, for judging whether that the corresponding audio language of at least one sound channel is indicated with language configuration information
Audio language it is identical;
Audio output module, for when there are the audios of the corresponding audio language of at least one sound channel and the instruction of language configuration information
When language is identical, the audio data of the control output sound channel identical with the audio language of language configuration information instruction is closed
The output of other sound channels.
8. device according to claim 7, which is characterized in that the file acquisition module includes:
Request reception unit, for receiving audio playing request;
File obtaining unit for the file identification information according to entrained by the audio playing request, obtains the files-designated
Know the corresponding audio stream data of information.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as the audio frequency playing method of the multichannel described in perform claim requirement 1-6 any one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the audio that the computer program can be performed the multichannel described in completing claim 1-6 any one as processor play
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810044616.7A CN108259986B (en) | 2018-01-17 | 2018-01-17 | Multi-channel audio playing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810044616.7A CN108259986B (en) | 2018-01-17 | 2018-01-17 | Multi-channel audio playing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108259986A true CN108259986A (en) | 2018-07-06 |
CN108259986B CN108259986B (en) | 2021-06-01 |
Family
ID=62726678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810044616.7A Active CN108259986B (en) | 2018-01-17 | 2018-01-17 | Multi-channel audio playing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108259986B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109451417A (en) * | 2018-11-29 | 2019-03-08 | 欧阳院红 | Multichannel audio processing method and system |
CN112040388A (en) * | 2020-09-03 | 2020-12-04 | 北京华宇轩罡教育科技有限公司 | Method, device and equipment for playing audio of left and right sound channels |
CN113905119A (en) * | 2020-06-22 | 2022-01-07 | 阿里巴巴集团控股有限公司 | Terminal cradle, control method thereof, audio processing method, audio processing system, electronic device, and computer-readable storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1170199A (en) * | 1996-06-22 | 1998-01-14 | Lg电子株式会社 | Apparatus for reproducing audio signals for plurality of channels or languages from disc and method thereof |
CN1540983A (en) * | 2003-03-25 | 2004-10-27 | 株式会社东芝 | Informationj recording medium, information recording/playback method and information recording/playback appts. |
CN1937664A (en) * | 2006-09-30 | 2007-03-28 | 华为技术有限公司 | System and method for realizing multi-language conference |
CN2899335Y (en) * | 2006-02-27 | 2007-05-09 | 邱瓊谊 | TV set with built-in independent infrared radio transmitter |
CN101044573A (en) * | 2004-08-19 | 2007-09-26 | 索尼株式会社 | Reproduction device, reproduction method, reproduction program, recording medium, and data structure |
CN101136232A (en) * | 2007-10-15 | 2008-03-05 | 殷亮 | Double subtitling double track data media and player having parent language of foreign languages |
CN101741430A (en) * | 2009-12-14 | 2010-06-16 | 中兴通讯股份有限公司 | Method for switching audio channels and media play system |
CN102917241A (en) * | 2011-08-04 | 2013-02-06 | 瀚宇彩晶股份有限公司 | Automatic detection method of vocal tract language name and television using same |
WO2014067073A1 (en) * | 2012-10-30 | 2014-05-08 | 深圳市多尼卡电子技术有限公司 | Method and device for editing and playing audio-video file, and broadcasting system |
CN105898617A (en) * | 2016-04-28 | 2016-08-24 | 广东欧珀移动通信有限公司 | Method and device for matching with audio track of video play |
CN106464953A (en) * | 2014-04-15 | 2017-02-22 | 克里斯·T·阿纳斯塔斯 | Binaural audio systems and methods |
-
2018
- 2018-01-17 CN CN201810044616.7A patent/CN108259986B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1170199A (en) * | 1996-06-22 | 1998-01-14 | Lg电子株式会社 | Apparatus for reproducing audio signals for plurality of channels or languages from disc and method thereof |
CN1540983A (en) * | 2003-03-25 | 2004-10-27 | 株式会社东芝 | Informationj recording medium, information recording/playback method and information recording/playback appts. |
CN101044573A (en) * | 2004-08-19 | 2007-09-26 | 索尼株式会社 | Reproduction device, reproduction method, reproduction program, recording medium, and data structure |
CN2899335Y (en) * | 2006-02-27 | 2007-05-09 | 邱瓊谊 | TV set with built-in independent infrared radio transmitter |
CN1937664A (en) * | 2006-09-30 | 2007-03-28 | 华为技术有限公司 | System and method for realizing multi-language conference |
CN101136232A (en) * | 2007-10-15 | 2008-03-05 | 殷亮 | Double subtitling double track data media and player having parent language of foreign languages |
CN101741430A (en) * | 2009-12-14 | 2010-06-16 | 中兴通讯股份有限公司 | Method for switching audio channels and media play system |
CN102917241A (en) * | 2011-08-04 | 2013-02-06 | 瀚宇彩晶股份有限公司 | Automatic detection method of vocal tract language name and television using same |
WO2014067073A1 (en) * | 2012-10-30 | 2014-05-08 | 深圳市多尼卡电子技术有限公司 | Method and device for editing and playing audio-video file, and broadcasting system |
CN106464953A (en) * | 2014-04-15 | 2017-02-22 | 克里斯·T·阿纳斯塔斯 | Binaural audio systems and methods |
CN105898617A (en) * | 2016-04-28 | 2016-08-24 | 广东欧珀移动通信有限公司 | Method and device for matching with audio track of video play |
Non-Patent Citations (1)
Title |
---|
EUROPEAN BROADCASTING UNION: "Digital Video Broadcasting (DVB);", 《FINAL DRAFT ETSI EN 300 468 V1.10.1》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109451417A (en) * | 2018-11-29 | 2019-03-08 | 欧阳院红 | Multichannel audio processing method and system |
CN109451417B (en) * | 2018-11-29 | 2024-03-15 | 广州艾美网络科技有限公司 | Multichannel audio processing method and system |
CN113905119A (en) * | 2020-06-22 | 2022-01-07 | 阿里巴巴集团控股有限公司 | Terminal cradle, control method thereof, audio processing method, audio processing system, electronic device, and computer-readable storage medium |
CN113905119B (en) * | 2020-06-22 | 2024-06-04 | 阿里巴巴集团控股有限公司 | Terminal bracket, control method thereof, audio processing method, audio processing system, electronic device and computer readable storage medium |
CN112040388A (en) * | 2020-09-03 | 2020-12-04 | 北京华宇轩罡教育科技有限公司 | Method, device and equipment for playing audio of left and right sound channels |
Also Published As
Publication number | Publication date |
---|---|
CN108259986B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7139470B2 (en) | Navigation for MPEG streams | |
US10674229B2 (en) | Enabling personalized audio in adaptive streaming | |
CN108259986A (en) | Audio frequency playing method and device, electronic equipment, the storage medium of multichannel | |
KR102020689B1 (en) | Reception device, reception method, program, and information processing system | |
CN112272170A (en) | Voice communication method and device, electronic equipment and storage medium | |
US20060002682A1 (en) | Recording apparatus and recording control method | |
US20060050183A1 (en) | Signal processing apparatus, signal processing method, signal processing program, program reproducing apparatus, image display apparatus and image display method | |
WO2005057931A2 (en) | Method and system for generating highlights | |
EP2690858A1 (en) | Information processing device, information processing method and program | |
JP2006511846A (en) | Audio signal identification method and system | |
CN103501457A (en) | Method and device for playing programs | |
JP4364850B2 (en) | Audio playback device | |
CN106034245A (en) | TV program playing method and TV program playing device | |
JP2003110954A (en) | Digital broadcast receiver and service id switching method | |
KR100664637B1 (en) | Music player and playing method thereof, and computer-readable recording medium | |
CN113228166B (en) | Command control device, control method, and nonvolatile storage medium | |
JP2006050316A (en) | Data broadcasting receiver, and recording method of data broadcasting | |
CN113691860B (en) | UGC media content generation method, device, equipment and storage medium | |
KR102050491B1 (en) | Method for Adaptive Playing Contents by Request and Response | |
KR20050009168A (en) | Apparatus and method for transmitting/receiving voice electronics program guide information | |
KR100737097B1 (en) | Storage system of digital multimedia broadcasting and method for controlling thereof | |
TW201019738A (en) | Multimedia broadcasting method and multimedia broadcasting device thereof | |
JP2006148870A (en) | Signal processing apparatus, signal processing method, signal processing program, program reproducing apparatus, image display apparatus and image display method | |
KR20100060449A (en) | Receiving system and method of processing audio data | |
WO2013088788A1 (en) | Contents playback system, television reception device, program for same, and recording medium in which same program is stored |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221018 Address after: 83 Intekte Street, Devon, Netherlands Patentee after: VIDAA (Netherlands) International Holdings Ltd. Address before: Room 601, building C, Tsinghua Ziguang science and Technology Park, No. 13, Langshan Road, North District, high tech Zone, Shenzhen, Guangdong 518000 Patentee before: HISENSE ELECTRONIC TECHNOLOGY (SHENZHEN) Co.,Ltd. |