Background technology
At present, when using nonlinear editing system that video material is edited, add stunt to material, majority can only be directed to specific a certain material, and can add the mode of stunt individually to many materials, also can only be effective with next rail material to stunt.
For the user, it is exactly editor's result that the material on the track is arranged, and the user can hope edited result integral body is added a certain stunt or multiple stunt.Realize this function, present operable mode is that edited result is combined as a virtual material, adds stunt for then virtual material.But like this, increased the complexity of operation again, regulated also more loaded down with trivial details for the material that makes up in the virtual material again.
Summary of the invention
The objective of the invention is to be directed against the comparatively complicated and loaded down with trivial details defective of present multiple or whole rail stunt edit methods, a kind of method of the multi-channel video signal synthetic processing multi-track special skill that in non-linear editing, can operate more easily is provided.
Technical scheme of the present invention is following: a kind of method of multi-channel video signal synthetic processing multi-track special skill, this method comprises the steps:
(1) raw video signal to every road decompresses, and forms the data of being convenient to carry out special skill operation, like yuv data;
(2) data that do not have the α passage after decompressing are increased the α passage;
(3) carry out hybrid operation according to the α value of each circuit-switched data, produce one tunnel new data-signal;
(4) on the new signal data that forms, add the α passage;
(5) on the new data that has the α passage, add special skill operation.
The method of aforesaid multi-channel video signal synthetic processing multi-track special skill; Wherein, this method can be returned step (3) after the adding special skill operation operation and accomplish of step (5); Carry out circular treatment with other circuit-switched data signal, thereby form the processing mode of multilayer nest.
Method provided by the present invention has fundamentally solved conventional method when edited result integral body is added a certain stunt or multiple stunt; The complicated operation of being faced, the problem that is difficult to realize; Thereby make the user add stunt in orbit, can regulate going into out a little and the position of stunt arbitrarily as adding a material.Stunt laterally will act on whole interval, position, can comprise many materials in the interval; Vertically will act on following all tracks.The present invention is interval synthetic automatically with stunt, on synthetic result, uses stunt, has realized the editting function of whole rail stunt easily.
Embodiment
Below in conjunction with accompanying drawing the present invention is carried out detailed description.
As shown in Figure 1, the method for multi-channel video signal synthetic processing multi-track special skill, this method comprises the steps:
(1) raw video signal to every road decompresses, and forms the data of being convenient to carry out special skill operation, like yuv data;
(2) data that do not have the α passage after decompressing are increased the α passage, when the picture editting, all passages of creating separately all are called the α passage, and different with Color Channel, the α passage is not used in and saves colors, and selects the district but be used for preservation;
(3) carry out hybrid operation according to the α value of each circuit-switched data, produce one tunnel new data-signal, hybrid operation is a kind of multichannel data to be synthesized the method for a circuit-switched data, is the known technology of this area;
(4) on the new signal data that forms, add the α passage;
(5) on the new data that has the α passage, add special skill operation.
This method can be returned step (3) after the adding special skill operation operation and accomplish of step (5), carry out circular treatment with other circuit-switched data signal, thereby form the processing mode of multilayer nest.
The tree structure of band multiple stunt constitutes as shown in Figure 2; As can be seen from the figure; Material Clip1-Clip4 on the track Track1-Track4 is synthesized a VirtualClipA on track TrackA through said method, adds a stunt Filter1 to VirtualClipA then; Further, can synthesize a VirtualClipB on track TrackB with the material Clip5 on the track Track5, and add new stunt; Then, the material Clip6 on continuation and the track Track6 synthesizes.Just the track that stunt acted on all is configured to SegmentTrack, runs into Fx, then form a VirtualClip, be used as the source to this VirtualClip, be configured to a NxRE_SVideoSegmentClip, form SegmentTrack then.
Add after the whole rail stunt, the tree structure on the Storyboard also needs function corresponding support, and the Storyboard structure of band multiple stunt is as shown in Figure 3.
The use flow process of method of the present invention in practical application is as shown in Figure 4, comprises the steps:
(1) at first on sequence, select the interval that needs to add stunt, the interval is empty;
(2) open the stunt ATL, choose certain video filter stunt template, the stunt template is dragged to the target location;
(3) generate a track stunt in the target location, this stunt is acted on interval interior following all materials.
In addition, can also pull on a stunt template to the whole rail stunt, then on this position, use two stunts simultaneously, can unlimitedly add successively.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other execution mode, belongs to technological innovation scope of the present invention equally.