CN107749956A - Video source switches special efficacy realization device and video source switching special efficacy implementation method - Google Patents
Video source switches special efficacy realization device and video source switching special efficacy implementation method Download PDFInfo
- Publication number
- CN107749956A CN107749956A CN201710891303.0A CN201710891303A CN107749956A CN 107749956 A CN107749956 A CN 107749956A CN 201710891303 A CN201710891303 A CN 201710891303A CN 107749956 A CN107749956 A CN 107749956A
- Authority
- CN
- China
- Prior art keywords
- effect processing
- special effect
- video source
- switching
- special efficacy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/268—Signal distribution or switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Circuits (AREA)
Abstract
The embodiment of the invention discloses a kind of video source to switch special efficacy realization device, including:Control logic module, for parsing the control signal of input to obtain control parameter;Logic processing module, have output interface and including:Parameter acquiring unit;Multiple switching special effect processing units;Special efficacy output unit;Wherein, the logic processing module obtains the control parameter using the parameter acquiring unit, and the target switching special effect processing unit in the multiple switching special effect processing unit is carried out video source switching special effect processing to obtain special effect processing result and the special efficacy output unit is connected target switching special effect processing unit to export the special effect processing result with the output interface under the control of the control parameter got.The embodiment of the invention also discloses a kind of video source to switch special efficacy implementation method.The embodiment of the present invention can simplify the implementation complexity of various switching special efficacys, and increase module is portable and improves the versatility of video processing equipment.
Description
Technical field
The present invention relates to video display technology field, more particularly to a kind of video source switching special efficacy realization device and one kind to regard
Frequency source switches special efficacy implementation method.
Background technology
In video processing equipment, the switching special efficacy of video source has become to become increasingly complex.Switch special efficacy for video source
Internal implementation, module design complexities can with switching special efficacy species increase linearly increase.Prior art for
Extensive switching special efficacy can not be quickly corresponding with single switching special efficacy logic in realizing.When addition switching special efficacy realizes species,
Need that whole logic module is reconstructed, code reuse is poor, it is difficult to transplant, cause module readable poor.Difference switching is special
It is larger to imitate the degree of association, design difficulty increase, can not quickly meet the intention transition effect needed for client.
The content of the invention
Embodiments of the invention provide a kind of video source switching special efficacy realization device and a kind of video source switching special efficacy is realized
Method, the implementation complexity of various switching special efficacys can be simplified, increase module is portable and improves video processing equipment
Versatility.
On the one hand, there is provided a kind of video source switches special efficacy realization device, including:Control logic module, it is defeated for parsing
The control signal entered is to obtain control parameter;Logic processing module, have output interface and including:Parameter acquiring unit, connection
The control logic module;Multiple switching special effect processing units, connect the parameter acquiring unit;Special efficacy output unit, connection
The parameter acquiring unit is simultaneously connected between the multiple switching special effect processing unit and the output interface;Wherein, it is described
Logic processing module obtains the control parameter using the parameter acquiring unit, and in the control of the control parameter got
The target switching special effect processing unit in the multiple switching special effect processing unit is set to carry out video source switching special effect processing under system
Connect with obtaining special effect processing result and making the special efficacy output unit that the target is switched into special effect processing unit with the output
Mouth is connected to export the special effect processing result.
In one embodiment of the invention, the multiple switching special effect processing unit is used to receive the parameter acquiring list
The control parameter of member output simultaneously voluntarily judges whether to video source switching special effect processing according to the control parameter.
In one embodiment of the invention, the special efficacy output unit includes MUX;The MUX
The multiple switching special effect processing unit of input connection, the output of the MUX connects the output interface, described
The selection control terminal of MUX connects the parameter acquiring unit.
In one embodiment of the invention, the video source switching special efficacy realization device, in addition to:Two-path video source is defeated
To receive two-path video source signal, each described switching special effect processing unit connects the two-path video source input and connect incoming interface
Mouthful;The control parameter includes target switching special efficacy type and target switching special efficacy duration.
In one embodiment of the invention, the video source switching special efficacy realization device also includes at least three tunnel video sources
To receive at least three road video source signals, at least three tunnels described in each described switching special effect processing unit connection regard input interface
Frequency source input interface;The control parameter includes target Switch Video source, target switching special efficacy type and target switching special efficacy and held
The continuous time.
In one embodiment of the invention, the control logic module and the logic processing module are integrated in programmable
Logical device.
On the other hand, a kind of video source switching special efficacy implementation method is additionally provided, including:Parse input control signal with
Obtain control parameter;Obtain the control parameter;Under the control of the control parameter of acquisition, make multiple switching special effect processings
Target switching special effect processing unit in unit carries out video source switching special effect processing, to obtain special effect processing result;
Under the control of the control parameter obtained, the target switching special effect processing unit is set to be connected with output interface, to export
State special effect processing result.
In one embodiment of the invention, it is described under the control of the control parameter of acquisition, make multiple switchings special
The target switching special effect processing unit imitated in processing unit carries out video source switching special effect processing, to obtain special effect processing knot
The step of fruit, includes:The multiple switching special effect processing unit receives the control parameter and according to the control parameter respectively
Voluntarily judge whether to video source switching special effect processing.
In one embodiment of the invention, it is described under the control of the control parameter of acquisition, cut the target
Change special effect processing unit to connect with output interface, included with exporting the step of the special effect processing result:Joined according to the control
Target switching special effect processing unit in the multiple switching special effect processing unit of number selection connects with the output interface.
In one embodiment of the invention, the control parameter includes target switching special efficacy type and target switching special efficacy
Duration.
In one embodiment of the invention, the control parameter includes target Switch Video source, target switching special efficacy class
Type and target switching special efficacy duration.
In one embodiment of the invention, the video source switching special effect processing is selected from:Directly switch special effect processing, light
Enter to fade out switching special effect processing, be rubbed into and clash special effect processing, slide into and out special effect processing, circular disengaging special effect processing, ellipse and enter
Go out special effect processing and rhombus disengaging special effect processing.
Above-mentioned technical proposal can have following one or more advantages:The embodiment of the present invention passes through control logic module solution
The control signal of analysis input obtains control parameter, and under the control of the control parameter logic processing module inside it
Selection target switching special efficacy processing module carries out video source switching special effect processing so as to obtain in multiple switching special efficacy processing modules
Special effect processing result simultaneously exports, so that when adding special efficacy implementation, can be simply by change logic processing module
Switching special efficacy processing module so as to reach the increase or deletion of switching special efficacy, while also allow for user and proposing that new switching is special
When effect, can fast and effectively meet the needs of user;Meanwhile by using modular implementation, can be quick
Problem of implementation is positioned, simplifies the implementation complexity of various switching special efficacys, increase module is portable, and improves Video processing and set
Standby versatility.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill of field, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other
Accompanying drawing.
Fig. 1 is that a kind of video source of one embodiment of the invention switches the structural representation of special efficacy realization device;
Fig. 2 is that a kind of video source of further embodiment of this invention switches the structural representation of special efficacy realization device;
Fig. 3 is that a kind of video source of another embodiment of the present invention switches the structural representation of special efficacy realization device;
Fig. 4 is that a kind of video source of yet another embodiment of the invention switches the schematic flow sheet of special efficacy implementation method;
Fig. 5 is that a kind of of the embodiment of the present invention is rubbed into the effect diagram for clashing special effect processing;
Fig. 6 is a kind of effect diagram of circular disengaging special effect processing of the embodiment of the present invention.
Embodiment
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 carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
As shown in figure 1, a kind of video source switching special efficacy realization device 10 that one embodiment of the invention provides, main bag
Include:Control logic module 11 and logic processing module 13.Wherein, control logic module 11 be used for parse input control signal with
Obtain control parameter.Logic processing module 13 includes:Parameter acquiring unit 131, multiple switching special effect processing units 133, special efficacy
Output unit 135 and output interface 137;Wherein, parameter acquiring unit 131 connects control logic module 11;Multiple switching special efficacys
Processing unit 133, Connecting quantity acquiring unit 131;The Connecting quantity acquiring unit 131 of special efficacy output unit 135 is simultaneously connected to more
Between individual switching special effect processing unit 133 and output interface 137.Wherein, logic processing module 13 utilizes parameter acquiring unit 131
The control parameter is obtained, and is made under the control of the control parameter got in multiple switching special effect processing units 133
Target switching special effect processing unit carry out video source switching special effect processing to obtain special effect processing result and make special efficacy output single
Member 135 connects target switching special effect processing unit to export the special effect processing result with output interface 137.Specifically
Ground, multiple switching special effect processing units 133 are for example special including 4 switching special effect processing units as shown in Figure 1, respectively switching
Imitate processing unit 1331, switching special effect processing unit 1333, switching special effect processing unit 1335 and switching special effect processing unit
1337, the target switching special effect processing unit is, for example, that user is selected from switching special effect processing unit by what control signal was specified
1331st, switch any in special effect processing unit 1333, switching special effect processing unit 1335 and switching special effect processing unit 1337
One;Such as under the control of the control parameter, target switching special effect processing unit is chosen to be switching special effect processing unit
1333, now only have switching special effect processing unit 1333 to carry out the video source of corresponding types and switch special effect processing so as to obtain phase
The special effect processing result answered, at the same time, special efficacy output unit 135 will only open the output of switching special effect processing unit 1333
Passage makes to connect between switching special effect processing unit 1333 and output interface 137 to export the special effect processing result.It is worth herein
One carry when, the numbers of the switching special effect processing unit included by multiple switching special effect processing units 133 are not limited to 4
It is individual, other arbitrary numbers for being more than or equal to 2 are can also be, each switching special effect processing unit is corresponding to realize that a kind of switching is special
Imitate type.
Specifically, the control signal be, for example, by user according to self-demand operate corresponding function button or
The signal that the interactive modes such as inputting interface input corresponding information obtain;Control logic module 11 and/or logic processing module 13
Realized as realized by PLD such as FPGA logic module, or by specific physical circuit;Control
Logic module 11 is, for example, the control signal in interframe space parsing input.
As shown in Fig. 2 a kind of video source switching special efficacy realization device 20 that one embodiment of the invention provides, main bag
Include:Control logic module 21, logic processing module 23, video input interface 25 and video input interface 27.Wherein, control logic
Module 21 is used to parse the control signal of input to obtain target switching special efficacy type and target switching special efficacy duration, its
In, the target switching special efficacy duration defines the duration that target video source is switched to from original video source.Patrol
Collecting processing module 23 includes:Parameter acquiring unit 231, multiple switching special effect processing units 233, special efficacy output unit 235 and defeated
Outgoing interface 237;Wherein, parameter acquiring unit 231 is connected with control logic module, is obtained with receiving after control logic module 21 parses
The target switching special efficacy type arrived and target switching special efficacy duration, parameter acquiring unit 231 is then by described in
Target switches special efficacy type and the target switching special efficacy duration is sent to cutting in multiple switching special effect processing units 233
Change special effect processing unit 2331, switching special effect processing unit 2333 and switching special effect processing unit 2335;Meanwhile video input connects
Mouth 25 and video input interface 27 receive video source signal all the way and received video source signal are sent into switching respectively
Special effect processing unit 2331, switch special effect processing unit 2333 and switch each in special effect processing unit 2335;Switching is special
Effect processing unit 2331, switching special effect processing unit 2333 and switching special effect processing unit 2335 can obtain according to the parameter received
Target switching special efficacy type that unit 231 sends is taken come the switching special efficacy type phase achieved by judging whether with itself
Matching, if it does, then this switching special effect processing unit is exactly target switching special effect processing unit, this target switching special efficacy
Processing unit will switch the special efficacy duration according to the target that the parameter acquiring unit 231 received is sent, and go to hold
The video source switching special effect processing function of row itself, to be sent to the video input interface 25 received and video input interface 27
The two-path video source signal come carries out video source switching special effect processing, so as to obtain special effect processing result;Special efficacy output unit 235
In the selection control terminal 23511 of MUX 2351 can receive the target switching that parameter acquiring unit 231 sends
Special efficacy type, so MUX 2351 from be connected with its input switching special effect processing unit 2331, switching special efficacy at
Manage selection and the target switching spy of target switching special efficacy type matching in unit 2333 and switching special effect processing unit 2335
Processing module is imitated, opening the output channel of target switching special efficacy processing module makes it be connected between output interface 237, with output
The special effect processing result.Herein it is noted that the number of multiple switching special effect processing units 233 is not limited to Fig. 2
Shown in 3, can also be other it is any be more than or equal to 2 number.
Specifically, the control signal be, for example, by user according to self-demand operate corresponding function button or
The signal that the interactive modes such as inputting interface input corresponding information obtain;Control logic module 21 and/or logic processing module 23
Realized as realized by PLD such as FPGA logic module, or by specific physical circuit;It is each
The resolution ratio of video source signal described in road is for example identical with the resolution ratio of output interface 237, and this is to complete normal switching special efficacy
Necessary condition;Control logic module 21 is, for example, the control signal in interframe space parsing input.
Specifically, the switching special efficacy type that each switching special effect processing unit can be realized is, for example, selected from directly switching
Special effect processing, switching special effect processing of being fade-in fade-out, it is rubbed into and clashes special effect processing, slides into and out special effect processing, circular disengaging special efficacy
One kind in processing, oval disengaging special effect processing and rhombus disengaging special effect processing, target switching special efficacy type are selected from directly
Switching special effect processing, switching special effect processing of being fade-in fade-out, it is rubbed into and clashes special effect processing, slides into and out special effect processing, circular disengaging
Special effect processing, oval disengaging special effect processing and rhombus pass in and out any one in special effect processing, herein it is noted that each
The switching special efficacy type and target switching special efficacy type that individual switching special effect processing unit can be realized are limited to the present embodiment
In include directly to switch special effect processing, being fade-in fade-out switches special effect processing, is rubbed into and clashes special effect processing, slide into and out special efficacy
Processing, circular disengaging special effect processing, oval disengaging special effect processing and rhombus disengaging special effect processing, can need to carry out according to user
Addition, delete or change, user's later stage with self-defined new switching special efficacy type and can be realized.
As shown in figure 3, a kind of video source switching special efficacy realization device 30 that one embodiment of the invention provides, main bag
Include:Control logic module 31, logic processing module 33, video input interface 35, video input interface 37 and video input interface
39.Wherein, control logic module 31 switches special efficacy type, target switching spy for parsing the control signal of input to obtain target
Duration and target Switch Video source are imitated, wherein, the target switching special efficacy duration defines cuts from original video source
The duration in target video source is changed to, the target Switch Video source is defined from the original video source mesh to be switched to
Mark video source.Logic processing module 33 includes:Parameter acquiring unit 331, multiple switching special effect processing units 333, special efficacy output
Unit 335 and output interface 337;Wherein, parameter acquiring unit 331 is connected with control logic module, to receive control logic mould
Target switching special efficacy type, target switching special efficacy duration and the target switching that block 31 obtains after parsing regard
Frequency source, the target is then switched special efficacy type by parameter acquiring unit 331, the target switches the special efficacy duration and described
Target Switch Video source is sent to multiple switching special effect processing units 3331 switched in special effect processing units 333, switching special efficacy
Processing unit 3333 and switching special effect processing unit 3335;Meanwhile video input interface 35, video input interface 37 and video are defeated
Incoming interface 39 receives video source signal all the way and received video source signal is sent into switching special effect processing unit respectively
3331st, each in special effect processing unit 3333 and switching special effect processing unit 3335 is switched;Switch special effect processing unit
3331st, switch special effect processing unit 3333 and switching special effect processing unit 3335 can be according to the parameter acquiring unit 331 received
The target switching special efficacy type sent come the switching special efficacy type matching achieved by judging whether with itself, if
Matching, then this switching special effect processing unit is exactly target switching special effect processing unit, and this target switches special effect processing unit
The special efficacy duration will be switched according to the target that the parameter acquiring unit 331 received is sent and the target switches
Video source, go to perform the video source switching special effect processing function of itself, with to the video input interface 35, the video input that receive
The three road video source signals that interface 37 and video input interface 39 are sent carry out video source switching special effect processing, so as to obtain spy
Imitate result;The selection control terminal 33511 of MUX 3351 in special efficacy output unit 335 can receive parameter acquiring list
The target switching special efficacy type that member 331 is sent, and then MUX 3351 is special from the switching being connected with its input
Imitate and select to switch with the target in processing unit 3331, switching special effect processing unit 3333 and switching special effect processing unit 3335
Special efficacy type matching target switching special efficacy processing module, open target switching special efficacy processing module output channel make its with it is defeated
Connected between outgoing interface 337, to export the special effect processing result.Herein it is noted that multiple switching special effect processing lists
The number of member 333 is not limited to 3 shown in Fig. 3, can also be other any numbers more than or equal to 2;Video input
Interface is not limited to video input interface 35, video input interface 37 and video input interface 39 shown in Fig. 3, can also wrap
Any video input interface for being more than 3 is included, now, correspondingly, the video input interface more than 3 is more than 3 tunnels to receive
Video source signal be sent to each it is described switching special effect processing unit.
Specifically, the control signal be, for example, by user according to self-demand operate corresponding function button or
The signal that the interactive modes such as inputting interface input corresponding information obtain;Control logic module 31 and/or logic processing module 33
Realized as realized by PLD such as FPGA logic module, or by specific physical circuit;It is each
The resolution ratio of video source signal described in road is for example identical with the resolution ratio of output interface 337, and this is to complete normal switching special efficacy
Necessary condition;Control logic module 31 is, for example, the control signal in interframe space parsing input.
Specifically, the switching special efficacy type that each switching special effect processing unit can be realized is, for example, selected from directly switching
Special effect processing, switching special effect processing of being fade-in fade-out, it is rubbed into and clashes special effect processing, slides into and out special effect processing, circular disengaging special efficacy
One kind in processing, oval disengaging special effect processing and rhombus disengaging special effect processing, target switching special efficacy type are selected from directly
Switching special effect processing, switching special effect processing of being fade-in fade-out, it is rubbed into and clashes special effect processing, slides into and out special effect processing, circular disengaging
Special effect processing, oval disengaging special effect processing and rhombus pass in and out any one in special effect processing, herein it is noted that each
The switching special efficacy type and target switching special efficacy type that individual switching special effect processing unit can be realized are limited to the present embodiment
In include directly to switch special effect processing, being fade-in fade-out switches special effect processing, is rubbed into and clashes special effect processing, slide into and out special efficacy
Processing, circular disengaging special effect processing, oval disengaging special effect processing and rhombus disengaging special effect processing, can need to carry out according to user
Addition, delete or change, user's later stage with self-defined new switching special efficacy type and can be realized.
In summary, in present invention video source switching special efficacy realization device by control logic module to
The control signal of family input is parsed to obtain control parameter, and the control parameter is forwarded to described more by logic processing module
Individual switching special effect processing unit, the multiple switching special effect processing unit according to the control parameter judge oneself whether be
Target switching special effect processing unit described in user, target switching special effect processing unit according to the control parameter and pass through video
The video source signal that input interface receives switches special effect processing to carry out corresponding video source, and special efficacy output unit is then according to institute
State control parameter and carry out control targe switching special efficacy and blow the opening of unit output channel so as to connect with the output interface, to export
Meet the special effect processing result after the video source switching special effect processing of user's request.Present invention pass through by
The implementation process of the switching special efficacy of each type realizes that difference switches special efficacy class by different switching special effect processing units respectively
The implementation process of type is independently uncorrelated, so as to realize control process and implementation process separation and each switching special efficacy type
The separation of implementation process.By modular implementation, realizing can be simply by more when adding special efficacy implementation
Change the switching special effect processing unit in logic processing module so as to reach the increase or deletion of switching special efficacy, while also allow for user
When new switching special efficacy is proposed, can fast and effectively meet the needs of user, can be with fast positioning problem of implementation, letter
Change the implementation complexity of various switching special efficacys, increase module is portable, while improves the versatility of video processing equipment.
As shown in figure 4, a kind of video source switching special efficacy generation method that yet another embodiment of the invention provides, main to include step
Suddenly:
S11:The control signal of input is parsed to obtain control parameter;Specifically, this step is, for example, complete in interframe gap
Into.
S13:Obtain the control parameter;
S15:Under the control of the control parameter of acquisition, cut a target in multiple switching special effect processing units
Change special effect processing unit and carry out video source switching special effect processing, to obtain special effect processing result;In this step, it is the multiple to cut
Change special effect processing unit and also need to receive multi-channel video source signal respectively as input, under the control of the control parameter, mesh
Mark switching special effect processing unit carries out video source switching special effect processing to the multi-channel video source signal.
S17:Under the control of the control parameter of acquisition, make the target switching special effect processing unit and output interface
Connection, to export the special effect processing result.
Specifically, the control signal be, for example, by user according to self-demand operate corresponding function button or
The signal that the interactive modes such as inputting interface input corresponding information obtain;Step S11, S13, S15 and/or step S17 for example pass through
What PLD such as FPGA logic module was realized, or realized by specific physical circuit.
Specifically, it is described under the control of the control parameter of acquisition, make one in multiple switching special effect processing units
Individual target switching special effect processing unit carries out video source switching special effect processing, for example to be wrapped the step of obtaining special effect processing result
Include:The multiple switching special effect processing unit receives the control parameter and voluntarily judged according to the control parameter respectively
No progress video source switching special effect processing.
It is described under the control of the control parameter of acquisition, make target switching special effect processing unit and output interface
Connection, the step of to export the special effect processing result for example including:It is special according to the multiple switching of the selection of control parameter
Target switching special effect processing unit in effect processing unit connects with the output interface.
The video source switching special effect processing is selected from:Directly switching special effect processing, be fade-in fade-out switching special effect processing,
It is rubbed into and clashes special effect processing, slides into and out special effect processing, circular disengaging special effect processing, oval disengaging special effect processing and rhombus disengaging
Special effect processing.Herein it is noted that switching special efficacy type and target that each switching special effect processing unit can be realized
Switching special efficacy type, which is limited to include in the present embodiment, directly to switch special effect processing, is fade-in fade-out at switching special efficacy
Manage, be rubbed into and clash special effect processing, slide into and out special effect processing, circular disengaging special effect processing, oval disengaging special effect processing and rhombus
Special effect processing is passed in and out, can be needed to be added, delete or change according to user, user's later stage can be special with self-defined new switching
Effect type is simultaneously realized.
When the multi-channel video source signal is two-way, the control parameter is then correspondingly comprising target switching special efficacy type
Switch the special efficacy duration with target, now input.In other embodiments, when the multi-channel video source signal is at least three
Lu Shi, the control parameter are then correspondingly held comprising target Switch Video source, target switching special efficacy type and target switching special efficacy
The continuous time.Wherein, the target switching special efficacy duration, which is defined from original video source, is switched to continuing for target video source
Time, the target Switch Video source is defined from the target video source that original video source to be switched to.The control letter
Number it is, for example, to operate the button of corresponding function according to self-demand by user or input corresponding information etc. in inputting interface to hand over
The signal that mutual mode obtains;Resolution ratio per video source signal described all the way is for example identical with the resolution ratio of the output interface,
This is the necessary condition for completing normal switching special efficacy.
In summary, video source switches special efficacy implementation method by that will switch what special efficacy was realized in yet another embodiment of the invention
The implementation process of the switching special efficacy of control process and each type separates, can be with when addition switches special efficacy implementation
Simply by change switching special effect processing unit so as to reach the increase or deletion of switching special efficacy, while also allow for user and carrying
When going out new switching special efficacy, can fast and effectively meet the needs of user, can be simplified each with fast positioning problem of implementation
The implementation complexity of kind switching special efficacy, increase method portability and versatility.
As shown in Figure 5 and Figure 6, respectively it is rubbed into described in present invention and clashes special effect processing and the circle
The display effect schematic diagram of special effect processing is passed in and out, wherein, V1 is current video source, and V2 is target Switch Video source.It is described to be rubbed into
Clashing special effect processing includes:It is rubbed into upwards and clashes special effect processing, is rubbed into downwards and clashes special effect processing, be rubbed into clash at special efficacy to the left
Reason, be rubbed into the right clash special effect processing, compression be rubbed into clash special effect processing, expansion be rubbed into clash special effect processing, closing be rubbed into
Go out special effect processing, opening be rubbed into clash special effect processing, center be rubbed into clash special effect processing, around be rubbed into and clash the classes such as special effect processing
Type;The circular disengaging special effect processing passes in and out special effect processing including incremental circle and circle of successively decreasing passes in and out the types such as special effect processing,
It can be extended and realize according to specific needs.Specifically, Fig. 5 show a kind of display for being rubbed into erasing special effect processing to the right
Effect diagram, it is shown that the content that current video source V1 is being shown is gradually whole by target Switch Video source V2 from left to right
The process replaced;Fig. 6 show a kind of display effect schematic diagram for being incremented by circular disengaging special effect processing, it is shown that current video
The mistake that the content that source V1 is being shown gradually all is replaced with the circular target Switch Video source V2 shown gradually increased
Journey.It is discussed in detail the content of Preview (preview, being abbreviated as Pvw) window below by taking both special effect processing types as an example
I.e. target Switch Video source V2 content with different switching modes be output to Program (current, be abbreviated as Pgm) window namely
Show the realization principle of the window of current video source V2 contents:
1. for example when the corresponding switching special efficacy of switching special efficacy type parameter clashes special efficacy to be rubbed into the right, then correspond to and wipe to the right
Enter to clash switching special effect processing, process is as follows:
(1) in each frame, the coordinate of data point is read, judges the point whether in frame Pvw window inclusion regions;
(2) if the point is in frame Pvw window inclusion regions, output data OutData=PvwData;If this point
Outside frame Pvw window inclusion regions, then output data OutData=PgmData;
(3) Pvw window inclusion regions are updated, then proceed to repeat above procedure, until current video source V1 is shown
Content all replaced by target Switch Video source V2.
2. for example corresponding to switching special efficacy when switching special efficacy type parameter to be incremented by circular disengaging special efficacy, then incremental circle is corresponded to
Shape passes in and out special effect processing, and process is as follows:
(1) each frame sends center point coordinate CenterX, CenterY of Pvw windows, circular radius Radius.Wherein
CenterY represents to be expert at, and CenterX represents which point in the row.
(2) Pgm, Pvw window data is read according to output timing simultaneously, reading be two windows same position
Data, calculate read point in the circle of above-mentioned coordinate convention or circle is outer in real time.Assuming that the coordinate for reading point is (X, Y), if
(X-CenterX)^2+(Y-CenterY)^2>Radius^2, then it is outer in circle to read point;(if X-CenterX) ^2+ (Y-
CenterY)^2<=Radius^2, then point is read in circle;
(3) if reading point in circle, output data OutData=PvwData;If it is outer in circle to read point, number is exported
According to OutData=PgmData;
(4) Radius value is updated, then proceedes to repeat above procedure, until the content that current video source V1 is being shown
All replaced by target Switch Video source V2.
In several embodiments provided herein, it should be understood that disclosed system, device and/or method, can
To realize by another way.For example, device embodiment described above is only schematical, for example, the unit/
The division of module, only a kind of division of logic function, can there are other dividing mode, such as multichannel unit when actually realizing
Or module can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute
Display or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The units/modules illustrated as separating component can be or may not be it is physically separate, as
The part that units/modules are shown can be or may not be physical location, you can with positioned at a place, or can also
It is distributed on multi-channel network unit.Some or all of units/modules therein can be selected to realize according to the actual needs
The purpose of this embodiment scheme.
In addition, each functional unit/module in each embodiment of the present invention can be integrated in a processing unit/module
In or unit/module be individually physically present, can also two or more units/modules be integrated in one
In units/modules.Above-mentioned integrated units/modules can both be realized in the form of hardware, can also add software using hardware
The form of functional unit/module is realized.
The above-mentioned integrated units/modules realized in the form of SFU software functional unit/module, can be stored in a calculating
In machine read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing
The one or more processors of one computer equipment (can be personal computer, server, or network equipment etc.) perform
The part steps of each embodiment methods described of the present invention.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage
Device (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic
Dish or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (12)
1. a kind of video source switches special efficacy realization device, it is characterised in that including:
Control logic module, for parsing the control signal of input to obtain control parameter;
Logic processing module, have output interface and including:
Parameter acquiring unit, connect the control logic module;
Multiple switching special effect processing units, connect the parameter acquiring unit;
Special efficacy output unit, connect the parameter acquiring unit and be connected to the multiple switching special effect processing unit and described
Between output interface;
Wherein, the logic processing module obtains the control parameter using the parameter acquiring unit, and in the institute got
Stating makes the target switching special effect processing unit in the multiple switching special effect processing unit carry out video under the control of control parameter
Source switches special effect processing to obtain special effect processing result and make the special efficacy output unit that the target is switched into special effect processing list
It is first to be connected with the output interface to export the special effect processing result.
2. video source as claimed in claim 1 switches special efficacy realization device, it is characterised in that the multiple switching special effect processing
Unit is used to receive the control parameter of the parameter acquiring unit output and voluntarily judged whether according to the control parameter
Carry out video source switching special effect processing.
3. video source as claimed in claim 1 switches special efficacy realization device, it is characterised in that the special efficacy output unit includes
MUX;The multiple switching special effect processing unit of input connection of the MUX, the MUX
Output connects the output interface, and the selection control terminal of the MUX connects the parameter acquiring unit.
4. video source as claimed in claim 1 switches special efficacy realization device, it is characterised in that also includes:Two-path video source is defeated
To receive two-path video source signal, each described switching special effect processing unit connects the two-path video source input and connect incoming interface
Mouthful;The control parameter includes target switching special efficacy type and target switching special efficacy duration.
5. video source as claimed in claim 1 switches special efficacy realization device, it is characterised in that the video source switching special efficacy is real
Existing device also includes at least three tunnel video source input interfaces to receive at least three road video source signals, each described switching special efficacy
At least three tunnel video source input interfaces described in processing unit connection;The control parameter includes target Switch Video source, target is cut
Change special efficacy type and target switching special efficacy duration.
6. video source as claimed in claim 1 switches special efficacy realization device, it is characterised in that the control logic module and institute
State logic processing module and be integrated in PLD.
7. a kind of video source switches special efficacy implementation method, it is characterised in that including:
The control signal of input is parsed to obtain control parameter;
Obtain the control parameter;
Under the control of the control parameter of acquisition, make at the target switching special efficacy in multiple switching special effect processing units
Manage unit and carry out video source switching special effect processing, to obtain special effect processing result;
Under the control of the control parameter of acquisition, the target switching special effect processing unit is set to be connected with output interface, with
Export the special effect processing result.
8. video source as claimed in claim 7 switches special efficacy implementation method, it is characterised in that the control in acquisition
Under the control of parameter, the target switching special effect processing unit in multiple switching special effect processing units is set to carry out video source switching
Special effect processing, to include the step of obtaining special effect processing result:
The multiple switching special effect processing unit receives the control parameter and voluntarily judged according to the control parameter respectively
No progress video source switching special effect processing.
9. video source as claimed in claim 7 switches special efficacy implementation method, it is characterised in that the control in acquisition
Under the control of parameter, the target switching special effect processing unit is set to be connected with output interface, to export the special effect processing result
The step of include:
The target in the multiple switching special effect processing unit of the selection of control parameter switches special effect processing unit
Connected with the output interface.
10. video source as claimed in claim 7 switches special efficacy implementation method, it is characterised in that the control parameter includes mesh
Mark switching special efficacy type and target switching special efficacy duration.
11. video source as claimed in claim 7 switches special efficacy implementation method, it is characterised in that the control parameter includes mesh
Mark Switch Video source, target switching special efficacy type and target switching special efficacy duration.
12. video source as claimed in claim 7 switches special efficacy implementation method, it is characterised in that the video source switches special efficacy
Processing is selected from:Directly switching special effect processing, switching special effect processing of being fade-in fade-out, be rubbed into and clash special effect processing, slide into and out special efficacy
Processing, circular disengaging special effect processing, oval disengaging special effect processing and rhombus disengaging special effect processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710891303.0A CN107749956B (en) | 2017-09-27 | 2017-09-27 | Video source switching special effect implementation device and video source switching special effect implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710891303.0A CN107749956B (en) | 2017-09-27 | 2017-09-27 | Video source switching special effect implementation device and video source switching special effect implementation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107749956A true CN107749956A (en) | 2018-03-02 |
CN107749956B CN107749956B (en) | 2020-06-09 |
Family
ID=61255138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710891303.0A Active CN107749956B (en) | 2017-09-27 | 2017-09-27 | Video source switching special effect implementation device and video source switching special effect implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107749956B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769313A (en) * | 2019-11-19 | 2020-02-07 | 广州酷狗计算机科技有限公司 | Video processing method and device and storage medium |
CN113411669A (en) * | 2021-06-16 | 2021-09-17 | 浙江大华技术股份有限公司 | Video special effect processing method and device |
CN114489553A (en) * | 2020-10-23 | 2022-05-13 | 北京嗨动视觉科技有限公司 | Special effect switching method, special effect switching device and card-inserting type video processing equipment |
CN115250357A (en) * | 2021-04-26 | 2022-10-28 | 海信集团控股股份有限公司 | Terminal device, video processing method and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103347155A (en) * | 2013-06-18 | 2013-10-09 | 北京汉博信息技术有限公司 | Transition special effect module and method for achieving switching of different transition effects of two video streams |
CN105100644A (en) * | 2015-07-15 | 2015-11-25 | 西安诺瓦电子科技有限公司 | Seamless switching method for video source |
CN106060581A (en) * | 2016-07-05 | 2016-10-26 | 广州华多网络科技有限公司 | Video real-time transmission data processing method, device and system |
CN106161995A (en) * | 2016-08-30 | 2016-11-23 | 厦门视诚科技有限公司 | The specially good effect switching device of Table top type Video processing control platform and specially good effect changing method |
CN106470353A (en) * | 2016-09-27 | 2017-03-01 | 北京金山安全软件有限公司 | Multimedia data processing method and device and electronic equipment |
-
2017
- 2017-09-27 CN CN201710891303.0A patent/CN107749956B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103347155A (en) * | 2013-06-18 | 2013-10-09 | 北京汉博信息技术有限公司 | Transition special effect module and method for achieving switching of different transition effects of two video streams |
CN105100644A (en) * | 2015-07-15 | 2015-11-25 | 西安诺瓦电子科技有限公司 | Seamless switching method for video source |
CN106060581A (en) * | 2016-07-05 | 2016-10-26 | 广州华多网络科技有限公司 | Video real-time transmission data processing method, device and system |
CN106161995A (en) * | 2016-08-30 | 2016-11-23 | 厦门视诚科技有限公司 | The specially good effect switching device of Table top type Video processing control platform and specially good effect changing method |
CN106470353A (en) * | 2016-09-27 | 2017-03-01 | 北京金山安全软件有限公司 | Multimedia data processing method and device and electronic equipment |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769313A (en) * | 2019-11-19 | 2020-02-07 | 广州酷狗计算机科技有限公司 | Video processing method and device and storage medium |
CN110769313B (en) * | 2019-11-19 | 2022-02-22 | 广州酷狗计算机科技有限公司 | Video processing method and device and storage medium |
CN114489553A (en) * | 2020-10-23 | 2022-05-13 | 北京嗨动视觉科技有限公司 | Special effect switching method, special effect switching device and card-inserting type video processing equipment |
CN114489553B (en) * | 2020-10-23 | 2024-03-08 | 北京嗨动视觉科技有限公司 | Special effect switching method, special effect switching device and plug-in card type video processing equipment |
CN115250357A (en) * | 2021-04-26 | 2022-10-28 | 海信集团控股股份有限公司 | Terminal device, video processing method and electronic device |
CN115250357B (en) * | 2021-04-26 | 2024-04-12 | 海信集团控股股份有限公司 | Terminal device, video processing method and electronic device |
CN113411669A (en) * | 2021-06-16 | 2021-09-17 | 浙江大华技术股份有限公司 | Video special effect processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107749956B (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107749956A (en) | Video source switches special efficacy realization device and video source switching special efficacy implementation method | |
CN108124187A (en) | The generation method and device of interactive video | |
CN102099801B (en) | Reconfigurable wireless modem sub-circuits to implement multiple air interface standards | |
CN103004158A (en) | Network device with a programmable core | |
CN100588204C (en) | A kind of real-time viewing platform of communication network simulation tool and its implementation | |
CN105308927B (en) | Message editing processing method and relevant device | |
US7369983B2 (en) | Device and method for simulating communication system capable of easily controlling protocol message | |
CN105391470B (en) | A kind of method for switching network, device and terminal | |
CN110166455A (en) | A kind of multi-operator platform data adaptation method and relevant device | |
CN107947977B (en) | A kind of configuration method of interchanger, device, electronic equipment and storage medium | |
CN106412687A (en) | Interception method and device of audio and video clips | |
CN101442767B (en) | Method and apparatus for controlling multiple user terminals to implement business automatically | |
US8654654B2 (en) | Traffic distribution control | |
CN109147022A (en) | VR data rendering method and system, computer equipment, computer storage medium | |
CN101282549A (en) | Method and apparatus for managing short message of double-card double-standby mobile terminal | |
CN106658625A (en) | Network switching method and device | |
US7437655B2 (en) | Apparatus and method for flexible data rate matching | |
CN107085509B (en) | A kind of processing method and terminal of the foreground picture in virtual scene | |
CN109450761A (en) | A kind of multi-functional 1553B communication module | |
CN103901824B (en) | Wired home control method and system, wired home control centre and mobile terminal | |
CN110264035A (en) | Configuration method, device, terminal and the storage medium of workflow | |
CN114745254A (en) | Time-varying inter-satellite link coloring Petri net modeling method based on function separation | |
KR102351862B1 (en) | Method for decoding message of user-defined | |
CN108234359A (en) | The system and method for transmitting message | |
CN108370460A (en) | A kind of signal transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |