Summary of the invention
The technical problem to be solved in the present invention is: a kind of processing method of video image is provided, makes the processing of video image more flexibly, efficiently.
In order to address the above problem, the invention provides a kind of processing method of video image, utilize video image described in timeline and flow chart editor, comprising:
In the time of guiding flow figure in timeline, the input material using the output of described flow chart as described timeline; And
When embed timeline in flow chart time, the source input node of described flow chart is a timeline Output rusults.
Further, the method also comprises: in timeline, before guiding flow figure, all materials are put into timeline track and carry out montage, extract required picture.
Further, the method also comprises: in timeline, before guiding flow figure, build the material content of camera lens according to the material on timeline.
Further, described in timeline guiding flow figure comprise:
Material is input as to the input node of special efficacy node in flow chart;
Utilize the special efficacy node of flow chart to process described material, build the synthetic node of special efficacy;
Described synthetic node is exported in the track of timeline.
Again further, the method also comprises: in timeline, after guiding flow figure, according to actual demand, the material of regional in timeline is edited, and according to the time sequencing output of sorting.
Further, the method also comprises: embed timeline in flow chart before, build input node in created flow chart.
Again further, the described timeline that embeds in flow chart comprises further:
In the timeline of described input node, import material and carry out montage.
Again further, embed timeline in flow chart after, in flow chart, build the synthetic node of special efficacy and export.
Further, the method also comprises: will in a period of time in timeline, after all material packings, embed flow chart again.
Compared with prior art, the method that the embodiment of the present invention proposes can realize freely switching between timeline editor and flow chart editor according to the actual requirements, in the time carrying out video image processing, can carry out selectivity processing according to the difference of program category and personal preference: first carry out the first montage of material and the overall process of program (such as, overall color correction etc.), then segmentation is carried out synthesising packing processing to program; Or, the synthetic special effect processing of the segmentation of advanced program, then service time, line was gone here and there sheet and dub work.This makes the processing procedure of video image more flexible, efficient.
Embodiment
For the present invention being made to more detailed introduction, first the method for following two kinds of image processing is made to introduction.
Timeline editor: the mode with track is carried out montage to raw data, extracts the needed picture of program, can carry out some simple special effect processing to the material after montage simultaneously.The output of timeline is that all tracks are according to the simply synthetic picture one by one of sequencing, specifically, timeline is made up of track, material is put in track and is edited, track is divided into the orbital head that has comprised some attributes of track and all materials is put into the track container in track, timeline is longitudinally being made up of track from level to level, Output rusults is the synthetic result of these tracks, wherein: at the material of bottom one deck track, by the bottom at synthetic picture, what topmost the material of one deck track will be at synthetic picture is top; Timeline is being laterally time shaft, represents the length information of timeline, and the material on track will be arranged in time-axis direction order, first broadcasting of the time shaft left side, below by rear broadcast.This method simple and fast, can allow user conspire to create very soon one in flakes, but the special efficacy with multiple input and output can not be provided, and has been unsuitable for thus the making of similar advertising film, video display sheet etc.
Flow chart editor a: special efficacy or a special efficacy are combined as a node, and user is by building special efficacy node, allows various vedio datas flow in these nodes, finally completes the complicated synthetic effect line output of going forward side by side.Specifically: timeline is made up of node, every category node is accepted video input, completes after certain work result output, such as input node completes the importing of material, output video data; Special efficacy node is accepted a road or several roads video input, carries out special effect processing output video data; Output node will be responsible for whole flow chart result to export.This mode can offer the method for producing of user flexibility, completes complicated image synthetic, but cannot carry out lengthy motion picture making, has been only suitable for the making of the Partial Fragment of short cartoon making (such as advertising film) or lengthy motion picture program.
In the present embodiment, utilize the common editing video image of timeline and flow chart editor, its processing method comprises:
In the time of guiding flow figure in timeline, the input material using the output of described flow chart as described timeline; And
Embed timeline in flow chart time, the source input picture of described flow chart is a described timeline Output rusults.
Below in conjunction with drawings and Examples, technical scheme of the present invention is described in detail.
User, in the time carrying out video image processing, can carry out effective seamless combination by timeline edit methods and flow chart approach, and shown in figure 1, concrete methods of realizing is as follows:
Step 100, selects program to start the method for making; If select time line editor, carry out step 101, if select flow chart editor, carry out step 201;
In this step, selecting which kind of mode is to come according to the actual requirements to determine, exemplary, if need to first carry out material preliminary shearing, select time line edit mode, if first carry out building of special efficacy node, selects flow chart edit mode;
Step 101, creation-time line;
The track that all raw data are put into timeline by step 102 carries out montage, removes unwanted content, extracts the needed picture of program;
Step 103, carries out simple special effect processing to the material of institute's montage on timeline, builds the material content of each camera lens;
Step 104, puts into the material of these camera lenses in flow chart as a pending special efficacy node by the input node in flow chart edit methods;
Step 105, utilizes the special efficacy node of flow chart to process described material, builds the synthetic node of complicated special efficacy;
Step 106, exports synthetic the special efficacy of above-mentioned complexity node in the track of timeline to;
Step 107, adjusts the regional in timeline, and described adjustment is according to the processing actual requirement of video image is carried out, exemplary, removes the region that there is no material on time shaft, adjusts the length of main Timeline, etc.;
Step 108, is further processed material content in main timeline, for example, adds captions, dubs etc.;
Step 109, by timeline by all camera lens materials according to the time sequencing output of sorting;
Visible, in the 101-109 of above-mentioned steps, be actually and import in timeline guide rail and edit flow chart as a camera lens material, that is, and using the directly input material in timeline of the output of flow chart; Now in fact on track this material pointed be flow chart and be no longer media file; Thereby, user complete the complicated special efficacy of each camera lens material synthetic after, can be by timeline by all camera lens materials at the enterprising line ordering string of time sequencing sheet, output is broadcasted.On the other hand, any modification in all flow charts all will be directly reflected on timeline.If need to remodify flow chart, because user can adjust the means of direct call flow chart in timeline by this method, and edit without again flow chart being packed to export to import in another system again, to greatly facilitate user to improve the efficiency of program making like this.
Illustrate a bit, 107,108 in above-mentioned steps is the optional step in whole method implementation procedure.
Step 201, visioning procedure figure;
Step 202 is built input node in flow chart;
Step 203 imports material and carries out material montage in the timeline (this timeline, for whole timeline, can be thought period of the day from 11 p.m. to 1 a.m top-stitching) of input node;
In this step, in the time there is multiple input node, successively all input nodes are carried out to identical importing, editing operation;
Step 204 is built the synthetic node of complicated special efficacy in flow chart;
Step 205, exports flow chart as program.
In above-mentioned steps 201-205, utilize flow chart first partial programme to be made, then for example needing to go here and there sheet or flow chart is directly drawn to timeline track need to dub time and carries out timeline editor, that is, flow chart is to be embedded in timeline as quoting.Obvious like this having avoided imports to a file of flow chart packing output in another file system and processes, and effectively guaranteed last synthetic quality, improved editorial efficiency, is particularly suitable for the making to head and advertising film.
In addition, can be further also: after will be in a period of time in timeline all materials packings, embed flow chart, user can carry out complicated special effect processing and synthesize carrying out in putting into flow chart after one section of video clipping so again.
Visible, the method that the embodiment of the present invention proposes can realize freely switching between timeline editor and flow chart editor according to the actual requirements, in the time carrying out video image processing, can carry out selectivity processing according to the difference of program category and personal preference: first carry out the first montage of material and the overall process of program (such as, overall color correction etc.), then segmentation is carried out synthesising packing processing to program; Or, the synthetic special effect processing of the segmentation of advanced program, then service time, line was gone here and there sheet and dub work.This makes the processing procedure of video image more flexible, efficient.User can utilize the powerful preliminary shearing function of timeline to carry out the preliminary treatment of material, and the then input of the source using them as flow chart one by one, carries out follow-up special effect processing; Can also in the timeline of node is inputted in source, embed other timeline and flow chart simultaneously, realize wireless nested logic.
It should be noted that, if do not conflicted, each feature in the embodiment of the present invention and embodiment can mutually combine, all within protection scope of the present invention.In addition, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the flow chart of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
One of ordinary skill in the art will appreciate that all or part of step in said method can carry out instruction related hardware by program and complete, described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, the each module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of claim of the present invention.