CN110493636A - Audio-video adjusting method, device, terminal device and storage medium - Google Patents

Audio-video adjusting method, device, terminal device and storage medium Download PDF

Info

Publication number
CN110493636A
CN110493636A CN201910812058.9A CN201910812058A CN110493636A CN 110493636 A CN110493636 A CN 110493636A CN 201910812058 A CN201910812058 A CN 201910812058A CN 110493636 A CN110493636 A CN 110493636A
Authority
CN
China
Prior art keywords
audio
parameter
playback equipment
video
target playback
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.)
Pending
Application number
CN201910812058.9A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201910812058.9A priority Critical patent/CN110493636A/en
Publication of CN110493636A publication Critical patent/CN110493636A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4852End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

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)

Abstract

The present invention relates to a kind of audio-video adjusting method, device, terminal device and storage mediums, applied to audio adjustment technology field, this method comprises: obtaining the default scene audio parameter threshold of audio-video document and target playback equipment to be played, wherein, the default scene audio parameter threshold is determined by broadcasting scene;The audio-video document is parsed, to obtain the audio frequency parameter of the audio-video document;Using the audio frequency parameter as the audio frequency parameter to be regulated of the target playback equipment;The audio frequency parameter to be regulated and the default scene audio parameter threshold are subjected to operation, obtain the regulating allocation parameter of the target playback equipment;According to the audio frequency parameter to be regulated of regulating allocation parameter regulation target playback equipment, so that target playback equipment plays the audio-video document.By above technical scheme, in playing audio-video document, the purpose that can automatically adjust playback equipment audio frequency parameter is not only realized, also improves the precision of playback equipment adjustment.

Description

Audio-video adjusting method, device, terminal device and storage medium
Technical field
The present invention relates to audio adjustment technology fields, and in particular to a kind of audio-video adjusting method, device, terminal device and Storage medium.
Background technique
With the rapid development of Streaming Media, more and more audio-video documents are uploaded on steaming media platform by people, with It is downloaded and plays for other users.However, since all audio-video documents are during upload, it all can be through overcompression again It uploads, therefore, the audio frequency parameter for being uploaded audio-video document can change, and different steaming media platforms are to audio-video document pressure The standard of contracting is different, and the original audio-video document audio that different user uploads also is different, and leads to the sound of audio-video document Frequency parameter differences are larger.
In the prior art, steaming media platform LUFS (Loudness units relative to Full Scale, Volume unit relative to full size) it is generally -23LUFS or -16LUFS, which is generally suitable for handheld terminal and sets Audio-video document on standby playing stream media platform, if desired plays on speaker or other equipment, then the audio loudness value is remote It is not nearly enough, need the external playback equipment with power amplification function.In addition, on the playback equipment with power amplification function Before playing all kinds of audio-video documents, it is also necessary to which fixed audio frequency parameter is set, due to the audio frequency parameter of each audio-video document It differs greatly, reaches good unified result of broadcast to meet each audio-video document, when switching playing audio-video document, Need manually to be adjusted playback equipment or cooperate the tuner of profession to implement to adjust, it is not only cumbersome, And the accuracy manually adjusted is not high, is unable to reach ideal result of broadcast.
Summary of the invention
In view of this, a kind of audio-video adjusting method, device, terminal device and storage medium are provided, to solve existing skill In art, the problem of audio frequency parameter of playback equipment is unable to adjust automatically in playing audio-video document.
In order to achieve the above object, the present invention adopts the following technical scheme:
In a first aspect, using a kind of audio-video adjusting method, this method comprises: obtaining audio-video document and mesh to be played Mark the default scene audio parameter threshold of playback equipment, wherein the default scene audio parameter threshold is determined by broadcasting scene; The audio-video document is parsed, to obtain the audio frequency parameter of the audio-video document;Using the audio frequency parameter as the target The audio frequency parameter to be regulated of playback equipment;The audio frequency parameter to be regulated and the default scene audio parameter threshold are transported It calculates, obtains the regulating allocation parameter of the target playback equipment;It is set according to the broadcasting of target described in the regulating allocation parameter regulation Standby audio frequency parameter to be regulated, so that target playback equipment plays the audio-video document.
Second aspect, using a kind of audio-video regulating device, the device include: audio-video obtain module, for obtain to The audio-video document of broadcasting and the default scene audio parameter threshold of target playback equipment, wherein the default scene audio ginseng Number threshold value is determined by broadcasting scene;Audio-video parsing module, for parsing the audio-video document, to obtain the audio-video text The audio frequency parameter of part;Parameter determination module, for using the audio frequency parameter as the audio to be regulated of the target playback equipment Parameter;Parameter computing module, for the audio frequency parameter to be regulated and the default scene audio parameter threshold to be carried out operation, Obtain the regulating allocation parameter of the target playback equipment;Parameter adjustment module, for according to the regulating allocation parameter regulation The audio frequency parameter to be regulated of the target playback equipment, so that the target playback equipment plays the audio-video document.
The third aspect, using a kind of terminal device, which includes: processor, and is connected with the processor The memory connect;The memory is for storing computer program, and the computer program is for executing described in first aspect Audio-video adjusting method;The processor is for calling and executing the computer program in the memory.
Fourth aspect, using a kind of storage medium, the storage medium is stored with computer program, the computer program When being executed by processor, each step in audio-video adjusting method as described in relation to the first aspect is realized.
The invention adopts the above technical scheme, in playing audio-video document, obtains audio-video document to be played first, The default scene audio parameter threshold of target playback equipment is determined further according to broadcasting scene;Again by parsing the audio-video text Part obtains the audio frequency parameter of the audio-video document;Join the audio frequency parameter as the audio to be regulated of target playback equipment Number;Operation is carried out to the audio frequency parameter to be regulated and the default scene audio parameter threshold, the target broadcasting is obtained and sets The standby regulating allocation parameter for needing to adjust;According to target playback equipment described in the regulating allocation parameter regulation, so as to be played Audio-video document can adapt to the play parameter of target playback equipment, and play the audio-video document.Pass through the above technology Scheme does not need to manually adjust playback equipment when switching playing audio-video document, and it is not necessary to modify or adjustment audio file, The maximum limitation for breaching the adjusting of software audio, realizes the control that audio customizes in playing process, and operation is more convenient, and And by calculating regulating allocation parameter according to different audio frequency parameters, and then target playback equipment is adjusted, not only realizing can The purpose of adjust automatically playback equipment audio frequency parameter, and the precision of playback equipment adjustment is also improved, reach and has more managed The result of broadcast thought.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of audio-video adjusting method provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides a kind of audio-video adjusting method flow chart;
Fig. 3 is a kind of structural schematic diagram for audio-video regulating device that further embodiment of this invention provides;
Fig. 4 is that yet another embodiment of the invention provides a kind of structural schematic diagram of terminal device.
Appended drawing reference:
Audio-video obtains module -301, audio-video parsing module -302, parameter determination module -303, parameter computing module - 304, parameter adjustment module -305, processor -401, memory -402.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, technical solution of the present invention will be carried out below Detailed description.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art are obtained all without making creative work Other embodiment belongs to the range that the present invention is protected.
Embodiment
Fig. 1 is a kind of flow chart of audio-video adjusting method provided in an embodiment of the present invention, and this method can be by the present invention The audio-video regulating device that embodiment provides executes, and the mode which can be used software and/or hardware realizes.With reference to Fig. 1, This method can specifically include following steps:
S101, the default scene audio parameter threshold for obtaining audio-video document and target playback equipment to be played, wherein The default scene audio parameter threshold is determined by broadcasting scene.
Specifically, in a kind of audio-video adjusting method provided in an embodiment of the present invention, with a specific example come into Row explanation, when user's click play audio-video document on computers, the controller of computer can obtain sound view to be played first Frequency file, to analyze in advance audio-video document to be played, further, since different broadcasting scenes have it is different Audio frequency parameter is played, for example, needing to increase the audio ginseng of playback equipment under the outdoor environments such as square when playing audio-video document Number, the default scene audio parameter threshold of playback equipment can be bigger than normal at this time;In the environment of indoors when playing audio-video document, this When playback equipment audio frequency parameter of audio frequency parameter when can be than outdoor broadcasting it is smaller, therefore, in playback equipment playing audio-video text Before part, computer can determine the default scene audio parameter threshold of playback equipment according to currently playing scene, according to default scene Audio frequency parameter threshold value is adjusted playback equipment.Before being played can by way of bluetooth or data line, by computer with The playback equipments such as high-power speaker connection, so that data transmission is more rapidly stable.
S102, the parsing audio-video document, to obtain the audio frequency parameter of the audio-video document.
Specifically, in the present embodiment, after user's click play key, so that computer obtains audio-video text to be played Part, computer can parse the audio-video document, pass through parsing during audio-video document to be played is read in load Obtain the audio frequency parameter of the audio-video document, wherein audio frequency parameter can be sound effect parameters.Because in actual application, Audio-video document is either downloaded from Streaming Media or user uploads on computer oneself, and audio-video document is all It has passed through compression processing, so that the audio frequency parameter of audio-video document has different degrees of loss, and due on different Streaming Medias Compression standard it is different so that the audio frequency parameter of each audio-video document differs greatly, therefore, in playing audio-video document, It needs to parse audio-video document, obtains the audio frequency parameter of audio-video document, according to the audio of audio-video document to be played The default scene audio parameter threshold of parameter and target playback equipment, is adjusted playback equipment.
S103, using the audio frequency parameter as the audio frequency parameter to be regulated of the target playback equipment.
Specifically, in actual application, since the audio frequency parameter that each audio-video document parses is fixed , the audio frequency parameter of audio-video document itself can not be adjusted, the audio frequency parameter of playback equipment, therefore, In can only be adjusted Before being adjusted to playback equipment, first the audio frequency parameter for parsing audio-video document is matched with playback equipment, it will To be regulated audio frequency parameter of the audio frequency parameter of audio-video document as target playback equipment, further according to the default of target playback equipment Audio frequency parameter to be played is adjusted in scene audio parameter threshold, is adjusted with reaching according to the audio frequency parameter of audio-video document The purpose of the audio frequency parameter of target playback equipment finally realizes ideal result of broadcast.
S104, the audio frequency parameter to be regulated and the default scene audio parameter threshold are subjected to operation, obtained described The regulating allocation parameter of target playback equipment.
Specifically, in the present embodiment, since the audio frequency parameter to be regulated of target playback equipment is audio-video document Therefore audio frequency parameter according to the audio frequency parameter to be regulated and the default scene audio parameter threshold, is guaranteeing audio-video text Under the conditions of part broadcasting is distortionless, so that target playback equipment plays audio-video text according to default scene audio parameter threshold Part finally obtains the regulating allocation parameter of target playback equipment, during actually calculating, can use in the prior art Big data algorithm is based on big data technology, calculates audio frequency parameter, other algorithms can also be used, for example, according to parsing The audio frequency parameter that audio-video document obtains determines in audio frequency parameter in the case where not influencing audio-video document broadcasting distortion The regulated quantity of loudness numerical value obtains the high and low sound number of the audio-video document by the regulated quantity of loudness numerical value multiplied by some coefficient Value observes the peak value of audio-video document according to high and low sound numerical value, and the peak value in the peak value and default scene audio parameter is carried out Compare, whether excessive judge difference, if difference is excessive, target playback equipment is adjusted, it is made to meet playing condition, it will Regulated quantity is as the regulating allocation parameter that target playback equipment is adjusted.
The audio frequency parameter to be regulated of S105, the target playback equipment according to the regulating allocation parameter regulation, so that institute It states target playback equipment and plays the audio-video document.
Specifically, after obtaining regulating allocation parameter according to audio frequency parameter to be regulated and default scene audio parameter threshold, electricity The controller at brain end sends regulating allocation parameter in target playback equipment, by the controller in target playback equipment according to meter The regulating allocation parameter of calculating adjusts target playback equipment, i.e., the audio frequency parameter to be regulated of target playback equipment is adjusted, Under the conditions of guaranteeing that audio-video document plays distortionless, playback equipment is enable to play according to default scene audio parameter threshold Audio-video document automatically switches to play next audio-video document when audio-video document to be played plays, more than execution Step is not necessarily to manual intervention, to realize the purpose of automatic adjustment playback equipment audio frequency parameter, reaches ideal result of broadcast.
The invention adopts the above technical scheme, in playing audio-video document, obtains audio-video document to be played first, The default scene audio parameter threshold of target playback equipment is determined further according to broadcasting scene;Again by parsing the audio-video text Part obtains the audio frequency parameter of the audio-video document;Join the audio frequency parameter as the audio to be regulated of target playback equipment Number;Operation is carried out to the audio frequency parameter to be regulated and the default scene audio parameter threshold, the target broadcasting is obtained and sets The standby regulating allocation parameter for needing to adjust;According to target playback equipment described in the regulating allocation parameter regulation, so as to be played Audio-video document can adapt to the play parameter of target playback equipment, and play the audio-video document.Pass through the above technology Scheme does not need to manually adjust playback equipment, operation is more convenient, and passes through basis when switching playing audio-video document Different audio frequency parameters calculate regulating allocation parameter, and then adjust target playback equipment, not only realize can adjust automatically broadcast The purpose of equipment audio frequency parameter is put, and also improves the precision of playback equipment adjustment, has reached more ideal and has played effect Fruit.
In the above-described embodiments, target playback equipment is adjusted according to the sound effect parameters of audio-video document, is to broadcast Before playback video file, the adjusting to target playback equipment would have been completed, when target playback equipment playing audio-video text When part, it need to only be played according to the parameter regulated.In addition, by a kind of audio-video adjusting side provided in an embodiment of the present invention Method can also be adjusted target playback equipment in playing process during practical application, specifically, can set A preset time threshold is set, which is determined by the play time of audio-video document, therefore, in above-described embodiment Audio frequency parameter can also be preset time threshold parameter.It is illustrated with specific example, preset time threshold can To be 1min, obtain audio-video document to be played first, through the foregoing embodiment in audio-video adjusting method, calculate tune Configuration parameter is saved, since preset time threshold is 1min, target playback equipment is not adjusted first, target broadcasting is set It is standby first to be played out according to the audio frequency parameter of audio-video document in playing audio-video document, when target playback equipment plays sound When the time of video file is equal to or more than 1min, at this time further according to regulating allocation parameter regulation target playback equipment.By setting Preset time threshold is set, the time of decision target playback equipment adjusting that can be more convenient according to broadcasting scene and plays feelings Condition freely determines the regulating time and regulating allocation parameter of target playback equipment.
Fig. 2 be another embodiment of the present invention provides a kind of audio-video adjusting method flow chart, the present embodiment is upper Refinement on the basis of stating embodiment, to step each in above-described embodiment progress.With reference to Fig. 2, this method be can specifically include Following steps:
S201, the playing request for receiving user identify the audio-video document to be played according to the playing request.
Specifically, in the present embodiment, when user needs playing audio-video document, mouse or finger can be passed through first The beginning broadcasting button on computer screen is clicked, computer receives the playing request of user, further according to playing request using existing OCR (Optical Character Recognition, optical character identification) technology in technology, to audio-video document title In text information identified, determine the title of audio-video document to be played, by operating above, playing audio-video text When part, the accuracy of file identification can be improved, prevent the audio-video document information played back and user from wanting the sound played Video file is not inconsistent.
S202, the default scene audio parameter threshold for obtaining audio-video document and target playback equipment to be played, wherein The default scene audio parameter threshold is determined by broadcasting scene.
S203, audio analysis software is called, the audio-video document is parsed, to obtain the audio frequency parameter.
Specifically, in actual application, after obtaining audio-video document to be played, can be controlled by computer Device calls audio analysis software in the prior art to analyze audio-video document, obtains audio frequency parameter, wherein audio parsing Software can use R128GAIN software, which is a kind of audio loudness scanner, can be scanned to audio-video document, To obtain the audio frequency parameter of audio-video document, in the present embodiment, by using audio analysis software in the prior art, benefit It with the efficient parsing function of high-performance processor in analysis software, can quickly analyze to obtain audio frequency parameter, can accelerate to adjust The process of playback equipment.
S204, using the audio frequency parameter as the audio frequency parameter to be regulated of the target playback equipment.
S205, the difference for calculating the audio frequency parameter to be regulated and the default scene audio parameter threshold.
Specifically, being obtained due to using audio frequency parameter as the audio frequency parameter to be regulated of target playback equipment according to parsing The audio frequency parameter of audio-video document and the default scene audio parameter threshold of playback equipment, are adjusted playback equipment, therefore, In the present embodiment, to the operation of audio frequency parameter to be regulated and default scene audio parameter threshold, it can be calculating between the two Difference, do not influence audio-video document play distortion under the premise of, can using the difference being calculated as adjust broadcasting set Standby regulating allocation parameter, to reach the result of broadcast for playing scene.
If S206, the difference are less than preset difference value threshold value, the tune of the target playback equipment is taked the difference as Save configuration parameter.
Specifically, in actual application, since the audio frequency parameter of each audio-video document is irregular, and different fields Default scene audio parameter threshold under scape is also different, therefore, according to audio frequency parameter to be regulated and default scene audio parameter The difference that threshold calculations obtain it is not of uniform size, in the present embodiment, due to using the audio frequency parameter of audio-video document as target Therefore the audio frequency parameter to be regulated of playback equipment when audio frequency parameter and smaller default scene audio parameter threshold difference, obtains Difference it is also smaller, and actually reconcile during, the audio frequency parameter of each audio-video document has certain variation model It encloses, makes the audio frequency parameter of audio-video document played back beyond variation range if adjusting playback equipment, will appear sound view Frequency file plays the case where distortion, compromises sound quality, therefore, also needs to be arranged one in the audio-video adjusting method of the present embodiment A preset difference value threshold value, the preset difference value threshold value it is to be understood that audio-video document maximum changing value, i.e. preset difference value threshold value It is determined by audio-video document itself.When the difference of calculating is less than preset difference value threshold value, show that the playback equipment after adjusting is being broadcast The case where being not in distortion when playback video file, or in the acceptable distortion range of human ear, therefore, using the difference as Regulating allocation parameter, is adjusted target playback equipment.
If S207, the difference are greater than or equal to preset difference value threshold value, using the preset difference value threshold value as the mesh Mark the regulating allocation parameter of playback equipment.
Specifically, if calculated difference is greater than or equal to preset difference value threshold value, being indicated if pressed with the principle in S206 Target playback equipment is adjusted according to difference, then has exceeded the maximum changing range of audio frequency parameter, it may appear that audio-video document plays The case where distortion, therefore, when the difference of audio frequency parameter to be regulated and default scene audio parameter threshold is more than preset difference value threshold value When, using preset difference value threshold value as the regulating allocation parameter of target playback equipment, it is undistorted can to guarantee that audio-video document plays Under the conditions of, so that the effect that playback equipment plays back is more in line with the audio frequency parameter of currently playing scene.
S208, the regulating allocation parameter is sent to the target playback equipment.
Specifically, the regulating allocation parameter being calculated is sent to mesh by wire transmission or wireless transmission method by computer Playback equipment is marked, and is adjusted according to regulating allocation parameters on target playback equipment, enables target playback equipment accurate Ground is according to the audio frequency parameter playing audio-video document after adjusting, to reach the mesh of the audio frequency parameter of automatic adjustment target playback equipment , finally realize ideal result of broadcast.
S209, audio decoder is called, audio signal is sent to the target playback equipment by the audio decoder.
Specifically, in actual application, is calculating regulating allocation parameter and adjusting the audio ginseng of target playback equipment While number, it is also necessary to call audio decoder in the prior art, by way of soft decoding or hard decoder, obtain digital sound Frequency signal, wherein obtained digital audio and video signals can be transmitted directly to target playback equipment;Digital audio can also be believed Number it is converted into analog audio signal, then analog audio signal is sent to target playback equipment, by target playback equipment by mould Quasi- audio signal plays back.Wherein, the mode for sending audio signal can be wire transmission, by Audio Data Line by audio Decoder is attached with target playback equipment, is also possible to pass through bluetooth or WiFi (Wireless using wireless transmission method Fidelity, Wireless Fidelity) form connection.
The audio frequency parameter to be regulated of S210, the target playback equipment according to the regulating allocation parameter regulation, so that institute It states target playback equipment and plays the audio-video document.
It should be noted that in the present embodiment, S206 is to judge the case where difference is less than preset difference value threshold value, and S207 is Judge the case where difference is greater than or equal to preset difference value threshold value, and in actual application, be either less than or greater than etc. In the no sequencing of the judgement of the two illustrates only in Fig. 2 of the present embodiment and first judges that difference is less than preset difference value threshold The case where value, judges the case where difference is greater than or equal to preset difference value threshold value afterwards, and it is default poor first to judge that difference is greater than or equal to The case where being worth threshold value judge that the case where difference is less than preset difference value threshold value is not shown in FIG. 2 afterwards.
The invention adopts the above technical scheme, and mainly by receiving the playing request of user, audio-video document can be improved Resolution, call audio analysis software parse to obtain audio frequency parameter, improve the efficiency of adjusting, calculate regulating allocation parameter When, by the preset difference value threshold value of setting according to the audio frequency parameter of different audio-video file, it is ensured that audio-video document is being broadcast Do not occur the case where distortion when putting, ensure that the play sound effect of audio-video document, and according to different audio frequency parameters, realizes automatic adjust The purpose for the audio frequency parameter that section playback equipment plays back.
Further, the audio frequency parameter include: audio peak, loudness yield value, bass gain value, middle pitch yield value and Treble gain value.
Specifically, in a practical situation, parsing audio frequency parameter that audio-video document obtains by audio analysis software can be with It is loudness yield value, the size of loudness yield value representative voice, in the present embodiment, default scene audio parameter threshold specifically may be used To be default scene audio loudness threshold;Audio frequency parameter is also possible to audio peak, indicates the attainable loudness of audio highest;Also Bass gain value, middle pitch yield value and the treble gain value that can be audio, by detecting a variety of audio frequency parameters, so that adjusting More accurately target playback equipment can be adjusted in the process, improve the precision of adjusting.In addition, according to audio frequency parameter Obtained regulating allocation parameter can be audio peak, loudness yield value, bass gain value, middle pitch yield value and treble gain Value, is also possible to the input gain value and output attenuatoin value of target playback equipment.
Fig. 3 is a kind of structural schematic diagram for audio-video regulating device that further embodiment of this invention provides, which is applicable in In a kind of audio-video adjusting method that the execution embodiment of the present invention is supplied to.As shown in figure 3, the device can specifically include: sound Video acquiring module 301, audio-video parsing module 302, parameter determination module 303, parameter computing module 304, parameter regulation mould Block 305, in which:
Audio-video obtains module 301, for obtaining the default scene of audio-video document and target playback equipment to be played Audio frequency parameter threshold value, wherein the default scene audio parameter threshold is determined by broadcasting scene.
Audio-video parsing module 302, for parsing the audio-video document, to obtain the audio ginseng of the audio-video document Number.
Parameter determination module 303, for joining the audio frequency parameter as the audio to be regulated of the target playback equipment Number.
Parameter computing module 304, for by the audio frequency parameter to be regulated and the default scene audio parameter threshold into Row operation obtains the regulating allocation parameter of the target playback equipment.
Parameter adjustment module 305, for the to be regulated of the target playback equipment according to the regulating allocation parameter regulation Audio frequency parameter, so that the target playback equipment plays the audio-video document.
It further, further include audio identification module, for being set in acquisition audio-video document to be played and target broadcasting Before standby default scene audio parameter threshold, receive the playing request of user, it is described wait broadcast according to playing request identification The audio-video document put.
Further, audio-video parsing module 302 includes: the first calling module, is specifically used for calling audio analysis software, The audio-video document is parsed, to obtain the audio frequency parameter.
Further, parameter computing module 304 includes: difference operation submodule, is specifically used for calculating the sound to be regulated The difference of frequency parameter and the default scene audio parameter threshold;Difference judging submodule, if being less than specifically for the difference Preset difference value threshold value then takes the difference as the regulating allocation parameter of the target playback equipment;If the difference be greater than or Equal to preset difference value threshold value, then using the preset difference value threshold value as the regulating allocation parameter of the target playback equipment.
Further, further includes: parameter sending module, for by the audio frequency parameter to be regulated and the default scene Audio frequency parameter threshold value carries out operation and joins the regulating allocation after obtaining the regulating allocation parameter of the target playback equipment Number is sent to the target playback equipment.
Further, further includes: the second calling module, for being broadcast in the target according to the regulating allocation parameter regulation The audio frequency parameter to be regulated of equipment is put, so as to call audio solution before the target playback equipment plays the audio-video document Code device sends audio signal to the target playback equipment by the audio decoder.
Further, the audio frequency parameter include: audio peak, loudness yield value, input gain value, output attenuatoin value, Bass gain value, middle pitch yield value and treble gain value.
The audio-video tune that any embodiment of that present invention provides can be performed in audio-video regulating device provided in an embodiment of the present invention Section method has the corresponding functional module of execution method and beneficial effect.
Fig. 4 is that yet another embodiment of the invention provides a kind of structural schematic diagram of terminal device, as shown in figure 4, the terminal is set It is standby to include:
Processor 401, and the memory 402 being connected with processor 401;Memory 402 is for storing computer journey Sequence, the computer program are used to execute the audio-video adjusting method in the above embodiment of the present invention;Processor 401 is for calling And the computer program in the memory 402 is executed, above-mentioned audio-video adjusting method at least includes the following steps:
Obtain the default scene audio parameter threshold of audio-video document and target playback equipment to be played, wherein described Default scene audio parameter threshold is determined by broadcasting scene;The audio-video document is parsed, to obtain the audio-video document Audio frequency parameter;Using the audio frequency parameter as the audio frequency parameter to be regulated of the target playback equipment;By the audio to be regulated Parameter and the default scene audio parameter threshold carry out operation, obtain the regulating allocation parameter of the target playback equipment;Root According to the audio frequency parameter to be regulated of target playback equipment described in the regulating allocation parameter regulation, so that target playback equipment plays institute State audio-video document.
The embodiment of the present invention also provides a kind of storage medium, and the storage medium is stored with computer program, the calculating When machine program is executed by processor 401, each step in the audio-video adjusting method provided in such as embodiment of the present invention is realized, it should Audio-video adjusting method at least includes the following steps:
Obtain the default scene audio parameter threshold of audio-video document and target playback equipment to be played, wherein described Default scene audio parameter threshold is determined by broadcasting scene;The audio-video document is parsed, to obtain the audio-video document Audio frequency parameter;Using the audio frequency parameter as the audio frequency parameter to be regulated of the target playback equipment;By the audio to be regulated Parameter and the default scene audio parameter threshold carry out operation, obtain the regulating allocation parameter of the target playback equipment;Root According to the audio frequency parameter to be regulated of target playback equipment described in the regulating allocation parameter regulation, so that target playback equipment plays institute State audio-video document.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple " Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (10)

1. a kind of audio-video adjusting method characterized by comprising
Obtain the default scene audio parameter threshold of audio-video document and target playback equipment to be played, wherein described default Scene audio parameter threshold is determined by broadcasting scene;
The audio-video document is parsed, to obtain the audio frequency parameter of the audio-video document;
Using the audio frequency parameter as the audio frequency parameter to be regulated of the target playback equipment;
The audio frequency parameter to be regulated and the default scene audio parameter threshold are subjected to operation, the target broadcasting is obtained and sets Standby regulating allocation parameter;
According to the audio frequency parameter to be regulated of target playback equipment described in the regulating allocation parameter regulation, so that the target plays Audio-video document described in device plays.
2. audio-video adjusting method according to claim 1, which is characterized in that obtain audio-video document to be played and Before the default scene audio parameter threshold of target playback equipment, further includes:
The playing request for receiving user identifies the audio-video document to be played according to the playing request.
3. audio-video adjusting method according to claim 1, which is characterized in that the parsing audio-video document, with Obtain the audio frequency parameter of the audio-video document, comprising:
Audio analysis software is called, the audio-video document is parsed, to obtain the audio frequency parameter.
4. audio-video adjusting method according to claim 1, which is characterized in that it is described by the audio frequency parameter to be regulated and The default scene audio parameter threshold carries out operation, obtains the regulating allocation parameter of the target playback equipment, comprising:
Calculate the difference of the audio frequency parameter to be regulated Yu the default scene audio parameter threshold;
If the difference is less than preset difference value threshold value, the regulating allocation ginseng of the target playback equipment is taked the difference as Number;
If the difference is greater than or equal to preset difference value threshold value, using the preset difference value threshold value as the target playback equipment Regulating allocation parameter.
5. audio-video adjusting method according to claim 1, which is characterized in that by the audio frequency parameter to be regulated and institute It states default scene audio parameter threshold and carries out operation, after obtaining the regulating allocation parameter of the target playback equipment, further includes:
The regulating allocation parameter is sent to the target playback equipment.
6. audio-video adjusting method according to claim 1, which is characterized in that according to the regulating allocation parameter regulation The audio frequency parameter to be regulated of the target playback equipment, so that before the target playback equipment plays the audio-video document, Further include:
Audio decoder is called, audio signal is sent to the target playback equipment by the audio decoder.
7. audio-video adjusting method according to claim 1, which is characterized in that the audio frequency parameter include: audio peak, Loudness yield value, bass gain value, middle pitch yield value and treble gain value.
8. a kind of audio-video regulating device, which is characterized in that described device includes:
Audio-video obtains module, for obtaining the default scene audio parameter of audio-video document and target playback equipment to be played Threshold value, wherein the default scene audio parameter threshold is determined by broadcasting scene;
Audio-video parsing module, for parsing the audio-video document, to obtain the audio frequency parameter of the audio-video document;
Parameter determination module, for using the audio frequency parameter as the audio frequency parameter to be regulated of the target playback equipment;
Parameter computing module, for the audio frequency parameter to be regulated and the default scene audio parameter threshold to be carried out operation, Obtain the regulating allocation parameter of the target playback equipment;
Parameter adjustment module, the audio to be regulated for the target playback equipment according to the regulating allocation parameter regulation are joined Number, so that the target playback equipment plays the audio-video document.
9. a kind of terminal device characterized by comprising
Processor, and the memory being connected with the processor;
The memory is at least used for perform claim and requires any one of 1-7 for storing computer program, the computer program The audio-video adjusting method;
The processor is for calling and executing the computer program in the memory.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program quilt When processor executes, realize such as each step in the described in any item audio-video adjusting methods of claim 1-7.
CN201910812058.9A 2019-08-30 2019-08-30 Audio-video adjusting method, device, terminal device and storage medium Pending CN110493636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910812058.9A CN110493636A (en) 2019-08-30 2019-08-30 Audio-video adjusting method, device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910812058.9A CN110493636A (en) 2019-08-30 2019-08-30 Audio-video adjusting method, device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN110493636A true CN110493636A (en) 2019-11-22

Family

ID=68555342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910812058.9A Pending CN110493636A (en) 2019-08-30 2019-08-30 Audio-video adjusting method, device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN110493636A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261470A (en) * 2020-10-21 2021-01-22 维沃移动通信有限公司 Audio processing method and device
CN115102931A (en) * 2022-05-20 2022-09-23 阿里巴巴(中国)有限公司 Method for adaptively adjusting audio delay and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999492A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and device for adjusting volume of media file
CN103456334A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Method and device for playing audio file
CN103701419A (en) * 2013-12-06 2014-04-02 乐视致新电子科技(天津)有限公司 Volume regulating method and device
CN107526568A (en) * 2017-08-18 2017-12-29 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN108647005A (en) * 2018-05-15 2018-10-12 努比亚技术有限公司 Audio frequency playing method, mobile terminal and computer readable storage medium
CN109375893A (en) * 2018-11-20 2019-02-22 北京小米移动软件有限公司 Audio frequency playing method and device
CN109508170A (en) * 2018-12-15 2019-03-22 深圳壹账通智能科技有限公司 Volume setting method, device, computer equipment and storage medium
CN109547848A (en) * 2018-11-23 2019-03-29 北京达佳互联信息技术有限公司 Loudness method of adjustment, device, electronic equipment and storage medium
DE102017218483A1 (en) * 2017-10-16 2019-04-18 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. METHOD FOR ADJUSTING PARAMETERS FOR INDIVIDUAL ADJUSTMENT OF AN AUDIO SIGNAL

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999492A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and device for adjusting volume of media file
CN103456334A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Method and device for playing audio file
CN103701419A (en) * 2013-12-06 2014-04-02 乐视致新电子科技(天津)有限公司 Volume regulating method and device
CN107526568A (en) * 2017-08-18 2017-12-29 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
DE102017218483A1 (en) * 2017-10-16 2019-04-18 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. METHOD FOR ADJUSTING PARAMETERS FOR INDIVIDUAL ADJUSTMENT OF AN AUDIO SIGNAL
CN108647005A (en) * 2018-05-15 2018-10-12 努比亚技术有限公司 Audio frequency playing method, mobile terminal and computer readable storage medium
CN109375893A (en) * 2018-11-20 2019-02-22 北京小米移动软件有限公司 Audio frequency playing method and device
CN109547848A (en) * 2018-11-23 2019-03-29 北京达佳互联信息技术有限公司 Loudness method of adjustment, device, electronic equipment and storage medium
CN109508170A (en) * 2018-12-15 2019-03-22 深圳壹账通智能科技有限公司 Volume setting method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261470A (en) * 2020-10-21 2021-01-22 维沃移动通信有限公司 Audio processing method and device
CN115102931A (en) * 2022-05-20 2022-09-23 阿里巴巴(中国)有限公司 Method for adaptively adjusting audio delay and electronic equipment
CN115102931B (en) * 2022-05-20 2023-12-19 阿里巴巴(中国)有限公司 Method for adaptively adjusting audio delay and electronic equipment

Similar Documents

Publication Publication Date Title
CN102257728B (en) Audio signal adjustment device and audio signal adjustment method
CN104410379B (en) A kind of volume adjusting method
JP4913038B2 (en) Audio level control
US9276544B2 (en) Dynamic range control gain encoding
EP2884493A1 (en) Method and apparatus for voice quality monitoring
CN110493636A (en) Audio-video adjusting method, device, terminal device and storage medium
CN106210879A (en) intelligent volume control system and intelligent volume control method
CN104168431A (en) Volume adjusting method and device and set top box
CN102025946A (en) Volume control method and digital television all-in-one machine utilizing same
WO2019071808A1 (en) Video image display method, apparatus and system, terminal device, and storage medium
CN109120991A (en) Method, apparatus and set-top box for dynamic regulation video volume
CN1964447B (en) A system and method to manage sound volume
CN111352605A (en) Audio playing and sending method and device
CN100571359C (en) Video and voice-frequency sender with and method of operation
US20230146871A1 (en) Audio data processing method and apparatus, device, and storage medium
US20220286103A1 (en) Audio signal processing method and apparatus for controlling loudness level and dynamic range
CN110782909A (en) Method for switching audio decoder and intelligent sound box
CN106228999A (en) Improve method and the audio-frequence player device of audio-frequence player device audio
US20220182029A1 (en) Apparatus and method for automatic volume control with ambient noise compensation
WO2017156880A1 (en) Terminal audio parameter management method, apparatus and system
KR101403943B1 (en) Device of controlling streaming of media, server, receiver and method of controlling thereof
CN112306451A (en) Volume adjustment method, device and system
US8934996B2 (en) Transmission apparatus and transmission method
CN112954577B (en) Evaluation equipment and earphone evaluation real-time display method
CN101615959B (en) Device and method for matching playback spectrums of two audio sources

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191122