A kind of method and device automatically adjusting audio volume according to Video Applications scene
Technical field
The present invention relates to audios to adjust field, in particular to a kind of to automatically adjust audio volume according to Video Applications scene
Method and device.
Background technique
In a video, audio connects the emotion of picture and spectators just as a tie.Audio frequency effect is in video transmission
In play very huge effect, the audio frequency effect of outstanding harmony can greatly promote the propagation expressive force of video.Traditional skill
In art, the audio processing in mobile terminal video software is generally straightforward, or even ignores the audio-frequency unit in processing video, directly
It connects the original audio in video file is unprocessed, directly uses or be directly superimposed use with dubbing in background music, in this way in many feelings
Will result in audio frequency effect under condition, there are discordant phenomenons with video, are unfavorable for the propagation of video in this way, influence video content
Expressive force, cannot show well video really want propagate content.
Summary of the invention
The technical problem to be solved in the present invention is that for the prior art the above-mentioned propagation for being unfavorable for video, cannot be very
Show the defect that video really wants the content propagated well, a kind of propagation being conducive to video is provided, view can be showed well
Frequency really wants the method and device that audio volume is automatically adjusted according to Video Applications scene for the content propagated.
The technical solution adopted by the present invention to solve the technical problems is: constructing and a kind of is adjusted automatically according to Video Applications scene
The method for saving audio volume, is equipped with the video software for editing video in mobile terminal, described method includes following steps:
A point scene capture) is carried out by the video software and obtains multiple original video scene segments with timing, or
Multiple original video scene segments with timing are introduced directly by the video software;
B) special efficacy for carrying out video content to each original video scene segment respectively in the video software is compiled
Volume and subtitle input, and obtain having edited video scene segment accordingly;
C the background music or selection) being locally stored by video software selection store background music beyond the clouds;
D) user is respectively each described to have edited video scene Piece Selection and shoot accordingly by the video software
Audio;The shooting audio includes dubbing or the embedded audio of the original video scene segment;
E) user selects corresponding according to each difference for having edited video scene segment in the video software
Audio mixing processing mode, the video software do automatic adjusument to the volume of the background music and shooting audio automatically;
F) respectively by it is each it is described edited video scene segment it is corresponding through audio mixing treated shooting sound
Frequency synthesized to obtain corresponding synthetic video segment, all synthetic video segments are chronologically synthesized, and with through sound
Background music after frequency stereo process synthesizes again obtains target synthetic video.
In the method for the present invention for automatically adjusting audio volume according to Video Applications scene, the step D) into one
Step includes:
D1) user is respectively each described to have edited video scene Piece Selection and shoot accordingly by the video software
Audio, and judge it is selected dub or embed audio, dub in this way, then follow the steps D2);Otherwise, it is embedded to continue to use it
Audio;
D2) user has edited video scene segment for each described, and respectively it is recorded and is matched accordingly
Sound file, and corresponding each file of dubbing for having edited video scene segment is replaced into its embedded audio.
In the method for the present invention for automatically adjusting audio volume according to Video Applications scene, the step E) into one
Step includes:
E1) user selects corresponding according to each difference for having edited video scene segment in the video software
Audio mixing processing mode, judge selection is direct superposition, reduction shooting audio or reduction background music, in this way directly
Superposition, thens follow the steps E2);Reduction shooting audio in this way, thens follow the steps E3), background music is weakened in this way, is thened follow the steps
E4);
E2) background music is overlapped by the video software with file is dubbed automatically;
E3) video software by the embedded audio or is dubbed the volume of file and is turned down automatically, and by the background sound
Happy volume tunes up;
E4) video software automatically turns the volume of the background music down, and by the embedded audio or dubs text
The volume of part tunes up.
In the method for the present invention for automatically adjusting audio volume according to Video Applications scene, the special efficacy edit package
Include the editor carried out to any one or any several combination in coloration, brightness, Gaussian Blur and deformation effects.
The invention further relates to it is a kind of realize it is above-mentioned according to Video Applications scene automatically adjust audio volume method device,
The video software for editing video is installed in mobile terminal, described device includes:
Video capture import unit: for by the video software carry out point scene capture obtain it is multiple with timing
Original video scene segment, or multiple original video scene segments with timing are introduced directly by the video software;
Video editing unit: for being regarded respectively to each original video scene segment in the video software
The special efficacy editor of frequency content and the input of subtitle, and obtain having edited video scene segment accordingly;
Background music selecting unit: background music or selection storage for being locally stored by video software selection
Background music beyond the clouds;
Shooting audio selection unit: for making user edit video field by the way that the video software is respectively each described
Scape Piece Selection shoots audio accordingly;The shooting audio includes dubbing or the embedded sound of the original video scene segment
Frequently;
Volume automatic adjusument unit: for making user according to each difference for having edited video scene segment,
Corresponding audio mixing processing mode is selected in the video software, the video software is automatically to the background music and shooting
The volume of audio does automatic adjusument;
Audio-video synthesis unit: for described having edited that video scene segment is corresponding to mix through audio for each respectively
Sound treated shooting audio synthesized to obtain corresponding synthetic video segment, by all synthetic video segments chronologically into
Row synthesis, and with through audio mixing, treated that background music synthesizes again obtains target synthetic video.
In device of the present invention, the shooting audio selection unit further comprises:
Shooting audio selection judgment module: for making user edit view by the way that the video software is respectively each described
The corresponding shooting audio of frequency scene segment selection, and judge it is selected dub or embed audio, dub, matched in this way
The recording of sound;Otherwise, its embedded audio is continued to use;
Recording replacement module: for making user edit video scene segment for each described, respectively it is recorded
Sound is simultaneously dubbed file accordingly, and corresponding each file of dubbing for having edited video scene segment is replaced in it
Embedding audio.
In device of the present invention, the volume automatic adjusument unit further comprises:
Audio mixing selecting module: for making user according to each difference for having edited video scene segment, in institute
State and select corresponding audio mixing processing mode in video software, judge selection be direct superposition, reduction shooting audio or
Weaken background music;
Audio laminating module: for being overlapped the video software background music with file is dubbed automatically;
First volume adjusting module: by the embedded audio or the volume tune of file is dubbed automatically for the video software
It is small, and the volume of the background music is tuned up;
Second volume adjusting module: for turning the video software by the volume of the background music automatically down, and will
The embedded audio or the volume for dubbing file tune up.
In device of the present invention, the special efficacy editor includes in coloration, brightness, Gaussian Blur and deformation effects
The editor that is carried out of any one or any several combination.
Implement the method and device of the invention for automatically adjusting audio volume according to Video Applications scene, has beneficial below
Effect: after editing to the multiple original video scene segments with timing of acquisition, background music is selected, respectively often
Embedded audio is dubbed or continued to use to a video scene Piece Selection of having edited, and user selects in video software according to specific scene
Audio mixing processing mode is selected, video software carries out automatic adjusument to the volume for dubbing or embedding audio, background music automatically,
Then the synthesis of video and audio is carried out, in this way, video software can carry out the automatic adjusument of volume according to specific scene, so that
It reaches harmonious with corresponding video clip, the transmission capacity of video thus can be preferably promoted, so it is conducive to regard
The propagation of frequency can show the content that video really wants propagation well.
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 without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is that the present invention is automatically adjusted according to Video Applications scene in method and device one embodiment of audio volume
The flow chart of method;
Fig. 2 is that user by video software is respectively that each to have edited video scene Piece Selection corresponding in the embodiment
Shooting audio specific flow chart;
Fig. 3 is that user selects in video software according to each difference for having edited video scene segment in the embodiment
Corresponding audio mixing processing mode is selected, video software does automatic adjusument to the volume of background music and shooting audio automatically
Specific flow chart;
Fig. 4 is the structural schematic diagram of device in the embodiment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In the method and device embodiment that the present invention automatically adjusts audio volume according to Video Applications scene, according to view
The flow chart that frequency application scenarios automatically adjust the method for audio volume is as shown in Figure 1.In the present embodiment, mobile terminal installation is useful
Mobile terminal in the video software of editor's video, the present embodiment is mobile phone, certainly, under some cases of the present embodiment,
The mobile terminal can for tablet computer or other video software can be installed and can be to the terminal device etc. that video is edited
Deng.In Fig. 1, this includes the following steps: according to the method that Video Applications scene automatically adjusts audio volume
Step S01 carries out point scene capture by video software and obtains multiple original video scene segments with timing,
Or multiple original video scene segments with timing are introduced directly by video software: in this step, opening mobile terminal
Video software carries out point scene capture by the video software and obtains multiple original video scenes with timing (sequencing)
Segment, or multiple original video scene segments with timing are introduced directly by the video software.
Step S02 in video software respectively to each original video scene segment carry out video content special efficacy editor and
The input of subtitle, and obtain having edited video scene segment accordingly: in this step, respectively to each original in the video software
Beginning video scene segment carries out the special efficacy editor of video content and the input of subtitle, obtains having edited view accordingly after having handled
Frequency scene segment.In the present embodiment, special efficacy editor includes to any one in coloration, brightness, Gaussian Blur and deformation effects
Or the editor that any several combination is carried out.
The background music or selection that step S03 is locally stored by video software selection store background music beyond the clouds:
In this step, the background music or selection that are locally stored by video software selection store the back of (i.e. cloud server) beyond the clouds
Scape music.
Step S04 user is respectively that each edited video scene Piece Selection shoots sound accordingly by video software
Frequently: in this step, user is respectively that each edited video scene Piece Selection shoots audio accordingly by video software.This
In embodiment, shooting audio includes dubbing or the embedded audio of original video scene segment, that is, there are two types of shooting audios, one
Kind is to dub, and another kind is the embedded audio of original video scene segment.Wherein, it dubs and refers to that mobile terminal has been compiled to each
Video scene segment is collected to record, such as: user issues voice, and the voice that video software issues user is recorded, and uses
Obtained recording file substitutes its embedded audio.The embedded audio of original video scene segment is exactly not dub, directly with the original
Audio entrained by beginning video scene segment.
Step S05 user selects corresponding sound according to each difference for having edited video scene segment in video software
Frequency stereo process mode, video software do automatic adjusument to the volume of background music and shooting audio automatically: in this step, using
Family selects corresponding audio mixing processing mode according to the difference for each having edited video scene segment in video software, depending on
Frequency software does automatic adjusument to the volume of background music and shooting audio automatically.In the present embodiment, audio mixing processing mode
Including being directly superimposed, weakening shooting audio (be equivalent to the embedded audio of reduction or dub, and strengthen background music) and reduction background
Music (is equivalent to reduction background music, and strengthens embedded audio or dub).
Step S06 respectively by it is each edited video scene segment it is corresponding through audio mixing treated shooting sound
Frequency synthesized to obtain corresponding synthetic video segment, all synthetic video segments are chronologically synthesized, and with through sound
Background music after frequency stereo process synthesizes again obtains target synthetic video: in this step, will each edit video respectively
Scene segment it is corresponding through audio mixing treated shooting audio synthesized to obtain corresponding synthetic video segment, will
All synthetic video segments are chronologically synthesized, and with through audio mixing, treated that background music synthesizes again obtains mesh
Mark synthetic video.Specifically, each edited video scene segment have it is corresponding dub or embed audio, each edited view
The timing of frequency scene segment is that program setting is good, carries out each having edited video according to the timing for having edited video scene segment
The video of scene segment and the synthesis of audio have edited video for all automatically after each having edited the synthesis of video scene segment
The composite document of scene segment chronologically synthesizes again, and obtaining the final video file with audio, (i.e. target synthesizes
Video).The target synthetic video both contains video and video, also contains subtitle.In the present embodiment, video software can be according to tool
The scene of body carries out the automatic adjusument of volume, so that it reaches harmonious with corresponding video clip, it thus can be better
Promoted video transmission capacity, so its propagation for being conducive to video, can show well video really want propagate content.
For the present embodiment, above-mentioned steps S04 can also be refined further, and the flow chart after refinement is as shown in Figure 2.
In Fig. 2, above-mentioned steps S04 further comprises:
Step S41 user is respectively that each edited video scene Piece Selection shoots sound accordingly by video software
Frequently, and judge selected to dub or embed audio: in this step, user by above-mentioned video software be respectively it is each
Editor video scene Piece Selection shoot audio accordingly, and judge it is selected dub or embed audio, if selection
Be to dub, then follow the steps S42;Otherwise, step S43 is executed.
Step S42 user is for each video scene segment has been edited, and respectively it is recorded and is matched accordingly
Sound file, and the corresponding file of dubbing for each having edited video scene segment is replaced into its embedded audio: if above-mentioned steps
What is selected in S41 is to dub, then executes this step.In this step, user passes through hair for each video scene segment has been edited
Voice out, respectively it is recorded and is dubbed file accordingly, and has each edited video scene segment for corresponding
It dubs file and replaces its embedded audio.
Step S43 continues to use its embedded audio: if what is selected in above-mentioned steps S41 is embedded audio, executing this step.
In this step, the embedded audio for having edited video scene segment is continued to use.User can select to dub accordingly according to specific requirements
Or embedded audible, the flexibility of application is increased, while meeting the needs of user is different.
For the present embodiment, above-mentioned steps S05 can also be refined further, and the flow chart after refinement is as shown in Figure 3.
In Fig. 3, above-mentioned steps S05 further comprises:
Step S51 user selects corresponding sound according to each difference for having edited video scene segment in video software
Frequency stereo process mode, judge selection is direct superposition, reduction shooting audio or reduction background music: in this step, being used
Family selects corresponding audio mixing processing mode in video software, sentences according to the difference for each having edited video scene segment
Break selection is directly to be superimposed, weaken shooting audio or weaken background music, in this step, if what is selected is direct fold
Add, thens follow the steps S52;If selection is reduction shooting audio, S53 is thened follow the steps;If selection is reduction background
Music thens follow the steps S54.
Background music is overlapped by step S52 video software with file is dubbed automatically: if selected in above-mentioned steps S51
Be directly to be superimposed, then execute this step.In this step, background music is overlapped by video software with file is dubbed automatically,
The volume of background music is not adjusted, also the volume for dubbing file is not adjusted.
Step S53 video software by embedded audio or is dubbed the volume of file and is turned down automatically, and by the volume of background music
It tunes up: if what is selected in above-mentioned steps S51 is reduction shooting audio, executing this step.In this step, video software is automatic
Embedded audio or the volume for dubbing file are turned down, and the volume of background music is tuned up.
Step S54 video software automatically turns the volume of background music down, and by embedded audio or dubs the volume of file
It tunes up: if what is selected in above-mentioned steps S51 is reduction background music, executing this step.In this step, video software is automatic
The volume of background music is turned down, and by embedded audio or dubs the volume of file and tunes up.In the present embodiment, video software according to
The different of Video Applications scene carry out automatic adjusument to audio volume, keep audio & video more harmonious, preferably promote view
The transmission capacity of frequency.It is greatly enriched the expressive force of video content by the audio of professional stereo process, embeds audio file
The propagation for being promoted to mobile terminal video of quality increases professional.
The present embodiment further relates to a kind of dress for realizing the above-mentioned method that audio volume is automatically adjusted according to Video Applications scene
It sets, structural schematic diagram is as shown in Figure 4.In the present embodiment, the video software for editing video is installed in mobile terminal.Figure
In 4, which includes video capture import unit 1, video editing unit 2, background music selecting unit 3, shooting audio selection
Unit 4, volume automatic adjusument unit 5 and audio-video synthesis unit 6;Wherein, video capture import unit 1 is for passing through video
Software carries out point scene capture and obtains multiple original video scene segments with timing, or is introduced directly by video software more
A original video scene segment with timing;Video editing unit 2 is used in video software respectively to each original video
Scene segment carries out the special efficacy editor of video content and the input of subtitle, and obtains having edited video scene segment accordingly;This
In embodiment, special efficacy editor includes to any one or any several group in coloration, brightness, Gaussian Blur and deformation effects
Close carried out editor.The background music or selection that background music selecting unit 3 is used to be locally stored by video software selection
The background music of storage beyond the clouds;Shooting audio selection unit 4 is for having edited user respectively each by video software
Video scene Piece Selection shoots audio accordingly;Above-mentioned shooting audio includes dubbing or the embedded sound of original video scene segment
Frequently;Volume automatic adjusument unit 5 is for making user according to each difference for having edited video scene segment, in video software
Corresponding audio mixing processing mode is selected, video software does adaptive tune to the volume of background music and shooting audio automatically
Section;Audio-video synthesis unit 6 is for have edited video scene segment corresponding after audio mixing is handled by each respectively
Shooting audio synthesized to obtain corresponding synthetic video segment, all synthetic video segments are chronologically synthesized,
And with through audio mixing, treated that background music synthesizes again obtains target synthetic video.In the present embodiment, video software is just
The automatic adjusument of volume can be carried out according to specific scene, so that it reaches harmonious with corresponding video clip, thus may be used
Preferably to promote the transmission capacity of video, thus its propagation for being conducive to video, can show well video really want pass
The content broadcast.
In the present embodiment, shooting audio selection unit 4 further comprises that shooting audio selection judgment module 41 and recording are replaced
Change the mold block 42;Wherein, shooting audio selection judgment module 41 is for making user respectively each edit view by video software
The corresponding shooting audio of frequency scene segment selection, and judge it is selected dub or embed audio, dub, matched in this way
The recording of sound;Otherwise, its embedded audio is continued to use;Recording replacement module 42 is for making user edit a video field piece of scenery for each
Section, respectively it is recorded and is dubbed file accordingly, and has each edited dubbing for video scene segment for corresponding
File replaces its embedded audio.
In the present embodiment, volume automatic adjusument unit 5 further comprises audio mixing selecting module 51, audio superposition mould
Block 52, the first volume adjusting module 53 and the second volume adjusting module 54;Wherein, audio mixing selecting module 51 is for making user
According to each difference for having edited video scene segment, corresponding audio mixing processing mode is selected in video software, is judged
Selection is direct superposition, reduction shooting audio or reduction background music;Audio laminating module 52 is for making video software certainly
It is dynamic to be overlapped background music with file is dubbed;First volume adjusting module 53 for video software automatically by embedded audio or
The volume for dubbing file is turned down, and the volume of background music is tuned up;Second volume adjusting module 54 is for making video software certainly
It is dynamic to turn the volume of background music down, and by embedded audio or dub the volume of file and tune up.
In short, in the present embodiment, realizing the different automatic adjustment audio sounds according to application scenarios by video software
Measure the function of size, i.e. audio volume size recorded in recorded video process and dubbing in background music when post-production and is dubbed
The volume of file, video software can be according to the automatic adaptations for carrying out volume of needs of editor's scene.Thus extreme enrichment
The expressive force of video content, the propagation that is promoted to mobile terminal video of embedded audio file quality increase professional.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.