Specific embodiment
The embodiment of the present invention is 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.
Fig. 1 rearranges a volume method flow schematic diagram based on the picture of video for the embodiment of the present invention.Referring to Fig. 1, this method packet
It includes:
Step 101, when user needs to carry out rearranging to the picture in the video currently played in advance and collect, user is received pre-
The video preview interface for playing the video executes pre-set picture edit operation again;
In this step, in the pre- playing process of video, user is dissatisfied to the picture in the video of broadcasting if necessary,
It can trigger to rearrange in current video preview interface progress picture by the pre-set picture of execution again edit operation and collect.
As an alternative embodiment, edit operation includes but is not limited to picture again: in the video preview interface of broadcasting
Upward sliding operation, slide downward operation, to the left slide and any one in slide to the right.
It, can be to the picture of certain in video by picture again edit operation during video preview in this step
Rearrange and collects.When user is after clicking video playing preview button, video playing preview is carried out.If user needs to compile again
The picture in video is collected, only slide downward, the then picture that can be triggered in current video enter picture editor's shape to need on the screen
State.
In the embodiment of the present invention, preferably, described receive user in the video preview interface execution for playing the video in advance
Edit operation includes: pre-set picture again
A11 obtains startup operation of the user in current screen in the video preview interface;
In this step, user determine need that a certain picture in video is carried out to rearrange volume when, by user's operation come
It realizes.
In the embodiment of the present invention, user's operation includes but is not limited to: mouse action, cursor operations, touching pen operation, finger
Touch operation etc..
Certainly, in practical application, picture can also be set in the video preview interface of broadcasting and rearrange a volume operating area, only
There is user's operation when the picture is rearranged in volume operating area, just triggering obtains the stream of startup operation of the user in current screen
Journey.
A12 obtains termination operation of the user in current screen, extracts initial operation to the operation rail terminated between operation
Mark;
In this step, in order to which the maloperation of user is extracted just after obtaining termination operation of the user in current screen
Begin before operation to the operation trace terminated between operation, this method can further include:
Calculate the time difference for terminating time point corresponding with initial operation at operation corresponding time point;
Judge whether the time difference is less than pre-set time difference threshold value, if so, executing the initial behaviour of the extraction
Make to the operation trace terminated between operation, if it is not, terminating process.
A13, the track for judging that whether the operation trace maps with pre-set picture again edit operation match, such as
Fruit is to determine that the operation of user is picture edit operation again.
In this step, operation trace can be the oriented direction be directed toward from initial operation and terminate operation.
It is described to receive user in the pre- of the video preview interface execution for playing the video in advance as another alternative embodiment
Again before edit operation, this method can further include the picture being first arranged:
Choose the picture for making video;
The picture of selection and preset video attribute are synthesized, video is generated and played in advance.
It is described to receive what user executed at the video preview interface for playing the video in advance as yet another alternative embodiment
Again before edit operation, this method can further include pre-set picture:
A21 chooses for making the picture of video and editing to the picture of selection;
In this step, it can be imported in picture editor interface by the Video editing software of the starting embodiment of the present invention
Required picture simultaneously initially edits the picture of importing.
In the embodiment of the present invention, the picture of selection can be one or more.It, can be from local as an alternative embodiment
Choose the picture for making video in memory block, wherein local storage can be mobile phone storage card or smart card (SD,
Smart Card), as another alternative embodiment, the picture for video can also be chosen from cloud server, as again
One alternative embodiment can also be the picture chosen from the pictures that good friend in internet shares and be used for video, for example, good friend
The pictures etc. shared on wechat, QQ, microblogging.
Optionally, after choosing picture, the picture of selection is edited, for example, being cut, being contracted to the picture of selection
Put, special effect processing and pull sequence etc..
In the embodiment of the present invention, the picture of each selection corresponds to the frame in video.
A22 carries out video attribute setting to the picture of editor;
In this step, after editting picture, it can be entered by clicking the next button below picture editor interface
Video editing interface.
Preferably, can also be compiled in picture editor interface by the video of the click of user in the embodiment of the present invention
Operation is collected, for example, the operation same or like with picture again edit operation, enters in a manner of pulling up interface or drop-down interface
Video editing interface.In this way, search next button in picture editor interface and click without user, can be effectively reduced into
Time needed for entering video editing interface promotes video production efficiency.
In this step, video attribute includes: video total duration, audio 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 in picture editor interface
Video attribute (next step) button, video attribute setting is carried out to the picture of editor and passes through click after video attribute is set
Next button, into video preview interface.
A23, using pre-set video code model and audio coding formats, by the picture editted and setting
Video attribute synthesized, generate video simultaneously played in advance.
In this step, video is generated about using pre-set video code model and audio coding formats, for public affairs
Know technology, detailed description is omitted here.
Step 102, the picture in the video of the pre- broadcasting corresponding picture of edit operation again is obtained, picture is utilized
Editing interface replaces the video preview interface, and the picture is loaded onto the picture editor interface;
In this step, picture has been executed again after edit operation in user, the Video editing software of the embodiment of the present invention is automatic
The corresponding picture of moment video is extracted, current video preview interface is replaced with into picture editor interface, and in picture editor circle
Show the picture of extraction so that user edits in face.
As an alternative embodiment, by picture editor interface replace the video preview interface in the way of can be and pass through
The mode at drop-down interface is realized.
In the embodiment of the present invention, the function button for including in the picture editor interface of replacement is same as the prior art, herein
Omit detailed description.
As an alternative embodiment, this method be can further include:
In the picture editor interface, other each pictures in the video of the pre- broadcasting are loaded.In this way, user is not only
Can the picture currently playing to video rearrange volume, the picture of other in video can also be carried out rearranging volume, and can
It adds in video, delete picture, so that effectively improving picture rearranges the efficiency collected.
Certainly, in practical application, addition, deletion picture also be can be set in video preview interface, by video preprocessor
Look at interface setting addition, delete the function button of picture, user can by clicking corresponding function button, addition in real time,
Delete the picture number in current video.
Step 103, after carrying out rearranging to the picture for being loaded onto the picture editor interface volume, user is received in institute
State the pre-set video preview operation of picture editor interface execution;
In this step, video preview operation includes but is not limited to: the upward sliding in picture editor interface operates, downwards
Any one in slide, to the left slide and to the right slide.
In the embodiment of the present invention, when user is after having edited picture, only need upward sliding on the screen, then it can be from individual figure
Piece editing mode be restored to before video preview state, and just edited picture recombines in video automatically.
That is at video preview interface, it can be by sliding upward into free hand drawing editing mode on the screen, after having edited picture
It is restored to video preview state by slide downward on the screen, while the picture of application new edited is into video.
Step 104, the picture pair rearranged and collected described in the video of the pre- broadcasting is updated using the picture collected of rearranging
The picture answered, and the picture editor interface is replaced using the video preview interface, and play the video of update.
In this step, after user executes video preview operation, the Video editing software of the embodiment of the present invention automatically according to
The picture collected is rearranged, the pre- video that plays is updated, and current image editing interface is replaced with into video preview interface automatically
To play the video updated.
As an alternative embodiment, this method be can further include:
When user needs to carry out rearranging to the video attribute in the video currently played in advance and collect, user is received in the view
Frequency preview interface executes pre-set video attribute edit operation again, the video attribute edit operation and the picture weight again
Edit operation is different.
In this step, edit operation is different with the picture again edit operation again refers to for the video attribute: if picture
Again edit operation be in the video preview interface of broadcasting upward sliding operation, then video attribute again edit operation can for
Slide downward operation in the video preview interface of broadcasting;If edit operation is in the video preview interface of broadcasting to picture again
Slide to the left, then edit operation can be slide to the right in the video preview interface of broadcasting to video attribute again
Deng.
As another alternative embodiment, this method be can further include:
The video rearranged volume is saved, and/or, by the video sharing rearranged volume to internet.
In this step, after the video for confirming preview is not necessarily to rearrange and collect, instruction is saved by assigning, with fixed video volume
Code format generates one section of complete video and is saved in SD card, or assigns video sharing instruction, and the video sharing of generation is arrived
In internet, for example, wechat, QQ, microblogging, blog etc..
In the embodiment of the present invention, by the way that in video preview interface, setting rearranges the picture collected for picture and rearranges a volume behaviour
Make, i.e., realizes that picture is rearranged by the picture of the execution pullup or pulldown in video preview interface again edit operation and collect.In this way, In
When user's preview video effect, such as find that picture effect is bad, when needing to re-start editor to the picture, can pass through drop-down
Picture edit operation again, recall the picture editor interface comprising edit tool column for picture editor, thus complete to this
The heavy editing and processing of picture after completing to the rearranging volume of picture, then by the video preview operation of pull-up, exits picture editor
The picture edited is inserted into current video by state automatically when exiting picture editor's state.So that based on video
Picture weight edit methods operating process is simple, and realizes that weight editing speed is fast, and user can be during editing video and simultaneous
The editor to picture is cared for, video production efficiency is higher, effectively improves user experience.Specifically, the base of the embodiment of the present invention
In the picture weight edit methods of video, the process of video editing function is simplified, user of the user when making video is improved
Experience, and fluency of the user in entire video production process is kept, the creation inspiration of user will not be interfered;Further,
Pull-up interface or drop-down interface by way of, can make user video editing process every single stepping always all in
The state of What You See Is What You Get live preview and can apply edit effect, and video editing function and picture editing function close two and be
One, two different functions can be completed in the same interface, and the state between two functions all has real-time,
Either state caused by video editing changes state caused by still picture editor and changes, and can embody in real time.
It should be noted that the picture weight edit methods provided in an embodiment of the present invention based on video, can be adapted for pacifying
The Intelligent mobile equipments such as Zhuo, Saipan, the mobile phone of IOS system, tablet computer, while also can be applied to the volume of the video on PC
Volume.
Fig. 2 rearranges a volume apparatus structure schematic diagram based on the picture of video for the embodiment of the present invention.Referring to fig. 2, the device packet
Include: picture rearranges a volume operation module 201, picture weight editor module 202, video preview operation module 203 and updates broadcasting mould
Block 204, wherein
Picture rearranges a volume operation module 201, for needing to carry out the picture in the video currently played in advance weight in user
When editor, user is received at the video preview interface for playing the video in advance and executes pre-set picture edit operation again;
In the embodiment of the present invention, as an alternative embodiment, it includes: user's operation prison that picture, which rearranges a volume operation module 201,
Survey unit, operation trace extraction unit and track judging unit (not shown), wherein
User's operation monitoring unit, in the video preview interface, obtaining starting of the user in current screen
Operation;
Operation trace extraction unit calculates for obtaining termination operation of the user in current screen and terminates operation correspondence
Time point corresponding with initial operation at time point time difference, if the time difference be less than pre-set time difference threshold
Value extracts initial operation to the operation trace terminated between operation;
Track judging unit, for judging what whether the operation trace mapped with pre-set picture again edit operation
Track matches, if so, determining that user needs to carry out the picture in the video currently played in advance to rearrange to collect, notifies picture weight
Editor module 202.
In the embodiment of the present invention, edit operation includes but is not limited to picture again: in the video preview interface of broadcasting to
Upper slide, slide downward operation, to the left slide and any one in slide to the right.
Picture weight editor module 202, edit operation is corresponding again for the picture in video for obtaining the pre- broadcasting
Picture, replace the video preview interface using picture editor interface, and the picture is loaded onto picture editor circle
In face;
In the embodiment of the present invention, picture weight editor module 202 can also be further used in the picture editor interface,
Load other each pictures in the video of the pre- broadcasting.In this way, user can also rearrange the picture of other in video
Volume, and can add in video, delete picture, so that effectively improving picture rearranges the efficiency collected.
Video preview operation module 203, after carrying out rearranging to the picture for being loaded onto the picture editor interface volume,
Receive the pre-set video preview operation that user executes at the picture editor interface;
Playing module 204 is updated, the picture for rearranging described in utilizing volume updates to be weighed described in the video of the pre- broadcasting
The corresponding picture of the picture of editor, and the picture editor interface is replaced using the video preview interface, and play update
Video.
In the embodiment of the present invention, the function that playing module 204 can also be further used for setting addition, delete picture is updated
Button, in this way, user can be added, the picture number in deletion current video in real time by clicking corresponding function button.
In the embodiment of the present invention, as an alternative embodiment, which be can further include: operation judges module with
And video attribute editor module (not shown), wherein
Operation judges module, the user's operation executed in the video preview interface for obtaining user, if user
Operation is picture edit operation again, notifies picture weight editor module 202;If user's operation is video attribute edit operation again,
Notify video attribute editor module;
Video attribute editor module rearrange volume for the video attribute to video, after the completion of rearranging volume, utilizes weight
The video attribute covering of editor updates the video attribute in playing module 204, and notifies that updating playing module 204 plays video.
In the embodiment of the present invention, as another alternative embodiment, which be can further include:
Video processing module (not shown), for saving the video rearranged volume, and/or, the video point that will be rearranged volume
It enjoys to internet.
As yet another alternative embodiment, which be can further include: picture first editor module, video attribute editor
Module and Video Composition module (not shown), wherein
The first editor module of picture, for choosing the picture of production video and being edited to the picture of selection;
In the embodiment of the present invention, the picture of selection can be one or more.It, can be from local as an alternative embodiment
Choose the picture for making video in memory block, wherein local storage can be mobile phone storage card or smart card (SD,
Smart Card), as another alternative embodiment, the picture for video can also be chosen from cloud server, as again
One alternative embodiment can also be the picture chosen from the pictures that good friend in internet shares and be used for video, for example, good friend
The pictures etc. shared on wechat, QQ, microblogging.
Video attribute editor module carries out video attribute setting for the picture to editor;
Video attribute includes: video total duration, audio data and video background picture.
Video Composition module will have been edited for utilizing pre-set video code model and audio coding formats
The video attribute of good picture and setting is synthesized, and is generated video and is played in advance.
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 (RandomAccess
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.