Summary of the invention
The present invention provides the production method and device of a kind of video, be able to use family combining music feature personalization adjustment with
The snatch of music of picture and/or video clip adaptation.
On the one hand, the present invention provides a kind of production methods of video, comprising:
Show background music editing interface;
It is the picture and/or video segment compilation for making video that user, which is obtained, on the background music editing interface
Background music, wherein the background music is user's selection for making snatch of music in the original music of video;
Determine the playing sequence of each picture and/or video clip;
According to the background music and the determining playing sequence of acquisition, by the picture and/or video clip
Generate with background music video, wherein the broadcasting content of the video be each picture and/or video clip, and
It is opposite with the picture and/or video clip with what is obtained during playing each picture and/or video clip
The background music answered.
Optionally, the time shaft of the original music is shown on the background music editing interface.
Optionally, it is described obtain user on the background music editing interface for for make video picture and/or
The background music of video segment compilation includes: the time slice for obtaining user and choosing on the time shaft of the original music,
In, the quantity of the time slice is equal with the quantity of picture and/or video clip for making video, and with for making
The picture and/or video clip of video correspond;Using snatch of music corresponding to the time slice of the selection as
The background music of corresponding picture and/or video clip for making video.
Optionally, it is described obtain user on the background music editing interface for for make video picture and/or
The background music of video segment compilation includes: the time slice for obtaining user and choosing on the time shaft of the original music;It will
Snatch of music corresponding to the time slice of the selection is as the picture for making video and/or the back of video clip
Scape music, wherein have at least two pictures and/or video clip in the picture and/or video clip for making video
It is corresponding with snatch of music corresponding to same time slice.
Optionally, be identified on the time shaft of the original music respectively with for making video the picture and/
Or the corresponding default time period of video clip, wherein the beginning and end of the period of the default is on the time axis
Position can be adjusted by a user;The time slice that the acquisition user chooses on the time shaft of the original music includes: inspection
The operation that user adjusts the position of the starting point and/or terminal of the default time period on the time shaft of the original music is surveyed,
The position for obtaining beginning and end adjusted obtains user described based on the position of the beginning and end adjusted
The time slice chosen on the time shaft of original music, wherein the beginning and end of each time slice corresponds respectively to
Corresponding time slice beginning and end adjusted.
Optionally, the starting point and/or terminal that the detection user adjusts the default time period are in the original music
The operation of position on time shaft, the position for obtaining beginning and end adjusted include: detection user in the original music
Time shaft on drag the starting point of the default time period and/or the operation of terminal, according to user drag terminate position, obtain
The position of beginning and end adjusted.
Optionally, the production method of the video further include: when detect the previous time slice terminal and
When the distance between starting point of time slice described in the latter adjacent thereto is less than scheduled threshold value, by the previous time
The starting point of time slice described in the terminal of segment and the latter adjacent thereto is combined into a common point.
Optionally, and the timeslice corresponding with the time slice is provided on the background music editing interface
The vertex that the beginning and end of section is connected, wherein the position on the vertex can be adjusted by a user, and the vertex is not located at institute
It states on time shaft.
Optionally, each picture of the determination and/or the playing sequence of video clip include: according to the determination
The chronological order of each picture and/or the background music of video clip in the original music, determines each institute
State the playing sequence of picture and/or video clip.
Optionally, each picture of the determination and/or the playing sequence of video clip include: basis and the time
The sequencing of the position on the corresponding vertex of segment, determines the playing sequence of each picture and/or video clip.
Optionally, the waveform diagram of the original music is shown on the background music editing interface, wherein the waveform
Figure is the waveform diagram that the decibel value on different moments of the original music changes over time.
Optionally, it is described obtain user on the background music editing interface for for make video picture and/or
The background music of video segment compilation includes: to obtain user to be based on the waveform diagram, the timeslice chosen from the waveform diagram
Section, wherein the quantity of the time slice be used for make video picture and/or video clip quantity it is equal, and with
It is corresponded in the picture and/or video clip of production video;By snatch of music corresponding to the time slice of the selection point
The background music of picture and/or video clip not as corresponding for making video.
Optionally, it is described obtain user on the background music editing interface for for make video picture and/or
The background music of video segment compilation includes: to obtain user to be based on the waveform diagram, the timeslice chosen from the waveform diagram
Section;Snatch of music corresponding to the time slice of the selection is used to make the picture and/or piece of video of video as described in
The background music of section, wherein have at least two pictures and/or view in the picture and/or video clip for making video
Frequency segment is corresponding with snatch of music corresponding to same time slice.
The production method of video described in the embodiment of the present invention makes user by the editing interface of the background music showed
Adjoint Background music when can automatically be played for each picture and/or video clip selection, thus, it is possible to make user
The background music that combining music feature personalization adjustment is adapted to picture and/or video clip.
On the other hand, the present invention provides a kind of producing devices of video, comprising:
Editing interface shows unit, for showing background music editing interface;
Background music acquiring unit, for obtaining user on the background music editing interface as making video
The background music of picture and/or video segment compilation, wherein the background music is user's selection for making the original of video
Snatch of music in beginning music;
Playing sequence determination unit, for determining the playing sequence of each picture and/or video clip;
Video generation unit will be described for the background music according to acquisition and the playing sequence determined
Picture and/or video clip generate the video with background music, wherein the broadcasting content of the video is each picture
And/or video clip, and with obtaining and the picture during playing each picture and/or video clip
And/or the corresponding background music of video clip.
Optionally, the time shaft of the original music is shown on the background music editing interface.
Optionally, the background music acquiring unit includes: that first time segment obtains subelement, is existed for obtaining user
The time slice chosen on the time shaft of the original music, wherein the quantity of the time slice with for making video
The quantity of picture and/or video clip is equal, and with for making video picture and/or video clip correspond;First
Background music obtains subelement, for using snatch of music corresponding to the time slice of the selection as being used for accordingly
Make the picture of video and/or the background music of video clip.
Optionally, the background music acquiring unit includes: that the second time slice obtains subelement, is existed for obtaining user
The time slice chosen on the time shaft of the original music;Second background music obtains subelement, for by the selection
Snatch of music corresponding to time slice is used to make the picture of video and/or the background music of video clip as described in,
In, there are at least two pictures and/or video clip and same time in the picture and/or video clip for making video
Snatch of music corresponding to segment is corresponding.
Optionally, be identified on the time shaft of the original music respectively with for making video the picture and/
Or the corresponding default time period of video clip, wherein the beginning and end of the period of the default is on the time axis
Position can be adjusted by a user;The first time segment obtains subelement and is specifically used for: when detection user adjusts the default
Between section position on the time shaft of the original music of starting point and/or terminal operation, obtain starting point adjusted and end
The position of point is obtained user and is selected on the time shaft of the original music based on the position of the beginning and end adjusted
The time slice taken, wherein it is adjusted that the beginning and end of each time slice corresponds respectively to corresponding time slice
Beginning and end.
Optionally, the snatch of music obtains subelement and is used for: detection user drags on the time shaft of the original music
The starting point of the default time period and/or the operation of terminal are moved, the position terminated is dragged according to user, obtains starting point adjusted
With the position of terminal.
Optionally, the producing device of the video further include: combining unit detects the previous time for working as
The distance between starting point of time slice described in the terminal of segment and the latter adjacent thereto be less than scheduled threshold value when, will before
The starting point of time slice described in the terminal of one time slice and the latter adjacent thereto is combined into a common point.
Optionally, and the timeslice corresponding with the time slice is provided on the background music editing interface
The vertex that the beginning and end of section is connected, wherein the position on the vertex can be adjusted by a user, and the vertex is not located at institute
It states on time shaft.
Optionally, the playing sequence determination unit is specifically used for: according to each of the determination picture and/or view
Chronological order of the background music of frequency segment in the original music determines each picture and/or video clip
Playing sequence.
Optionally, the playing sequence determination unit is specifically used for: according to the vertex corresponding with the time slice
Position sequencing, determine the playing sequence of each picture and/or video clip.
Optionally, the waveform diagram of the original music is shown on the background music editing interface, wherein the waveform
Figure is the waveform diagram that the decibel value on different moments of the original music changes over time.
Optionally, the background music acquiring unit is specifically used for: obtaining user and is based on the waveform diagram, from the waveform
The time slice chosen on figure, wherein the quantity of the time slice and the picture and/or video clip for making video
Quantity is equal, and with for making video picture and/or video clip correspond;The time slice institute of the selection is right
The snatch of music answered is respectively as the corresponding picture for making video and/or the background music of video clip.
Optionally, the background music acquiring unit is specifically used for: obtaining user and is based on the waveform diagram, from the waveform
The time slice chosen on figure;Snatch of music corresponding to the time slice of the selection is used to make video as described in
The background music of picture and/or video clip, wherein have at least in the picture and/or video clip for making video
Two pictures and/or video clip are corresponding with snatch of music corresponding to same time slice.
The producing device of video described in the embodiment of the present invention makes user by the editing interface of the background music showed
Adjoint Background music when can automatically be played for each picture and/or video clip selection, thus, it is possible to make user
The background music that combining music feature personalization adjustment is adapted to picture and/or video clip.
Specific embodiment
The production method and device of a kind of video of the embodiment of the present invention are described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
Referring to shown in Fig. 1, a kind of specific embodiment of the production method of video of the present invention, comprising:
S1, show background music editing interface.
Firstly the need of explanation, the embodiment of the present invention, which can be applied, is being mounted on terminal device (such as mobile phone, hand-held electric
Brain, PC machine) in client terminal device, which, which has, is combined into picture and/or video clip for user the function of video
Can, for example, these pictures can be combined into video when obtaining the one or more pictures for being used to make video that user chooses
The file of format can play these pictures when user plays the file of the video format.
In embodiments of the present invention, in order to make the video for having background music, also in order to the video that will be made
Background music is added, needs to show background music editing interface, so that user is video editing on background music editing interface
Background music.
It is understood that in embodiments of the present invention, the size of background music editing interface is unlimited, can take up entire
The screen of terminal device can also only occupy a part of terminal device;The content shown on background music editing interface is not yet
Limit can only show the relevant content of music, can also such as the relevant information for the original music for making video that user selects
To show the other content except music, as user select user make video picture and/or video segment information, including
The quantity of picture and/or video clip, the thumbnail of picture and/or video clip, picture and/or mark of video clip etc..
Firstly the need of explanation, the picture and/or video clip mentioned in the embodiment of the present invention are user for making
The picture and/or video clip of video, picture and/or video clip can be the picture that user selects from local data base
And/or video clip, it is also possible to the picture and/or video clip that user is downloaded by network, can also be captured in real-time
Picture and/or video clip;It is the music that user is used to make video, Yong Huke in the original music that the embodiment of the present invention is mentioned
With according to the background music of original music editor's video, equally, original music can be what user selected from local data base
Music is also possible to the music downloaded by network.
S2, acquisition user are the picture and/or video clip for making video on the background music editing interface
The background music of editor, wherein the background music is user's selection for making the musical film in the original music of video
Section.
It should be noted that before this step, needing first to obtain the picture for making video in the embodiment of the present invention
And/or video clip and the original music for making video.But obtain picture and/or video clip and original music
The step of be so that user is selected picture and/or video clip and original music before showing background music editing interface, or
User is set to select picture and/or video clip and original music after showing background music editing interface, the present invention is without limitation.Tool
The step of body, the step of selecting picture and/or video clip, selection original music and the step for showing background music editing interface
The sequencing of rapid three can be any combination.
After showing background music editing interface, user can be on the editing interface to each figure of user's selection
Piece and/or the corresponding background music of video segment compilation.For example, user can first choose the picture for making video
And/or video clip and the original music for making video, then on background music editing interface, from the original of selection
It is one section of background music of each picture and/or video segment compilation in music.It is understood that multiple pictures and/or video
The corresponding background music of segment can be continuous multiple snatch of music in original music, be also possible to discontinuous musical film
Section.
In the embodiment of the present invention, for example, user is 3-7 seconds sounds in picture and/or the original music of the selection of video clip one
For happy segment as picture and/or the background music of video clip one, the playing duration of picture and/or video clip one is 7-3=4
Second, user is 7-17 seconds snatch of music in picture and/or the original music of the selection of video clip two as picture and/or piece of video
The playing duration of the background music of section one, picture and/or video clip two is 10 seconds, also, in the mistake for playing the video generated
Cheng Zhong, by picture and/or video clip two, and then picture and/or video clip one are played out, i.e. picture and/or piece of video
The 4th second of Duan Ercong video starts to play, until continueing to 4+10=14 seconds.
S3, the playing sequence for determining each picture and/or video clip.
In order to which picture and/or video clip to be combined into the file of video format, it is thus necessary to determine that each picture and/or piece of video
The playing sequence of section, can just make to play out when video playing according to determining playing sequence.For example, can be selected according to user
Picture and/or the sequencing of video clip determine the playing sequence of picture and/or video clip so that user first selected
Picture and/or video clip are played in the forward time, and the picture and/or video clip selected afterwards is played in the time rearward.
S4, the background music and the determining playing sequence according to acquisition, by the picture and/or video
Segment generates the video with background music, wherein the broadcasting content of the video is each picture and/or piece of video
Section, and with obtaining and the picture and/or video clip during playing each picture and/or video clip
Corresponding background music.
The production method of video described in the embodiment of the present invention makes user by the editing interface of the background music showed
Adjoint Background music when can automatically be played for each picture and/or video clip selection, thus, it is possible to make user
The background music that combining music feature personalization adjustment is adapted to picture and/or video clip.
In a kind of specific embodiment of the invention, obtain user on the background music editing interface for for
Before the picture of production video and/or the background music (S2) of video segment compilation, comprising: according to the background music of system default
Acquisition modes obtain the default background music of each picture obtained in advance and/or video clip.
It, can be according to system after user chooses original music and picture and/or video clip in the embodiment of the present invention
The background music acquisition modes of default obtain the default background music of each picture and/or video clip, i.e., according to system default
Background music acquisition modes be from original music each picture and/or video clip interception background music, for example, default from
The starting point of original music starts the background music for picture and/or the corresponding duration of video clip selection, each picture and/or video
The play time of segment is dividing equally for video total duration, and each picture and/or view are shown in background music editing interface
The default background music of frequency segment.
For example, user has chosen 4 pictures and/or video clip, the original music of selection be it is 60 seconds long, which broadcasts
A length of 20 seconds when putting, then in the way of default when by first 20 seconds of original music be divided into 4 snatch of music, each picture
And/or the corresponding snatch of music of video clip, corresponding 1-5 seconds snatch of music of first picture and/or video clip, the
Two pictures and/or the corresponding 6-10s snatch of music of video clip, third picture and/or video clip are 11-15 seconds corresponding
Snatch of music, corresponding 16-20 seconds snatch of music of the 4th picture and/or video clip.
It correspondingly, is the picture and/or view for making video obtaining user on the background music editing interface
When the background music of frequency part edit, can on the basis of the background music of default, to default corresponding to each picture and/or
The time interval of the default background music of video clip is adjusted, and obtains user to picture and/or video according to adjustment result
The background music of part edit.
So, user is on the basis of default background music, by the beginning and end to default background music into
Row adjustment can be saved the time, be improved efficiency to edit corresponding to each picture and/or video clip background music.
In a kind of specific embodiment of the invention, for the ease of user to the background sound of picture and/or video clip
Pleasure is edited, and optionally, the time shaft of the original music is shown on the background music editing interface, wherein original sound
The temporal information of original music is shown on happy time shaft.
It specifically, is the picture and/or view for making video obtaining user on the background music editing interface
During the background music of frequency part edit, mode one can obtain user on the time shaft of the original music first
The time slice of selection, wherein the quantity of the quantity of the time slice and picture and/or video clip for making video
It is equal, and with for making video picture and/or video clip correspond;It will be corresponding to the time slice of the selection
Snatch of music is respectively as the corresponding picture for making video and/or the background music of video clip.
Mode two, it is also possible that obtaining the time slice that user chooses on the time shaft of the original music;By the choosing
Snatch of music corresponding to the time slice taken is as the picture for making video and/or the background sound of video clip
It is happy, wherein to have at least two pictures and/or video clip and same in the picture and/or video clip for making video
Snatch of music corresponding to one time slice is corresponding.
For example, user has chosen 4 pictures and/or video clip, the original music of selection be it is 60 seconds long, which broadcasts
Putting duration altogether is 20 seconds, and first picture and/or video clip correspond to 1-5 seconds in original music snatch of music, second
Screen picture corresponds to 6-10s snatch of music in original music, and third picture and/or video clip correspond in original music
1-5 seconds snatch of music, the 4th picture and/or video clip correspond to 11-15 seconds in original music snatch of music,
In, 1-5 seconds snatch of music correspond to first picture and/or video clip, third picture and/or view in original music
Frequency segment.
In the present embodiment, it after the time slice that user chooses on the time shaft of the original music for the first time, uses
Family can also by way of the starting point and/or terminal that drag time slice come the length of adjustment time segment and/or position, from
And adjust each picture and/or the corresponding background music of video clip.
In the present embodiment, visual time shaft is provided on background music editing interface, is allowed users to conveniently
Ground is the picture and/or video segment compilation background music for making video on a timeline.
It should be noted that in embodiments of the present invention, the original music for making video that user selects can be for
One is first, or mostly first, in the case where the music that user selects is how first, user can choose from more first original musics
Snatch of music can carried on the back as picture and/or the background music of video clip, and when there is at least two first original musics
The time shaft of corresponding number, i.e., the first original music of each time shaft corresponding one are shown on scape music editor interface.
In the embodiment of the present invention, referring to shown in Fig. 2, Fig. 2 is that time shaft shows in background music editing interface of the invention
Example property schematic diagram;Wherein: T1, T2, T3, T4 respectively indicate picture and/or video clip one, picture and/or video clip two, figure
The mark of piece and/or video clip three, picture and/or video clip four;The time shaft of A expression original music A;B indicates original
The time shaft of music B;S indicates the time shaft of the video of production;D1 indicates picture and/or the corresponding timeslice of one T1 of video clip
The starting point of section, also illustrates that the starting point of the time shaft S of video;D2 indicates picture and/or the corresponding time slice of one T1 of video clip
Terminal;D3 indicates the terminal and three T3 of picture and/or video clip of picture and/or the corresponding time slice of two T2 of video clip
The common point of the starting point of corresponding time slice.Show that user is each picture on background music editing interface in Fig. 2
And/or a kind of set-up mode of the time slice of video clip setting.
It should be noted that the time shaft S for making video in Fig. 2 indicates the total duration for the video that will be made, need strong
It adjusts, user is total duration of the total duration no more than video of the background music of all pictures and/or video segment compilation.
It is appreciated that the time span of production video can not pass through time shaft shown in Fig. 2 in background music editing interface
Mode show, can be shown in a manner of text, such as need to make 20 seconds videos, can shown in background music editing interface
The total duration for showing video is 20 seconds.
Referring to shown in Fig. 2, for example, picture and/or one T1 of video clip are a natural wind when there is two first original musics
The picture and/or video clip of scape drag starting point and the end of picture and/or the time slice of one T1 of video clip by user
Point, user are the 3-7 second segment that the time slice that picture and/or video clip one are chosen is original music B, the time slice
Rhythm is slower;Picture and/or two T2 of video clip are the picture and/or video clip of an ancient building type, pass through user
The starting point and terminal of the time slice of picture and/or video clip two are dragged, user is that picture and/or two T2 of video clip choose
Time slice be music A 7-28 second segment, which is a segment in classical music, to allow users to
The characteristics of combining music, independently chooses and picture and/or the matched time slice of video clip, also makes picture and/or video clip
In conjunction with time slice depth, user experience is improved.
In a kind of specific embodiment of the invention, in order to further be convenient for user to picture and/or video clip
Background music edited, optionally, as set forth above, it is possible to according to the background music acquisition modes of system default, obtain pre-
The default background music of each picture first obtained and/or video clip.
According to default background music is obtained, it is identified on the time shaft of the original music and makes video with user respectively
The picture and/or the corresponding default time period of video clip, wherein the beginning and end of the period of the default exists
Position on the time shaft can be adjusted by a user.User by adjusting on time shaft the corresponding starting point of default time period and/
Or terminal comes for each picture and/or video segment compilation background music.
Correspondingly, user is obtained during the time slice chosen on the time shaft of the original music, Ke Yijian
The operation that user adjusts the position of the starting point and/or terminal of the default time period on the time shaft of the original music is surveyed,
Obtain the position of beginning and end adjusted.
Based on the position of the beginning and end adjusted, obtains user and chosen on the time shaft of the original music
Time slice, wherein the beginning and end of each time slice corresponds respectively to adjusted of corresponding time slice
Point and terminal.
In embodiments of the present invention, user adjust default time period beginning and end mode of operation can there are many,
For example, user can be adjusted by way of dragging the beginning and end of default time period, namely detection user is in the original
The starting point of the default time period and/or the operation of terminal are dragged on the time shaft of beginning music, and the position terminated is dragged according to user
It sets, obtains the position of beginning and end adjusted;It can also be by way of in background music editing interface input coordinate value
To adjust.
It should be noted that being the picture and/or video segment compilation for making video in user in the present embodiment
When background music, the starting point of one or more of multiple default time periods on the time shaft of the adjustable original music of user
Or terminal, for the default time period of user's adjustment, using the beginning and end obtained after adjustment as corresponding picture and/or video
The corresponding time slice of segment, using the corresponding snatch of music of the time slice as corresponding picture and/or the background of video clip
Music, for the default time period that user does not adjust, using the beginning and end of default time period as corresponding picture and/or view
The corresponding time slice of frequency segment, using the corresponding snatch of music of the default time period as corresponding picture and/or video clip
Background music.
In the specific embodiment of the production method of aforementioned video, optionally, the method also includes: before detecting
The distance between starting point of time slice described in the terminal of one time slice and the latter adjacent thereto is less than predetermined
Threshold value when, the starting point of time slice described in the terminal of the previous time slice and the latter adjacent thereto is combined into one
A common point.
Referring to shown in Fig. 2, for example, when the terminal and picture and/or view of the background music of two T2 of picture and/or video clip
When the distance between starting point of background music of three T3 of frequency segment is less than scheduled threshold value, three T3's of picture and/or video clip
It is common point D3 that the starting point of background music is overlapped with the terminal of the background music of two T2 of picture and/or video clip automatically, also
It is to say that the terminal of the background music of adjacent picture and/or video clip or starting point have the characteristic of automatic absorbing, in this way, making
When playing video, the background music of video is more coherent.
In the embodiment of the present invention, it is to be understood that when receiving the instruction of user's dragging common point, corresponding two
Picture and/or the background music of video clip can all change.
In the specific embodiment of the production method of aforementioned video, in order to increase the vision effect of background music editing interface
Fruit, and it is convenient for user editing picture and/or background music of video clip on background music editing interface, it is further promoted and is used
Family experience is optionally provided with and the time slice corresponding with the time slice on the background music editing interface
The vertex that is connected of beginning and end, wherein the position on the vertex can be adjusted by a user, and the vertex be not located at it is described
On time shaft.Such as the D4 in Fig. 2 indicates the vertex of picture and/or the time slice of one T1 of video clip, user can pass through
The mode on vertex is dragged to adjust the position on vertex.
In the specific embodiment of the production method of aforementioned video, it is alternatively possible to every to determine in several ways
The playing sequence of a picture and/or video clip can such as use following two mode:
Mode one, according to each of the determination picture and/or the background music of video clip in the original sound
Chronological order in pleasure determines the playing sequence of each picture and/or video clip.
In the embodiment of the present invention, for example, when the starting point of picture and/or the background music of video clip one is original music
7th second, the starting point of the background music of picture and/or video clip two was the 4th second of original music, then in the process for playing video
In, preferential playing pictures and/or video clip two play after the background music of picture and/or video clip two plays
Picture and/or video clip one and its background music.
In the embodiment of the present invention, optionally, user can also have weight for the time slice of picture and/or video clip selection
Folded part is for example, having chosen the time slice in original music in 0-7 seconds periods for picture and/or video clip two
Picture and/or video clip one have chosen the time slice in original music in 3-7 seconds periods, when playing video, picture
And/or video clip two is played in the 0-7 second of video, picture and/or video clip one are played in the 7-11 second of video, picture
And/or video clip one, picture and/or video clip two are furnished with partly overlapping time slice in playing process, i.e. sound is former
Time slice in beginning music in 3-7 seconds periods.
Mode two determines each described according to the sequencing of the position on the vertex corresponding with the time slice
The playing sequence of picture and/or video clip.
Referring to shown in Fig. 2, for example, the vertex of picture and/or the corresponding time slice of video clip is close to original music
Starting point preferential broadcasting.In addition, in the embodiment of the present invention, when can be by dragging picture and/or corresponding video clip
Between segment vertex such as D4, adjust the playing sequence of picture and/or video clip.
In the specific embodiment of the production method of aforementioned video, optionally, shown on the background music editing interface
It is shown with the waveform diagram of the original music, wherein the waveform diagram is the decibel value on different moments of the original music
The waveform diagram changed over time.
Decibel value due to embodying original music in waveform diagram changes with time, and is obtaining user in the background music
It, can be according in waveform diagram when being the background music of the picture and/or video segment compilation for making video on editing interface
The decibel value size of display is come the background music for picture and/or video segment compilation for making video.Specifically:
Mode one obtains user and is based on the waveform diagram, the time slice chosen from the waveform diagram, wherein described
The quantity of time slice with for make video picture and/or video clip quantity it is equal, and with for making video
Picture and/or video clip correspond;Using snatch of music corresponding to the time slice of the selection as corresponding
For making the picture of video and/or the background music of video clip.
Mode two obtains user and is based on the waveform diagram, the time slice chosen from the waveform diagram;By the selection
Time slice corresponding to snatch of music as the picture for making video and/or the background music of video clip,
Wherein, there are at least two pictures and/or video clip and same a period of time in the picture and/or video clip for making video
Between snatch of music corresponding to segment it is corresponding.
In the embodiment of the present invention, user can be according to the decibel feature of original music in waveform diagram, and it is appropriate automatically to choose
Time slice as background music, for example, user is selecting the corresponding timeslice of background music for picture and/or video clip
Duan Shi the beginning and end of time slice can be arranged near decibel value higher time point, so, make playing
When the video performed, adjacent picture and/or video clip can be made to switch near decibel value higher time point, made
The broadcasting of video is more close to the rhythm of music, so that the timing of the video of production is stronger.
The present invention also provides a kind of specific embodiments of the producing device of video, due to the system of video provided by the invention
It is corresponding with the specific embodiment of the production method of aforementioned video to make device, which can be specific by executing the above method
Process step in embodiment achieves the object of the present invention, therefore in the above-mentioned production method specific embodiment to video
Explanation, the specific embodiment of the producing device of video provided by the invention is also applied for, in present invention tool below
It will not be described in detail further in body embodiment.
Shown in referring to Fig. 3, a kind of specific embodiment of the producing device of video provided by the invention, comprising:
Editing interface shows unit 1, for showing background music editing interface;
Background music acquiring unit 2, for obtaining user on the background music editing interface as making video
Picture and/or video segment compilation background music, wherein the background music is user's selection for making video
Snatch of music in original music;
Playing sequence determination unit 3, for determining the playing sequence of each picture and/or video clip;
Video generation unit 4, for the background music according to acquisition and the playing sequence determined, by institute
Picture and/or video clip generation are stated with the video of background music, wherein the broadcasting content of the video is each figure
Piece and/or video clip, and with obtaining and the picture during playing each picture and/or video clip
And/or the corresponding background music of video clip.
The producing device of video described in the embodiment of the present invention makes user by the editing interface of the background music showed
Adjoint Background music when can automatically be played for each picture and/or video clip selection, thus, it is possible to make user
The background music that combining music feature personalization adjustment is adapted to picture and/or video clip.
As an alternative embodiment, showing the time of the original music on the background music editing interface
Axis;
The background music acquiring unit 1 includes:
First time segment obtains subelement, obtains the timeslice that user chooses on the time shaft of the original music
Section, wherein described each picture and/or video clip for making video corresponds to a time slice;
First background music obtains subelement, for making snatch of music corresponding to the time slice of the selection respectively
For accordingly for making the picture of video and/or the background music of video clip.
As an alternative embodiment, being identified on the time shaft of the original music respectively and for making view
The corresponding default time period of the picture and/or video clip of frequency, wherein the beginning and end of the period of the default
Position on the time axis can be adjusted by a user;
The first time segment obtains subelement and is specifically used for:
Detection user adjusts the position of the starting point and/or terminal of the default time period on the time shaft of the original music
The operation set obtains the position of beginning and end adjusted, based on the position of the beginning and end adjusted, obtains and uses
The time slice that family is chosen on the time shaft of the original music, wherein the beginning and end of each time slice point
It Dui Yingyu not corresponding time slice beginning and end adjusted.
Be used for as an alternative embodiment, the first time segment obtains subelement: user is described for detection
The starting point of the default time period and/or the operation of terminal are dragged on the time shaft of original music, and end is dragged according to user
Position obtains the position of beginning and end adjusted.
As an alternative embodiment, the background music acquiring unit 1 includes: that the second time slice obtains son list
Member, the time slice chosen on the time shaft of the original music for obtaining user;
Second background music obtains subelement, for using snatch of music corresponding to the time slice of the selection as institute
State the background music of the picture and/or video clip for making video, wherein it is described for make video picture and/or
There are at least two pictures and/or video clip corresponding with snatch of music corresponding to same time slice in video clip.
As an alternative embodiment, the producing device of the video further include:
Combining unit, when for described in the terminal and the latter adjacent thereto for detecting the previous time slice
Between the distance between the starting point of segment when being less than scheduled threshold value, by the terminal of the previous time slice and adjacent thereto
The starting point of time slice described in the latter is combined into a common point.
As an alternative embodiment, being provided on the background music editing interface corresponding with the time slice
, the vertex being connected with the beginning and end of the time slice, wherein the position on the vertex can be adjusted by a user, and
The vertex is not located on the time shaft.
As an alternative embodiment, the playing sequence determination unit 3 is specifically used for: according to the every of the determination
The chronological order of a picture and/or the background music of video clip in the original music determines each described
The playing sequence of picture and/or video clip.
As an alternative embodiment, the playing sequence determination unit 3 is specifically used for: according to the timeslice
The sequencing of the position on the corresponding vertex of section, determines the playing sequence of each picture and/or video clip.
As an alternative embodiment, showing the waveform of the original music on the background music editing interface
Figure, wherein the waveform diagram is the waveform diagram that the decibel value on different moments of the original music changes over time;
The background music acquiring unit 1 is specifically used for: obtaining user and is based on the waveform diagram, selects from the waveform diagram
The time slice taken, wherein described each picture and/or video clip for making video corresponds to the time
Segment;
Using snatch of music corresponding to the time slice of the selection as the picture for being used to make video accordingly
And/or the background music of video clip;
Or
The background music acquiring unit 1 is specifically used for: obtaining user and is based on the waveform diagram, selects from the waveform diagram
The time slice taken;
Snatch of music corresponding to the time slice of the selection is used to make the picture and/or view of video as described in
The background music of frequency segment, wherein it is described for make in the picture and/or video clip of video have at least two pictures and/
Or video clip is corresponding with snatch of music corresponding to same time slice.
In the production method of aforementioned video and each inventive embodiments of device, shape is not played when the video of the generation is in
When state, the picture and/or video clip of user's selection are shown in corresponding phase cell respectively in combination;Or work as
When the video of the generation is in non-broadcast state, the picture of user selection and/or one in video clip are only shown
Picture and/or video clip;In the specific embodiment of the production method of aforementioned video, optionally, the production of the video
Method further include: when the video of the generation is in broadcast state, in video playing interface (before not influencing video playing
Put, such as the edge at video playing interface), display background music editor interface, so as to user check at any time lay equal stress on it is newly organized
The time slice of picture and/or video clip is collected, video effect is adjusted.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.