A kind of method and device that automatically regulates audio volume according to Video Applications scene
Technical field
The present invention relates to audio frequency and regulate field, particularly one regulates audio frequency automatically according to Video Applications sceneThe method of volume and device.
Background technology
In a video, audio frequency, just as a tie, connects picture and spectators' emotion. Audio frequency effect existsIn video transmission, play a part very hugely, the audio frequency effect of outstanding harmony can greatly promote videoPropagate expressive force. In conventional art, the audio frequency in mobile terminal video software is processed conventionally fairly simple, veryTo ignoring the audio-frequency unit of processing in video, directly by unprocessed the original audio in video file, directlyUse or the direct and stack use of dubbing in background music, will cause so under many circumstances audio frequency effect and video to depositIn discordant phenomenon, be unfavorable for like this propagation of video, affect the expressive force of video content, can not be fineGround represents video and really wants the content of propagating.
Summary of the invention
The technical problem to be solved in the present invention is, for prior art above-mentioned be unfavorable for video propagation,Can not represent well video and really want the defect of content of propagating, provide a kind of propagation that is conducive to video,Can represent well video really want propagate content automatically regulate audio volume according to Video Applications sceneMethod and device.
The technical solution adopted for the present invention to solve the technical problems is: structure is a kind of according to Video Applications sceneAutomatically the method that regulates audio volume, is provided with the video software for editing video at mobile terminal, described inMethod comprises the steps:
A) take and obtain multiple original video scene sheets with sequential by described video software point sceneSection, or directly import multiple original video scene fragments with sequential by described video software;
B) in described video software, respectively each described original video scene fragment is carried out the spy of video contentThe input of effect editor and captions, and obtain accordingly editing video scene fragment;
C) select the local background music of storing or selection to leave the background sound in high in the clouds in by described video softwareHappy;
D) user is respectively described in each by described video software that editing video scene Piece Selection is correspondingTake audio frequency; Described shooting audio frequency comprises to be dubbed or the embedded audio frequency of described original video scene fragment;
E) user, according to the difference of editing video scene fragment described in each, selects in described video softwareCorresponding audio mixing processing mode, described video software is the sound to described background music and shooting audio frequency automaticallyAmount is done self adaptation and is regulated;
F) respectively by described in each editing video scene fragment corresponding with it through audio mixing bat after treatmentTake the photograph audio frequency and synthesize and obtain corresponding synthetic video fragment, all synthetic video fragments are carried out chronologicallySynthetic, and with through the audio mixing background music after treatment synthetic target synthetic video that obtains again.
In the method that automatically regulates audio volume according to Video Applications scene of the present invention, described stepD) further comprise:
D1) user is respectively described in each by described video software that editing video scene Piece Selection is correspondingShooting audio frequency, and judge selected dubbing or embedded audio frequency, dub in this way, perform step D2);Otherwise, continue to use its embedded audio frequency;
D2) user, for editing video scene fragment described in each, is respectively it and records and obtain phaseThat answers dubs file, and described in correspondence is each the file of dubbing of editing video scene fragment replace in itEmbedding audio frequency.
In the method that automatically regulates audio volume according to Video Applications scene of the present invention, described stepE) further comprise:
E1) user, according to the difference of editing video scene fragment described in each, selects in described video softwareSelect corresponding audio mixing processing mode, what judgement was selected is direct stack, weakens and take audio frequency or reductionBackground music, directly stack, performs step E2 in this way); Weaken in this way and take audio frequency, execution stepE3), weaken in this way background music, perform step E4);
E2) described video software automatically by described background music with dub file and superpose;
E3) described video software is turned described embedded audio frequency or the volume of dubbing file down automatically, and will described inThe volume of background music tunes up;
E4) described video software is turned the volume of described background music down automatically, and by described embedded audio frequency orThe volume of dubbing file tunes up.
In the method that automatically regulates audio volume according to Video Applications scene of the present invention, described special efficacyEditor comprises any one or the arbitrarily several combination in degree of checking colors, brightness, Gaussian Blur and deformation effectThe editor who carries out.
The invention still further relates to a kind of above-mentioned method that automatically regulates audio volume according to Video Applications scene of realizingDevice, is provided with the video software for editing video at mobile terminal, and described device comprises:
Video capture imports unit: multiplely have for obtaining by the shooting of described video software point sceneThe original video scene fragment of sequential, or directly import multiple the original of sequential that have by described video softwareVideo scene fragment;
Video editing unit: at described video software respectively to each described original video scene fragmentCarry out the special efficacy editor of video content and the input of captions, and obtain accordingly editing video scene fragment;
Background music selected cell: for select background music or the choosing of local storage by described video softwareSelect the background music that leaves high in the clouds in;
Take audio selection unit: for making user be respectively described in each and edit by described video softwareVideo scene Piece Selection is taken audio frequency accordingly; Described shooting audio frequency comprises to be dubbed or described original video fieldThe embedded audio frequency of piece of scenery section;
Volume self adaptation regulon: for making user according to editing video scene fragment has not been described in eachWith, in described video software, select corresponding audio mixing processing mode, described video software is automatically to instituteState the volume of background music and shooting audio frequency and do self adaptation adjusting;
Audio frequency and video synthesis unit: for respectively by the editing video scene fragment warp corresponding with it described in eachAudio mixing shooting audio frequency after treatment synthesizes and obtains corresponding synthetic video fragment, by all syntheticVideo segment synthesizes chronologically, and with through the audio mixing background music after treatment synthetic order that obtains againMark synthetic video.
In device of the present invention, described shooting audio selection unit further comprises:
Take audio selection judge module: for make user by described video software be respectively each described inEditing video scene Piece Selection is taken audio frequency accordingly, and judges selected dubbing or embedded audio frequency,Dub in this way the recording of dubbing; Otherwise, continue to use its embedded audio frequency;
Recording replacement module: for making user for editing video scene fragment described in each, be respectively itRecord and dubbed accordingly file, and joining of editing video scene fragment described in correspondence is eachSound file replaces its embedded audio frequency.
In device of the present invention, described volume self adaptation regulon further comprises:
Audio mixing is selected module: for making user according to the difference of editing video scene fragment described in each,In described video software, select corresponding audio mixing processing mode, judgement select be direct stack, a little less thanChange shooting audio frequency and still weaken background music;
Audio frequency laminating module: for make described video software automatically by described background music with dub file and carry outStack;
The first volume adjusting module: for described video software automatically by described embedded audio frequency or dub fileVolume is turned down, and the volume of described background music is tuned up;
The second volume adjusting module: for described video software is turned down the volume of described background music automatically,And described embedded audio frequency or the volume of dubbing file are tuned up.
In device of the present invention, described special efficacy editor comprises degree of checking colors, brightness, Gaussian Blur and shapeAny one in change effect or the editor that several combinations is carried out arbitrarily.
Implement method and the device that automatically regulates audio volume according to Video Applications scene of the present invention, have withLower beneficial effect: due to after obtaining multiple original video scene fragments with sequential and editing, selectBackground music, is respectively the each scene of editing video Piece Selection and dubs or continue to use embedded audio frequency, Yong HugenAccording to concrete scene, in video software, select audio mixing processing mode, video software automatically to dubbing orThe volume of embedded audio frequency, background music is carried out self adaptation adjusting, then carries out the synthetic of video and audio, like this,The self adaptation that video software just can carry out volume according to concrete scene regulates, and makes itself and corresponding piece of videoIt is harmonious that section reaches, and so just can better promote the transmission capacity of video, so it is conducive to the biography of videoBroadcast, can represent well video and really want the content of propagating.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to implementingIn example or description of the Prior Art, the accompanying drawing of required use is briefly described, and apparently, the following describesIn accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not payingGo out under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the present invention regulates audio volume automatically method and an enforcement of device according to Video Applications sceneThe flow chart of the method in example;
Fig. 2 is that in described embodiment, user is respectively the each scene of editing video fragment choosing by video softwareSelect the particular flow sheet of corresponding shooting audio frequency;
Fig. 3 is that in described embodiment, user is according to the difference of the each scene of editing video fragment, soft at videoIn part, select corresponding audio mixing processing mode, video software is the sound to background music and shooting audio frequency automaticallyAmount is done the particular flow sheet that self adaptation regulates;
Fig. 4 is the structural representation installing in described embodiment.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearlyChu, intactly description, obviously, described embodiment is only the present invention's part embodiment, instead ofWhole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creationThe every other embodiment obtaining under property work prerequisite, belongs to the scope of protection of the invention.
Automatically regulate according to Video Applications scene in the present invention in the method and device embodiment of audio volume, itsAutomatically regulate according to Video Applications scene audio volume method flow chart as shown in Figure 1. In the present embodiment,Mobile terminal is provided with the video software for editing video, and the mobile terminal in the present embodiment is mobile phone, whenSo, under the certain situation of the present embodiment, this mobile terminal can be installed this for panel computer or other and lookFrequently terminal device that software also can be edited video etc. In Fig. 1, this according to Video Applications scene certainlyThe moving method that regulates audio volume comprises the steps:
Step S01 is taken and is obtained multiple original video scenes with sequential by video software point sceneFragment, or directly import multiple original video scene fragments with sequential by video software: in this step,Open the video software of mobile terminal, take and obtain multiple sequential that have by this video software point sceneThe original video scene fragment of (sequencing), or directly import multiple while having by this video softwareThe original video scene fragment of order.
Step S02 carries out respectively the special efficacy of video content in video software to each original video scene fragmentEditor and the input of captions, and obtain accordingly editing video scene fragment: in this step, at this videoIn software, respectively each original video scene fragment is carried out to the special efficacy editor of video content and the input of captions,After handling, obtain accordingly editing video scene fragment. In the present embodiment, special efficacy editor comprises and checking colorsAny one in degree, brightness, Gaussian Blur and deformation effect or the editor that several combinations is carried out arbitrarily.
Step S03 selects the local background music of storing or selection to leave the background in high in the clouds in by video softwareMusic: in this step, select background music or the selection of local storage to leave high in the clouds in (by video softwareCloud server) background music.
Step S04 user is respectively the each scene of editing video Piece Selection by video software and claps accordinglyTake the photograph audio frequency: in this step, user is respectively the each scene of editing video Piece Selection phase by video softwareThe shooting audio frequency of answering. In the present embodiment, take audio frequency and comprise and dubbing or the embedded sound of original video scene fragmentFrequently, namely taking audio frequency has two kinds, and one is to dub, and another kind is the embedded of original video scene fragmentAudio frequency. Wherein, dub and refer to mobile terminal the each scene of editing video fragment is recorded, such as:User sends voice, and the voice that video software sends user are recorded, alternative with the recording file obtainingIts embedded audio frequency. The embedded audio frequency of original video scene fragment is exactly not dub, and directly uses this original video fieldThe audio frequency that piece of scenery section is entrained.
Step S05 user, according to the difference of the each scene of editing video fragment, selects phase in video softwareThe audio mixing processing mode of answering, video software does self adaptation to the volume of background music and shooting audio frequency automaticallyRegulate: in this step, user, according to the difference of the each scene of editing video fragment, selects in video softwareSelect corresponding audio mixing processing mode, video software does certainly the volume of background music and shooting audio frequency automaticallyAdapt to regulate. In the present embodiment, audio mixing processing mode comprises direct stack, weakens and take audio frequency (phaseWhen in weakening embedded audio frequency or dub, and strengthen background music) and weaken background music and (be equivalent to weaken and carry on the backScape music, and strengthen embedded audio frequency or dub).
Step S06 is respectively by corresponding with it the each scene of editing video fragment after treatment through audio mixingTake audio frequency and synthesize and obtain corresponding synthetic video fragment, all synthetic video fragments are entered chronologicallyRow is synthetic, and with through the audio mixing background music after treatment synthetic target synthetic video that obtains again: this stepIn rapid, respectively by corresponding with it the each scene of editing video fragment through audio mixing shooting sound after treatmentFrequently synthesize and obtain corresponding synthetic video fragment, all synthetic video fragments are synthesized chronologically,And with through the audio mixing background music after treatment synthetic target synthetic video that obtains again. Concrete, eachEditing video scene fragment has corresponding dubbing or embedded audio frequency, the each scene of editing video fragmentSequential is that program setting is good, carries out each editing video field according to the sequential of editing video scene fragmentSynthesizing of the Audio and Video of piece of scenery section, after the each scene of editing video segment condense, automatically by allThe composite document of editing video scene fragment is again synthetic chronologically, obtains final looking with audio frequencyFrequency file (being target synthetic video). This target synthetic video had both contained video and video, also contained captions.In the present embodiment, video software just can according to concrete scene carry out volume self adaptation regulate, make its withIt is harmonious that corresponding video segment reaches, and so just can better promote the transmission capacity of video, so it hasBe beneficial to video propagation, can represent well video really want propagate content.
For the present embodiment, above-mentioned steps S04 is further refinement also, the flow chart after its refinement asShown in Fig. 2. In Fig. 2, above-mentioned steps S04 further comprises:
Step S41 user is respectively the each scene of editing video Piece Selection by video software and claps accordinglyTake the photograph audio frequency, and judge selected dubbing or embedded audio frequency: in this step, user is by above-mentioned videoSoftware is respectively the each scene of editing video Piece Selection and takes accordingly audio frequency, and judges and be selectedlyDub or embedded audio frequency, if selection is to dub, perform step S42; Otherwise, execution step S43.
Step S42 user, for the each scene of editing video fragment, is respectively it and records and obtain phaseThat answers dubs file, and the file of dubbing of the each correspondence scene of editing video fragment is replaced to its embedded soundFrequently: if what select in above-mentioned steps S41 is to dub, carry out this step. In this step, user forThe each scene of editing video fragment, by sending voice, is respectively it and records and joined accordinglySound file, and the file of dubbing of the each correspondence scene of editing video fragment is replaced to its embedded audio frequency.
Step S43 continues to use its embedded audio frequency: if what select in above-mentioned steps S41 is embedded audio frequency, holdThis step of row. In this step, continue to use the embedded audio frequency of editing video scene fragment. User can be according to toolBody demand, selects to dub accordingly or embedded audio frequency mode, has increased the flexibility of application, meets and uses simultaneouslyThe demand that family is different.
For the present embodiment, above-mentioned steps S05 is further refinement also, the flow chart after its refinement asShown in Fig. 3. In Fig. 3, above-mentioned steps S05 further comprises:
Step S51 user, according to the difference of the each scene of editing video fragment, selects phase in video softwareThe audio mixing processing mode of answering, what judgement was selected is direct stack, weakens and take audio frequency or weaken backgroundMusic: in this step, user, according to the difference of the each scene of editing video fragment, selects in video softwareSelect corresponding audio mixing processing mode, what judgement was selected is direct stack, weakens and take audio frequency or reductionBackground music, in this step, if selection is direct stack, performs step S52; If what select isWeaken and take audio frequency, perform step S53; If what select is to weaken background music, perform step S54.
Step S52 video software automatically by background music with dub file and superpose: if above-mentioned steps S51Middle selection be direct stack, carry out this step. In this step, video software automatically by background music withDub file and superpose, the volume of background music is not regulated, also not to dubbing the volume of fileSize regulates.
Step S53 video software is turned embedded audio frequency or the volume of dubbing file down automatically, and by background musicVolume tune up: if in above-mentioned steps S51, select be weaken take audio frequency, carry out this step. ThisIn step, video software is turned embedded audio frequency or the volume of dubbing file down automatically, and by the sound of background musicAmount tunes up.
Step S54 video software is turned the volume of background music down automatically, and by embedded audio frequency or dub fileVolume tune up: if in above-mentioned steps S51, select be weaken background music, carry out this step. ThisIn step, video software is turned the volume of background music down automatically, and by embedded audio frequency or dub the sound of fileAmount tunes up. In the present embodiment, video software carries out adaptive according to the difference of Video Applications scene to audio volumeShould regulate, make audio & video more harmonious, better promote the transmission capacity of video. Through professional audio mixingThe audio frequency of processing has greatly enriched the expressive force of video content, embedded audio file quality be promoted to movementThe propagation of terminal video has increased professional.
The present embodiment also relates to a kind of above-mentioned method that automatically regulates audio volume according to Video Applications scene that realizesDevice, its structural representation is as shown in Figure 4. In the present embodiment, be provided with for editor at mobile terminalThe video software of video. In Fig. 4, this device comprise video capture import unit 1, video editing unit 2,Background music selected cell 3, shooting audio selection unit 4, volume self adaptation regulon 5 and audio frequency and video are closedBecome unit 6; Wherein, video capture imports unit 1 for obtaining many by a video software point scene shootingThe individual original video scene fragment with sequential, or directly import multiple the former of sequential that have by video softwareBeginning video scene fragment; Video editing unit 2 at video software respectively to each original video sceneFragment is carried out the special efficacy editor of video content and the input of captions, and obtains accordingly editing video scene sheetSection; In the present embodiment, special efficacy editor comprise in degree of checking colors, brightness, Gaussian Blur and deformation effect arbitrarilyEditor a kind of or that several combinations is carried out arbitrarily. Background music selected cell 3 is for passing through video softwareSelect the local background music of storing or selection to leave the background music in high in the clouds in; Take audio selection unit 4Be used for making user to be respectively the each scene of editing video Piece Selection by video software and take accordingly soundFrequently; Above-mentioned shooting audio frequency comprises to be dubbed or the embedded audio frequency of original video scene fragment; Volume self adaptation regulatesPhase, for making user according to the difference of the each scene of editing video fragment, is selected in unit 5 in video softwareThe audio mixing processing mode of answering, video software does self adaptation to the volume of background music and shooting audio frequency automaticallyRegulate; Audio frequency and video synthesis unit 6 for respectively by corresponding with it the each scene of editing video fragment through soundFrequently the shooting audio frequency after stereo process synthesizes and obtains corresponding synthetic video fragment, by all synthetic lookingFrequently fragment is synthesized chronologically, and with through the audio mixing background music after treatment synthetic target that obtains againSynthetic video. In the present embodiment, video software just can carry out according to concrete scene the self adaptation adjusting of volume,Make itself and corresponding video segment reach harmonious, so just can better promote the transmission capacity of video,So its be conducive to video propagation, can represent well video really want propagate content.
In the present embodiment, take audio selection unit 4 and further comprise shooting audio selection judge module 41 HesRecording replacement module 42; Wherein, take audio selection judge module 41 for user is divided by video softwareDo not take accordingly audio frequency for the each scene of editing video Piece Selection, and judge that selected is also to dubBe embedded audio frequency, dub in this way, the recording of dubbing; Otherwise, continue to use its embedded audio frequency; Recording is replacedModule 42, for making user for the each scene of editing video fragment, is respectively it and records and obtain phaseThat answers dubs file, and the file of dubbing of the each correspondence scene of editing video fragment is replaced to its embedded soundFrequently.
In the present embodiment, volume self adaptation regulon 5 further comprises audio mixing selection module 51, soundFrequently laminating module 52, the first volume adjusting module 53 and the second volume adjusting module 54; Wherein, audio frequency is mixedSound selects module 51 for making user according to the difference of the each scene of editing video fragment, in video softwareSelect corresponding audio mixing processing mode, judgement select be direct stack, weaken take audio frequency or a little less thanChange background music; Audio frequency laminating module 52 for make video software automatically by background music with dub file and carry outStack; The first volume adjusting module 53 for video software automatically by embedded audio frequency or dub file volume adjustLittle, and the volume of background music is tuned up; The second volume adjusting module 54 is for automatically carrying on the back video softwareThe volume of scape music is turned down, and embedded audio frequency or the volume of dubbing file are tuned up.
In a word, in the present embodiment, realized according to the difference of application scenarios and automatically having regulated by video softwareThe function of audio volume size, the audio volume size recording in recorded video process, with post-productionTime dub in background music and dub the volume of file, video software can carry out automatically according to the needs of editor's sceneThe adaptation of volume. So just greatly enrich the expressive force of video content, the lifting of embedded audio file qualityFor the propagation of mobile terminal video has increased professional.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, not all at thisWithin bright spirit and principle, any amendment of doing, be equal to replacement, improvement etc., all should be included in thisWithin bright protection domain.