Detailed description of the invention
Below in conjunction with the accompanying drawings the embodiment of the present invention is described in detail.
It will be appreciated that described embodiment be only the present invention a part of embodiment rather than whole realities
Execute example.Based on the embodiment in the present invention, those of ordinary skill in the art are not before making creative work
Put all other embodiments obtained, broadly fall into the scope of protection of the invention.
Fig. 1 is that embodiment of the present invention picture based on video is rearranged a volume method flow schematic diagram.See Fig. 1, should
Method includes:
Step 101, when user needs to rearrange the picture in the current pre-video play and collects, receives and uses
Family performs the picture heavily edit operation pre-set at the pre-video preview interface playing described video;
In this step, in the pre-playing process of video, if user needs the picture in the video play
Dissatisfied, can be triggered at current video preview circle by the picture heavily edit operation that execution pre-sets
Face carries out picture and rearranges volume.
As an alternative embodiment, picture heavily edit operation includes but not limited to: at video preview circle play
Upward sliding operation in face, slide downward operation, to the left slide and appointing in slide to the right
Meaning one.
In this step, during video preview, can be to certain in video by picture heavily edit operation
Pictures carries out rearranging and collects.When user is after clicking on video playback preview button, carry out video playback preview.
If user needs the picture updating in video, only need on screen slide downward, then can trigger and work as
Picture in front video enters picture editor's state.
In the embodiment of the present invention, it is preferred that the described user of reception is at pre-video preview circle playing described video
The picture heavily edit operation that face performs to pre-set includes:
A11, in described video preview interface, obtains user's startup operation in current screen;
In this step, user determine need a certain picture in video is rearranged volume time, pass through user
Operation realizes.
In the embodiment of the present invention, user operation includes but not limited to: mouse action, cursor operations, felt pen
Operation, finger touch operation etc..
Certainly, in actual application, it is also possible in the video preview interface play, picture heavily edit operation is set
When region, only user operation are in volume operating area rearranged by this picture, just trigger and obtain user at current screen
The flow process of the startup operation in Mu.
A12, obtains user's termination operation in current screen, extracts initial operation to terminating between operation
Operation trace;
In this step, for the maloperation of user, after obtaining user's termination operation in current screen,
Before extracting the operation trace that initial operation extremely terminates between operation, the method can further include:
Calculate the time difference terminating time point corresponding to the operation time point corresponding with initial operation;
Judge whether described time difference is less than the time difference threshold value pre-set, if it is, perform described extraction
Initial operation is to the operation trace terminated between operation, if it is not, terminate flow process.
A13, it is judged that the track phase whether described operation trace maps with the picture pre-set heavily edit operation
Join, if it is, determine that the operation of user is picture heavily edit operation.
In this step, operation trace can be the oriented direction pointed to from initial operation and terminate operation.
As another alternative embodiment, described reception user holds at the pre-video preview interface playing described video
Before the picture pre-set the heavily edit operation of row, the method can further include:
Choose the picture for making video;
The picture chosen is synthesized with video attribute set in advance, generates video and carry out pre-broadcasting.
As yet another alternative embodiment, described reception user is at the pre-video preview interface playing described video
Before the picture pre-set the heavily edit operation performed, the method can further include:
A21, chooses the picture for making video and edits the picture chosen;
In this step, can be by starting the Video editing software of the embodiment of the present invention, at picture editor interface
The picture imported also initially is edited by picture needed for middle importing.
In the embodiment of the present invention, the picture chosen can be one or more.As an alternative embodiment, can
To choose the picture for making video from local storage, wherein, local storage can be mobile phone
Storage card or smart card (SD, Smart Card), as another alternative embodiment, it is also possible to from cloud service
Device is chosen the picture for video, as yet another alternative embodiment, it is also possible to be that good friend divides from the Internet
The pictures enjoyed are chosen the picture for video, such as, the figure that good friend shares on wechat, QQ, microblogging
Sheet collection etc..
Optionally, after choosing picture, the picture chosen is edited, such as, the picture chosen is entered
Row cutting, scaling, special effect processing and pull sequence etc..
A frame in the embodiment of the present invention, in each picture correspondence video chosen.
A22, carries out video attribute setting to the picture of editor;
In this step, after editting picture, can be pressed by next step below click picture editor interface
Button enters video editing interface.
It is preferred that in the embodiment of the present invention, it is also possible in picture editor interface, by the click of user
Video editing operations, such as, the operation same or like with picture heavily edit operation, to pull up interface
Or the mode at drop-down interface enters video editing interface.So, it is not necessary to user searches in picture editor interface
Next button is also clicked on, and can effectively be lowered into the time needed for video editing interface, promotes video system
Make efficiency.
In this step, video attribute includes: the total duration of video, voice data and video background picture.
In the embodiment of the present invention, after the picture selected is required editor's sequence according to user, click on picture editor
Video attribute (next step) button in interface, carries out video attribute setting to the picture of editor, is arranging
After video attribute, by clicking on next button, enter video preview interface.
A23, utilizes the video code model and audio coding formats, the picture that will have editted pre-set
Synthesize with the video attribute arranged, generate video and carry out pre-broadcasting.
In this step, about utilizing the video code model pre-set and audio coding formats to generate video,
For known technology, omit detailed description at this.
Step 102, obtains the picture that the described picture heavily edit operation in the video of described pre-broadcasting is corresponding, profit
Replace described video preview interface with picture editor interface, and described picture is loaded onto described picture editor circle
In face;
In this step, after user has performed picture heavily edit operation, the video editing of the embodiment of the present invention is soft
Part automatically extracts the picture that this moment video is corresponding, and current video preview interface is replaced with picture editor interface,
And in picture editor interface, show the picture of extraction so that user edits.
As an alternative embodiment, the mode utilizing the described video preview interface of replacement, picture editor interface is permissible
It is to realize by the way of drop-down interface.
In the embodiment of the present invention, the functional keys comprised in the picture editor interface of replacement is same as the prior art,
Detailed description is omitted at this.
As an alternative embodiment, the method can further include:
In described picture editor interface, load other each pictures in the video of described pre-broadcasting.So,
User is possible not only to rearrange the picture that video is currently playing and collects, it is also possible to other pictures in video
Carry out rearranging volume, and can add in video, delete picture, thus be effectively improved picture and rearrange and collect
Efficiency.
Certainly, in actual application, add, delete picture and can also be arranged in video preview interface, pass through
Arrange interpolation, the functional keys of deletion picture at video preview interface, user can be by clicking on corresponding merit
Energy button, the picture number adding in real time, deleting in current video.
Step 103, after rearranging the described picture being loaded onto described picture editor interface volume, receives and uses
The video preview the pre-set operation that family performs at described picture editor interface;
In this step, video preview operation includes but not limited to: the upward sliding behaviour in picture editor interface
Make, slide downward operation, to the left slide and any one in slide to the right.
In the embodiment of the present invention, when user is after having edited picture, only need on screen upward sliding, then may be used
Video preview state before single picture editing mode returns to, and the most edited picture weighs automatically
Newly synthesized in video.It is to say, at video preview interface, can be entered by upward sliding on screen
Enter free hand drawing editing mode, after having edited picture, return to video preview state by slide downward on screen,
Apply the picture of new edited in video simultaneously.
Step 104, the picture rearranged described in utilization volume updates the figure rearranged described in the video of described pre-broadcasting volume
The picture that sheet is corresponding, and utilize described video preview interface to replace described picture editor interface, and play renewal
Video.
In this step, after user performs video preview operation, the Video editing software of the embodiment of the present invention is certainly
The picture that dynamic basis is rearranged volume, is updated pre-video of playing, and is automatically replaced by photo current editing interface
It is changed to video preview interface to play the video updated.
As an alternative embodiment, the method can further include:
When user needs to rearrange the video attribute in the current pre-video play and collects, receive user and exist
Described video preview interface performs the video attribute heavily edit operation pre-set, and described video attribute is rearranged and collected
Operate different with the heavily edit operation of described picture.
In this step, the heavily edit operation of described video attribute is different with the heavily edit operation of described picture to be referred to: as
Really picture heavily edit operation is the upward sliding operation in the video preview interface play, then video attribute weight
Edit operation can be the slide downward operation in the video preview interface play;A volume behaviour if picture is rearranged
As the slide to the left in the video preview interface play, then video attribute heavily edit operation can be
Slide to the right etc. in the video preview interface play.
As another alternative embodiment, the method can further include:
Preserve the video collected of rearranging, and/or, by the video sharing collected of rearranging to the Internet.
In this step, after the video confirming preview is collected without rearranging, by assigning preservation instruction, with fixing
Video code model generate one section of complete video be saved in SD card, or assign video sharing and instruct,
By the video sharing that generates in the Internet, such as, wechat, QQ, microblogging, blog etc..
In the embodiment of the present invention, by video preview interface, it is provided for the figure tablet weight that picture is rearranged volume
Edit operation, i.e. by performing the picture heavily edit operation realization figure of pullup or pulldown in video preview interface
Tablet weight editor.So, when user's preview video effect, as the best in found picture effect, need this figure
When sheet re-starts editor, the bag for picture editor can be recalled by the heavily edit operation of drop-down picture
Picture editor interface containing edit tool hurdle, thus complete this picture is weighed editing and processing, complete figure
After the rearranging volume of sheet, then operated by the video preview of pull-up, exit picture editor's state, exiting picture
During editing mode, automatically this picture edited is inserted in current video.Make picture based on video
Weight edit methods operating process is simple, and it is fast to realize weight editing speed, and user can be in the process of editor's video
In and take into account the editor to picture, video production efficiency is higher, is effectively improved Consumer's Experience.Specifically,
Picture based on the video weight edit methods of the embodiment of the present invention, simplifies the flow process of video editing function, changes
Enter user's Consumer's Experience when making video, and keep user's smoothness in whole video production process
Property, without interference with the creation inspiration of user;Further, by the way of pull-up interface or drop-down interface,
So that user at every single stepping of video editing process all the time all in the state of What You See Is What You Get, energy
Enough live previews unite two into one with application edit effect, video editing function and picture editing function, and two are not
Same function can complete in same interface, and the state between two functions all has real-time,
The state that the state that either video editing causes changes or picture editor causes changes, can real-time volume
Existing.
Picture based on the video weight edit methods that the it should be noted that embodiment of the present invention provides, Ke Yishi
For Intelligent mobile equipments such as Android, Saipan, the mobile phone of IOS system, panel computers, simultaneously can also
The video editing being applied on PC.
Fig. 2 is that embodiment of the present invention picture based on video is rearranged a volume apparatus structure schematic diagram.See Fig. 2, should
Device includes: picture is rearranged and collected operation module 201, picture weight editor module 202, a video preview operation module
203 and update playing module 204, wherein,
Picture is rearranged and is collected an operation module 201, and the picture in needing the video to current pre-broadcasting user enters
Row is rearranged when collecting, and receives the picture that user performs to pre-set at the pre-video preview interface playing described video
Heavily edit operation;
In the embodiment of the present invention, as an alternative embodiment, rearrange a volume operation module 201 of picture includes: use
Family operation monitoring means, operation trace extraction unit and track judging unit (not shown), wherein,
User operation monitoring means, in described video preview interface, obtains user in current screen
Startup operation;
Operation trace extraction unit, for obtaining user's termination operation in current screen, calculates and terminates behaviour
Make the time difference of the corresponding time point time point corresponding with initial operation, if described time difference is less than in advance
The time difference threshold value arranged, extracts initial operation to the operation trace terminated between operation;
Track judging unit, for judge described operation trace whether with the picture pre-set heavily edit operation
The track mapped matches, and carries out if it is, determine user to need the picture in the current pre-video play
Rearrange and collect, notify picture weight editor module 202.
In the embodiment of the present invention, picture heavily edit operation includes but not limited to: at the video preview interface play
In upward sliding operation, slide downward operation, to the left slide and any in slide to the right
A kind of.
Picture weight editor module 202, the described picture heavily edit operation in the video obtaining described pre-broadcasting
Corresponding picture, utilizes picture editor interface to replace described video preview interface, and is loaded onto by described picture
In described picture editor interface;
In the embodiment of the present invention, picture weight editor module 202 can also be further used for described picture editor
In interface, load other each pictures in the video of described pre-broadcasting.So, user can also be in video
Other pictures carry out rearranging volume, and can add in video, delete picture, thus be effectively improved figure
The efficiency of tablet weight editor.
Video preview operation module 203, is rearranging to the described picture being loaded onto described picture editor interface
After Ji, receive the video preview the pre-set operation that user performs at described picture editor interface;
Update playing module 204, update institute in the video of described pre-broadcasting for the picture collected of rearranging described in utilizing
State the picture that the picture collected of rearranging is corresponding, and utilize described video preview interface to replace described picture editor interface,
And play the video of renewal.
In the embodiment of the present invention, update playing module 204 and can also be further used for arranging interpolation, deletion figure
The functional keys of sheet, so, user can add by clicking on corresponding functional keys, delete in real time
Picture number in current video.
In the embodiment of the present invention, as an alternative embodiment, this device can further include: operation is sentenced
Disconnected module and video attribute editor module (not shown), wherein,
Operation judges module, for obtaining the user operation that user performs in described video preview interface, as
Really user operation is picture heavily edit operation, notifies picture weight editor module 202;If user operation is video
Attribute heavily edit operation, notifies video attribute editor module;
Video attribute editor module, for the video attribute of video being rearranged volume, after rearranging and having collected,
The video attribute that utilizing rearranges collects covers the video attribute updated in playing module 204, and notifies that renewal is play
Module 204 plays video.
In the embodiment of the present invention, as another alternative embodiment, this device can further include:
Video processing module (not shown), for preserving the video collected of rearranging, and/or, will rearrange and collect
Video sharing to the Internet.
As yet another alternative embodiment, this device can further include: picture just editor module, video
Attributes edit module and Video Composition module (not shown), wherein,
Picture just editor module, for choosing the picture making video and editing the picture chosen;
In the embodiment of the present invention, the picture chosen can be one or more.As an alternative embodiment, can
To choose the picture for making video from local storage, wherein, local storage can be mobile phone
Storage card or smart card (SD, Smart Card), as another alternative embodiment, it is also possible to from cloud service
Device is chosen the picture for video, as yet another alternative embodiment, it is also possible to be that good friend divides from the Internet
The pictures enjoyed are chosen the picture for video, such as, the figure that good friend shares on wechat, QQ, microblogging
Sheet collection etc..
Video attribute editor module, for carrying out video attribute setting to the picture of editor;
Video attribute includes: the total duration of video, voice data and video background picture.
Video Composition module, for utilizing the video code model and audio coding formats pre-set, will
The picture editted synthesizes with the video attribute of setting, generates video and carries out pre-broadcasting.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random store-memory body (RandomAccess Memory, RAM) etc. ROM).
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in
Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention
Should be as the criterion with scope of the claims.