A kind of method video file synthesized by mobile terminal and device
Technical field
The present invention relates to Video Composition field, particularly to a kind of method video file synthesized by mobile terminal and device.
Background technology
Along with becoming increasingly popular of smart mobile phone, the related application of daily shooting video is more and more extensive therewith. At present, video file is carried out overall processing making after being shooting video by the generally popular mobile video software in market. Along with the geometry level of video transmission amount increases, the demand of the Video Applications of differentiation is increasing. The Video Applications software major part of market popularity, for the video of single hop video and short period, generally utilizes video to show single incident. The video capture of the many scenes of multiple clips applies scarcity with being produced on mobile phone terminal, how to utilize mobile video software to realize complicated many scene capture and making, not easily realizes in mobile phone is applied.
Summary of the invention
The technical problem to be solved in the present invention is in that, many scene capture of complexity and the defect of making is not easily realized, it is provided that a kind of easy method video file synthesized by mobile terminal realizing complicated many scene capture and making and device for prior art above-mentioned.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of method video file synthesized by mobile terminal, and described mobile terminal is provided with the video software for editing video, and described method comprises the steps:
A) in described video software, prestore several scenes preset template, and server expands different scenes beyond the clouds preset template;
B) call its built-in scene by described video software preset template or call the default template of corresponding scene in described cloud server by described video software, preset the scene predetermined manner of regulation in template according to the scene called carry out point scene capture or import video file, obtain multiple video clip files;
C) starting position and the end position of each described video clip files are found out respectively, and the time corresponding to each described video clip files starting position and end position is adjusted, and each described video clip files is carried out special video effect editor obtains video segment compilation file;
D) each described video segment compilation file is carried out the input of captions difference respectively its corresponding audio file of selection of the scene content according to each described video segment compilation file, obtains audio frequency and video part edit file;
E) each described audio frequency and video part edit file is synthesized according to described scene predetermined manner, and the video file of synthesis is uploaded to high in the clouds carry out storing or distributing.
In method video file synthesized by mobile terminal of the present invention, described scene is preset template and has been preset captions and multiple video segment with sequential, and has preset the shortest shooting time of each described video segment and the longest shooting time.
In method video file synthesized by mobile terminal of the present invention, described step E) farther include:
E1) successively the transparency of the tail frame picture of each audio frequency and video part edit file is minimized transparency from maximum transparency;
E2) successively the tail frame picture of each described audio frequency and video part edit file is connected to according to described scene predetermined manner the first frame picture of next described audio frequency and video part edit file, obtains the video file of synthesis;
E3) video file of described synthesis uploads to described high in the clouds to carry out storing or distributing.
In method video file synthesized by mobile terminal of the present invention, described maximum transparency is 100, and described minimum transparency is 0.
In method video file synthesized by mobile terminal of the present invention, described special video effect includes any one or arbitrarily several combination in colourity, brightness, Gaussian Blur and deformation effects.
The invention still further relates to the device of a kind of method realizing and above by mobile terminal, video file being synthesized, described mobile terminal is provided with the video software for editing video, and described device includes:
Template storage unit: preset template for prestoring several scenes in described video software, and server expands different scenes beyond the clouds preset template;
Video clip files acquiring unit: preset template for calling its built-in scene by described video software or call the default template of corresponding scene in described cloud server by described video software, preset the scene predetermined manner of regulation in template according to the scene called carry out point scene capture or import video file, obtain multiple video clip files;
Adjust edit cell: for finding out starting position and the end position of each described video clip files respectively, and the time corresponding to each described video clip files starting position and end position is adjusted, and each described video clip files is carried out special video effect editor obtains video segment compilation file;
Captions audio editing unit: for each described video segment compilation file being carried out the input of captions, and difference respectively its corresponding audio file of selection of the scene content according to each described video segment compilation file, obtain audio frequency and video part edit file;
Synthesis uploading unit: for each described audio frequency and video part edit file is synthesized according to described scene predetermined manner, and the video file of synthesis is uploaded to high in the clouds carry out storing or distributing.
In device of the present invention, described scene is preset template and has been preset captions and multiple video segment with sequential, and has preset the shortest shooting time of each described video segment and the longest shooting time.
In device of the present invention, described synthesis uploading unit farther includes:
Tail frame transparency adjusting module: for successively the transparency of the tail frame picture of each audio frequency and video part edit file being minimized transparency from maximum transparency;
Connect synthesis module: for successively the tail frame picture of each described audio frequency and video part edit file to be connected to the first frame picture of next described audio frequency and video part edit file according to described scene predetermined manner, obtain the video file of synthesis;
Upload distribution module: carry out storing or distributing for the video file of described synthesis is uploaded to described high in the clouds.
In device of the present invention, described maximum transparency is 100, and described minimum transparency is 0.
In device of the present invention, described special video effect includes any one or arbitrarily several combination in colourity, brightness, Gaussian Blur and deformation effects.
Implement method video file synthesized by mobile terminal and the device of the present invention, have the advantages that owing to being provided with the video software for editing video in the terminal, first in video software, several scenes built-in are preset template and can call the default template of the scene being stored in cloud server at any time, preset from these scenes and template can be called the default template of a scene, and carry out point scene capture according to the scene predetermined manner of regulation in the default template of the scene called or import video file, obtain multiple video clip files, time corresponding to the starting position of each video clip files and end position is adjusted, and each video clip files is carried out special video effect editor obtains video segment compilation file, carrying out the input of captions and select corresponding audio file, video segment compilation file, captions and audio frequency synthesize the video file of a band audio frequency, it easily realizes complicated many scene capture and making.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of method in method that Fig. 1 is the present invention to be synthesized video file by mobile terminal and one embodiment of device;
Each audio frequency and video part edit file is synthesized in described embodiment by Fig. 2 according to scene predetermined manner, and the video file of synthesis uploads to the particular flow sheet that high in the clouds carries out storing or distributing;
Fig. 3 is the structural representation of device in described embodiment.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
In the method by mobile terminal, video file synthesized in the present invention and device embodiment, the flow chart of its method video file synthesized by mobile terminal is as shown in Figure 1. In the present embodiment, mobile terminal is provided with the video software for editing video, and this mobile terminal is mobile phone in the present embodiment, and certainly, under the certain situation of the present embodiment, this mobile terminal can be panel computer etc. In Fig. 1, should be comprised the steps: by the method that video file is synthesized by mobile terminal
Step S01 prestores several scenes in video software and presets template, and server expands different scenes beyond the clouds preset template: in this step, the video software of mobile terminal prestores several scenes and presets template, and server can expand different scenes beyond the clouds at any time preset template, corresponding scene can be called during subsequent applications and preset template.It is noted that in the present embodiment, scene is preset template and has been preset captions and multiple video segment with sequential, and has preset the shortest shooting time of each video segment and the longest shooting time. Such as: the multiple video segments with sequential preset can be head scene video fragment, process scene video fragment and ending scene video fragment, and process scene video fragment can include one or more mid-scene video segment.
Step S02 calls its built-in scene by video software and presets template or call the default template of corresponding scene in cloud server by video software, preset the scene predetermined manner of regulation in template according to the scene called carry out point scene capture or import video file, obtain multiple video clip files: in this step, call its built-in scene by video software and preset template, or call corresponding scene in cloud server by video software and preset template, and carry out point scene capture according to the scene predetermined manner of regulation in the default template of the scene called or import video file, thus can obtain multiple video clip files, the number that the number of video clip files presets, with scene, the video segment preset in template is identical. it is noted that when carrying out point scene capture, program can set the shortest shooting time and the longest shooting time that adapt to each scene.
Step S03 finds out starting position and the end position of each video clip files respectively, and the time corresponding to each video clip files starting position and end position is adjusted, and each video clip files is carried out special video effect editor obtain video segment compilation file: in this step, find out starting position and the end position of each video clip files respectively, and the time corresponding to each video clip files starting position and end position is adjusted, and each video clip files is carried out special video effect editor obtains video segment compilation file. It is noted that the starting position of video clip files is called access point, it is called a little by the end position of video clip files. Special video effect includes any one or arbitrarily several combination in colourity, brightness, Gaussian Blur and deformation effects, such as: some combination of effects out grinds the effect such as skin or thinning face exactly.
Each video segment compilation file is carried out the input of captions by step S04, and difference respectively its corresponding audio file of selection of the scene content according to each video segment compilation file, obtain audio frequency and video part edit file: in this step, each video segment compilation file (the corresponding scene of each video segment compilation file) is carried out the input of captions, and difference respectively its corresponding audio file of selection of the scene content according to each video segment compilation file, obtain audio frequency and video part edit file. It is noted that the prefabricated situation according to scene, the content of captions is arbitrarily to add, and the program setting that subtitle position and number of words restriction are scenes is good. User inputs the caption content oneself thinking input, or acquiescence display scene presets the content that template carries, such as: being defaulted as the vacation of joy, just directly displaying if do not changed, user can input the vacation of family of three, namely shows the vacation of family of three. Audio file can select local file or the online audio content selecting video software built-in.
Each audio frequency and video part edit file is synthesized by step S05 according to scene predetermined manner, and the video file of synthesis is uploaded to high in the clouds carry out storing or distributing: in this step, each audio frequency and video part edit file is synthesized according to scene predetermined manner, and the video file of synthesis is uploaded to high in the clouds carries out storing or freely distributing.The video file of the synthesis for preserving, it is provided that in the future again carry out editing or using. When synthesizing, video segment compilation file, captions and audio file synthesizing the video file of a band audio frequency in fact exactly, when synthesizing, the sequential of its synthesis is that the sequencing according to scene predetermined manner defined carries out synthesizing. Thus it is easily carried out many scene capture and the making of complexity. The present embodiment is by providing segmentation to import video or the function of segmentation shooting at mobile terminal, different prefabricated scenes is provided for each video segment, by originally flat free recorded video, through with the synthesis of prefabricated scene after, form abundant video expression effect.
For the present embodiment, above-mentioned steps S05 also can refine further, and the flow chart after its refinement is as shown in Figure 2. In Fig. 2, above-mentioned steps S05 farther includes:
The transparency of the tail frame picture of each audio frequency and video part edit file is minimized transparency from maximum transparency by step S51 successively: this step, successively from maximum transparency, the transparency of the tail frame picture of each audio frequency and video part edit file is minimized transparency. In the present embodiment, maximum transparency is 100, and minimum transparency is that 0,100 expression shows completely, and 0 expression does not show completely.
The tail frame picture of each audio frequency and video part edit file is connected to the first frame picture of next audio frequency and video part edit file successively by step S52 according to scene predetermined manner, obtain the video file of synthesis: in this step, successively the tail frame picture of each audio frequency and video part edit file is connected to the first frame picture of next audio frequency and video part edit file according to scene predetermined manner, obtain the video file of synthesis, such two frame pictures link together and carry out synthesizing the continuity that can ensure picture, accomplish seamless link. It is noted that when connecting, the transparency of the picture of video link position remains unchanged, and so ensures that the transparency of obtained whole video pictures remains unchanged.
The video file of synthesis is uploaded to high in the clouds by step S53 to carry out storing or distributing: in this step, the video file of synthesis uploads to high in the clouds and carries out storing or distributing. The present embodiment carries out many scenes by the video software of mobile terminal to be preset, and presets according to many scenes and carries out shooting and editing, it is possible to extreme enrichment mobile terminal propagates the representability of video and the multiformity of video content. Preset according to multifarious scene, it is possible to quickly realize many video requirements easily such as news, individual video resume, product introduction and entertainment life.
The present embodiment further relates to the device of a kind of method realizing and above by mobile terminal, video file being synthesized, and its structural representation is as shown in Figure 3. Mobile terminal in the present embodiment is provided with the video software for editing video, and in Fig. 3, this device includes template storage unit 1, video clip files acquiring unit 2, adjustment edit cell 3, captions audio editing unit 4 and synthesis uploading unit 5; Wherein, template storage unit 1 presets template for prestoring several scenes in video software, and expands different scenes in server beyond the clouds and preset template; Scene is preset template and has been preset captions and multiple video segment with sequential, and has preset the shortest shooting time of each video segment and the longest shooting time. User selects at any time and calls the scene being stored in cloud server to preset template it is noted that can pass through video software.Video clip files acquiring unit 2 is preset template for calling its built-in scene by video software or calls the default template of corresponding scene in cloud server by above-mentioned video software, and carry out point scene capture according to the scene predetermined manner of regulation in the default template of the scene called or import video file, obtain multiple video clip files; Adjust edit cell 3 for finding out starting position and the end position of each video clip files respectively, and the time corresponding to each video clip files starting position and end position is adjusted, and each video clip files is carried out special video effect editor obtains video segment compilation file; Special video effect includes any one or arbitrarily several combination in colourity, brightness, Gaussian Blur and deformation effects, such as: some combination of effects out grinds the effect such as skin or thinning face exactly. Captions audio editing unit 4 for carrying out the input of captions to each video segment compilation file, and difference respectively its corresponding audio file of selection of the scene content according to each video segment compilation file, obtains audio frequency and video part edit file; Synthesis uploading unit 5 is for synthesizing each audio frequency and video part edit file according to scene predetermined manner, and the video file of synthesis uploads to high in the clouds carries out storing or distributing.
In the present embodiment, synthesis uploading unit 5 farther includes tail frame transparency adjusting module 51, connection synthesis module 52 and upload distribution module 53; Wherein, tail frame transparency adjusting module 51 is for being minimized transparency by the transparency of the tail frame picture of each audio frequency and video part edit file from maximum transparency successively; Maximum transparency is 100, and minimum transparency is 0. Connect synthesis module 52 for successively the tail frame picture of each audio frequency and video part edit file to be connected to the first frame picture of next audio frequency and video part edit file according to scene predetermined manner, obtain the video file of synthesis; When connecting, the transparency of the picture of video link position remains unchanged, and so ensures that the transparency of obtained whole video pictures remains unchanged; Upload distribution module 53 to carry out storing or distributing for the video file of synthesis uploads to high in the clouds.
In a word, in the present embodiment, the video software of mobile terminal provides segmentation to import video or the function of segmentation shooting, different prefabricated scenes is provided for each fragment, by originally flat free recorded video, through with the synthesis of prefabricated scene after, form abundant video expression effect, meet the demand of different user, enhance the experience of user simultaneously.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.